2024-08-26 17:26:44 +02:00
|
|
|
# tanks
|
2024-08-26 17:29:27 +02:00
|
|
|
The best way to show off your sprig to your friends!!
|
2024-08-26 17:26:44 +02:00
|
|
|
|
2024-08-26 17:29:27 +02:00
|
|
|
This is a simple multiplayer game where you try to shoot down the enemy tank.
|
|
|
|
|
|
|
|
Also available at:
|
|
|
|
https://github.com/hackclub/sprig/blob/main/games/tanks.js
|
|
|
|
|
|
|
|
In the color picker:
|
|
|
|
AD to move player one cursor.
|
|
|
|
JL to move player two cursor.
|
|
|
|
W and I to set READY state for players.
|
|
|
|
|
|
|
|
In the actual game:
|
|
|
|
WASD for player one to move,
|
|
|
|
IJKL for player two to move.
|
|
|
|
|
|
|
|
The game moves the players automatically every 500 ms.
|
|
|
|
Each keypress shoots a projectile and changes direction.
|
|
|
|
Shoot the other tank to win!
|