jueves, 6 de octubre de 2011

First Programming Activity FINAL

Minesweeper


This is the final ReactiveAgent that completes all the rules designed for each number of bombs that has the principal one around it.
0 bombs- opens all the boxes around it
1 bombs- opens 7 boxes around it by random from 1 - 7
2 bombs - opens 6 boxes around it by random from 1-6
....
....

8 bombs- opens 0 boxes around it.


Here is the video of a run of the ReactiveAgent