For an AI game, use the WASD keys for movement. In local multiplayer, Player 1 uses the WASD keys, Player 2 the arrow keys.
This diagram illustrates the basic relationships between game classes. Not all class data are represented here.
In essence, the GameWorld is composed of Actors. Actors have sprite representations in the world. On each animation frame, the GameWorld class calls the update functionality of each Actor added to the world and handles collisions between actors.
The live game uses sounds from Free Sound under Creative Commons licensing:
- Kick 2 by mickmon
- Coins 1 by ProjectsU012 Although referenced, these are not included in the repository.
The background space image is from Kyle Devaras via Unsplash.