This is a simplified remake of the classic Asteroids game in Unity made for a coding assignment.
One ship, lots of asteroids, go pew pew!
- The classic asteroid game
- Simple but charming pixel art
- Locally persisted high score
Motivations
- Separation of game logic and unity api
- Separation of part by responsibility
- Performance (not overly optimized but does not wastes resources)
- Easy to extend
- Easy to configure
- Testability
Custom and easy to use DI system for better flexibility and testability
- System.Random and Unity Time are wrapped as injectable services, to make them easy to replace for testing
Implementation for both the old and the new input system
- Controller support
- StreamingAssets configuration file
- Persisted high score values
The important game logic classes and utility services have pretty good code coverage.
- No sound (work in progress)
- Some UX issues in the menus
- Some particle effect bugs