Battleship!

For my final project I decided to remake Battleship.
The original idea was going to be a recreation of the game, but that didn't pan out, so what I ended up with is this:

This is when you place boats, arrow keys to move and space to rotate. Hit enter to place the boat.

After placing boats, you make guesses on the enemy board. Again, arrow keys to move and enter to confirm your guess.

When the game is over you cannot make any more guesses, and it says you won in stdout.

If I had more time I would have learned how to put text using OpenGL rather than outputting to standard out.