a simple snake game written with C++, and rendered by SDL2.
available key control for pure keyboard:
- Esc - Quit current scenes.
- Q - Same as above.
- 1 - Into single player mode. (Mouse click will be working as well)
- 2 - Into double player mode. (Mouse click will be working as well)
- W, S, A, D - For double player mode, for player1 control.
- up, down, left, right - For single player mode or player2 of double player mode.
More detail please view code: < https://github.com/Joker2770/SDL2snake >.