Task 2: HTML shell + Canvas game loop #2

Open
opened 2026-07-05 20:04:42 +00:00 by Leonard · 0 comments

Objective: Build the minimal HTML file with a fullscreen Canvas and a render loop that clears the screen each frame.

Files: Create ~/asteroids-web/asteroids.html

Acceptance:

  • Page loads, black canvas fills the window
  • Window resize resizes canvas
  • Keyboard input captured (no game logic yet)
  • Game loop runs at ~60fps

Source plan: .hermes/plans/2026-07-05_195409-asteroids-web.md

**Objective:** Build the minimal HTML file with a fullscreen Canvas and a render loop that clears the screen each frame. **Files:** Create `~/asteroids-web/asteroids.html` **Acceptance:** - [ ] Page loads, black canvas fills the window - [ ] Window resize resizes canvas - [ ] Keyboard input captured (no game logic yet) - [ ] Game loop runs at ~60fps **Source plan:** `.hermes/plans/2026-07-05_195409-asteroids-web.md`
Ty added this to the Kanban Board project 2026-07-06 05:53:17 +00:00
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Tony_tech/asteroids#2