GotchiCode needs JavaScript for the code editor and live challenges. Please enable it to play.
GotchiCode
Paths
Courses
Community
Arcade
Leaderboard
◂
Build Asteroids in JavaScript
▾
The Game Loop
0/3
The First Tick
20 XP
Delta Time
20 XP
Stay in Bounds
20 XP
▾
Vectors
0/4
Make and Add Vectors
20 XP
Scaling a Vector
20 XP
Magnitude & Distance
25 XP
Normalize
25 XP
▾
The Ship
0/4
Turning the Ship
25 XP
Which Way Is Forward?
25 XP
Thrust & Drag
30 XP
Screen Wrap
30 XP
▾
Bullets
0/3
Open Fire
25 XP
Short-Lived
25 XP
Trigger Discipline
30 XP
▾
Asteroids
0/3
Rolling the Rocks
25 XP
Drift
25 XP
Split!
30 XP
▾
Collisions
0/3
Do They Touch?
25 XP
Finding the Hits
30 XP
Resolving the Hits
30 XP
▾
Score, Lives & Waves
0/3
Keeping Score
20 XP
Lives & Respawn
30 XP
The Next Wave
30 XP
▾
The Full Tick
0/3
Composing the Systems
35 XP
Game Over (and On Again)
30 XP
Capstone: The Whole Game
50 XP
Loading lesson…