This was done as a school project in only 3 weeks. The requirement was that it had to do with the A* search algorithm. I finished the class with an A+! Thanks to those who helped me find bugs/crashes.
A-Star is a strategy game that involves getting your autonomous robot to the goal at the center faster than your opponents. You can drag and drop blocks into opponent's paths, attack, and most importantly you can change their search algorithm.
1. Attack - Touch your opponent and select "Attack". This will freeze him for a few seconds.
2. Blocks - Touch any brown block and drag it to an open location. Try to block your opponents.
3. Algorithms - Touch your opponent and select "Algorithm". This will change the path your opponent takes:
a. Erratic - Robots avoid random cells.
b. Love Blocks - Robots move closer to blocks.
c. Scared of Blocks - Robots stay away from blocks.