Task 3: Ship class (input, physics, draw, wrapping) #3

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

Objective: Create the ship entity with input handling, physics, and triangle rendering.

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

Acceptance:

  • Ship triangle renders at center on load
  • ← → rotates ship
  • ↑ applies thrust, ship accelerates
  • Ship wraps at screen edges
  • Ship blinks for 3s on spawn (invulnerability)

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

**Objective:** Create the ship entity with input handling, physics, and triangle rendering. **Files:** Modify `~/asteroids-web/asteroids.html` **Acceptance:** - [ ] Ship triangle renders at center on load - [ ] ← → rotates ship - [ ] ↑ applies thrust, ship accelerates - [ ] Ship wraps at screen edges - [ ] Ship blinks for 3s on spawn (invulnerability) **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#3