Skip to content

The Tanks Game coded in Ruby that runs entirely in terminal using ASCII graphics.

License

Notifications You must be signed in to change notification settings

SachinSAgrawal/Tanks-Game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 

Repository files navigation

Tanks Game

About

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.

Instructions

  • 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

Installation

  • 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

Permissions

I am not the original owner of this code. However, they have given me permission to edit and redistribute it.

Contributors

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.

License

This package is licensed under the MIT License.

About

The Tanks Game coded in Ruby that runs entirely in terminal using ASCII graphics.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages