Task 4: Asteroid class (procedural shapes, splitting, spawning) #4

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

Objective: Create asteroids with random jagged polygon shapes, screen wrapping, and size-based splitting.

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

Acceptance:

  • 4 large asteroids spawn at game start
  • Asteroids have jagged procedural shapes
  • Asteroids drift and rotate
  • Asteroids wrap at screen edges
  • Asteroids don't spawn near the ship

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

**Objective:** Create asteroids with random jagged polygon shapes, screen wrapping, and size-based splitting. **Files:** Modify `~/asteroids-web/asteroids.html` **Acceptance:** - [ ] 4 large asteroids spawn at game start - [ ] Asteroids have jagged procedural shapes - [ ] Asteroids drift and rotate - [ ] Asteroids wrap at screen edges - [ ] Asteroids don't spawn near the ship **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#4