Rendering a game board.
First step, get a 10×10 game board rendering, with values loaded from the input.txt.
Clearly the challenge doesn’t need any rendering, but, if I can’t see anything it makes debugging a little tricky.
To those less familiar with the CornflowerBlue background, I am using XNA / C#. Its so easy to work with, even if its probably overkill for this challenge.
Edit:
So, whats the next step… probably…
1. Load the rest of the input file, caching them as a sequence of ‘moves’ i can later do processing on. Basically, need a parser from text to my move structure.
2. Write ‘haswon’ test, to run after each turn.
3. Setup basic turn loop… make my move(s), make opponent move(s),
4. Start writing a “brute force” solver. Eg. Search through variations for a ‘won’ position.
