artekorzel/ieTanks — pull request #15 by Mequrel (2014-11-28 23:26:28+00:00)
Title: Cleaned up mess with Board classes, single game working!

Good news. I managed to run the single game. The test is defined in SmokeTest class and I attached the output below.
I cleaned up a lot of stuff regarding Boards and their conversions, Engine interface etc. What I did is still not perfect, but at least it is working now.

--------GAME STARTED--------

ROUND 0 :

Board{
1.........
..........
..........
..........
..........
..........
..........
..........
..........
.........2

ROUND 1 :
TankMoved{tankId=1, direction=Right, step=1}

Board{
.1........
..........
..........
..........
..........
..........
..........
..........
..........
.........2

ROUND 2 :

Board{
.1........
..........
..........
..........
..........
..........
..........
..........
..........
.........2

ROUND 3 :
TankMoved{tankId=1, direction=Right, step=1}

Board{
..1.......
..........
..........
..........
..........
..........
..........
..........
..........
.........2

ROUND 4 :

Board{
..1.......
..........
..........
..........
..........
..........
..........
..........
..........
.........2

ROUND 5 :
TankMoved{tankId=1, direction=Right, step=1}

Board{
...1......
..........
..........
..........
..........
..........
..........
..........
..........
.........2

ROUND 6 :

Board{
...1......
..........
..........
..........
..........
..........
..........
..........
..........
.........2

ROUND 7 :
TankMoved{tankId=1, direction=Right, step=1}

Board{
....1.....
..........
..........
..........
..........
..........
..........
..........
..........
.........2

ROUND 8 :

Board{
....1.....
..........
..........
..........
..........
..........
..........
..........
..........
.........2