prototype of simple battleship game.