Aim and fire your tank's projectile to hit the other player's tank to win. This game was coded in Ruby and runs entirely in terminal using ASCII graphics. If you like this game, I would appreciate if you starred it or even shared it with your friends.
- Watch the beautiful startup animation and then enter each player's name
- Take turns aiming and firing your tank's projectile to hit your oppenent
- Enter an angle followed by velocity to actually fire the projectile
- Watch the projectile fly across the screen and wrap around if necessary
- Pay attention to the terrain and use it to your advantage when aiming
- The game ends when one player successfully hits the opponent's tank
- The player who hits their opponent's tank first will win the game
- Make sure you have Ruby installed on your system
- Clone this repository or download the game files
- Navigate to the game directory in your terminal
- Run the game by typing
ruby mainCode.rb
I am not the original owner of this code. However, they have given me permission to edit and redistribute it.
Sachin Agrawal: I'm a self-taught programmer who knows many languages and I'm into app, game, and web development. For more information, check out my website or Github profile. If you would like to contact me, my email is github@sachin.email.
This package is licensed under the MIT License.