A toy TypeScript/React application that's neither a counter (though it has one) or a TODO list (it has one of those, too).
Play in your browser!
Install and build the demo application:
$ npm install
$ npm start
So many improvements, so little time! Beyond any open issues, here are some ideas to get you started:
- Clean up collision detection API
- Separate "world-time" from clock frequency (i.e., use variable
dt
) - Different types of ships, or "ship health" (multiple shots needed to sink)
- Use a real physics engine (or expand our model to allow for mass, force, and momentum)
- Show animations when something's hit (explosions? Sinking ships?)
- Animate water (tide, ship wakes, projectile splashes, etc.)
- Replace HTML/CSS rendering with another rendering engine
- Clean up message console typography, UI
MIT