"Battleship" is a paired project from Turing School of Software and Design in which students use Ruby to build a game to imitate the board game Battleship. It is built on a smaller scale than the classic game and runs in a REPL interface. The game is played against a simple computer player.
Original Project and Requirements can be found here.
- Utilize Test Driven Development
- Practice Algorithmic Thinking
- Create an Object Oriented solution to a problem without being given full specifications
- Use Pull Requests to collaborate with a partner
- Ruby Version 2.7.2
- RSpec
- Pry
- SimpleCov
- First clone this repo to your local machine!
- using ssh key
$ git clone [email protected]:kbhoffmann/battleship.git
- Run
gem install bundle
in your terminal
- In your terminal run
ruby battleship_runner.rb
- Follow the instructions provided to set up your ships on the board.
- Take your first guess to try and hit a computer's randomly placed ship.
- The computer will take a random shot and try to hit one of your ships.
- Take turns making shots until either you or the computer sinks both ships! That will determine the winner!
Kerri (she/her) 💻 � |
David (he/him) 💻 � |
This project follows the all-contributors specification.