From the course: ChatGPT for Web Developers
Unlock the full course today
Join today to access over 24,000 courses taught by industry experts.
Create a 2D game using JavaScript - ChatGPT Tutorial
From the course: ChatGPT for Web Developers
Create a 2D game using JavaScript
- [Instructor] In this video, recreate a simple breakout game written in pure JavaScript. The game is Breakout Ball, inspired by the famous Breakout arcade video game. Originally released in 1976, the game was designed by Steve Wozniak, developed and published by Atari. And it is very similar to the design of the Pong game. So in this game, you have a layer of bricks lines on the top third of the screen, and the goal is to destroy them by repeatedly hit them by bouncing a ball off a paddle. So I found this step-by-step tutorial online that teaches you how to build the game in 10 steps. And so first you create and draw the Canvas. Step two and three, you move the ball, and you create the bounce off the walls by detecting the collision. Step four, you create the paddle and add the controls to move it left and right. Then step five, this is the game over in the case that you miss the ball and that it falls off the…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
-
(Locked)
Build a password generator5m 41s
-
(Locked)
Create a 2D game using JavaScript7m 46s
-
(Locked)
Challenge: Create a RESTful API37s
-
(Locked)
Solution: Create a RESTful API6m 2s
-
(Locked)
Create a user interface with ReactJS4m 54s
-
(Locked)
Write CSS with ChatGPT6m 21s
-
(Locked)
Level up with prompt engineering6m 1s
-
(Locked)
-
-
-