ASCII ANSI AI TURN BASED STRATEGY WARS

This is a very simple game. The point is not the game, which is too easy to win and is a bit dull. The point is to have an excellent code base, with comments, which is fully documented. This allows several things.

Here's the example level, showing minimal terrain, and some units. You can see that each player has one type of attack unit, and one type of defence unit.

████████████████████████████████████████████████████████████████████████ █.....................Y................................................█ █.....X........C.......................................................█ █..............B.......................................................█ KEY █........X.............................................................█ █.....................Y................░░░.............................█ C : Commander █....X.....X.......M..M..MM..........░░░...............................█ X : Mining █.................M.M..M..M............░░░░░...........................█ Y : Defense █................M..M..M..M..............░░░░..........................█ M : Tank █.........................................░░...........................█ B : Build factory █...Y.....Y.....Y.....Y....................░...........................█ █......................................................................█ █......................................................................█ z : Enemy commander █......................................................................█ * : Enemy mining █......................................................................█ t : Enemy defense █....................................................░░░░░.............█ a : Enemy attack bots █.......................................................░░░░░..........█ b : Enemy build factory █......................................................░░░░░░..........█ █.....................................................░░░░░░...........█ ░ : marsh; slow passing █......................................................░░░░............█ █ : inpenetrable wall █.......................................................░░.............█ . : normal ground █......................................................░░..............█ █......................................................░..a...a........█ █......................................................................█ █......................................................................█ █.....................................................a................█ █............................░░░░░░░░░░............░░░░░...............█ █....................................░░░░░.....░░░░░░..................█ █...............a.......................░░░░░░░░░░.....................█ █..........................................░░░░░░............a.aa......█ █..........................................░░░░░░░........ztt.t..t.....█ █........................................░░░░░░░.......................█ █.....................................░░░░░░░........*...*...*.........█ █..................................................aa.......b..........█ █..................................................aa....*...*...*.....█ █......................................................................█ █........................................................t......t......█ █.......................................................t..............█ █......................................................................█ ████████████████████████████████████████████████████████████████████████