A WORKSHOP CREATION · GAME

Star Catcher

Sixty seconds. Steer the basket, catch the stars, miss as few as you can. Everything you see is drawn by game.js onto one canvas.

The game

This browser cannot draw a canvas, so Star Catcher cannot run here. The score readouts below still work.
Score
0
Missed
0
Time left
60s

Press an arrow key to start.

How to play

Move the basket
Left and Right arrow keys, or A and D.
Pause and resume
P, or the Pause button.
Play again
R, or the Play again button.

The game also pauses itself when you switch to another tab, so you never come back to a run that was played without you.

What to read in the code

Open game.js. It is arranged in the order the game happens: settings, then state, then input, then update(), then draw(), then the loop that calls those two forever.

Change one number in the CONFIG block at the top and reload. That block exists so you can tune the game without hunting through the logic for a number that is only used once.