Java TDD Battleships game engine