Basic battleship game in ruby