Projects

Battleship

A classic guessing game for two players. I built this as an exercise to practice coding in Ruby (including tests) and to render the grid using the Terminal.

There is an attempt at separation of concerns using a separate Screen class to handle input/output. As a future improvement, I would like to implement a network-friendly version of the game, running as a server/client on two different terminals.

Ruby Git