I teach a high school programming class part-time, and for an upcoming class project I am considering a pente game. The students already have a GUI framework provided for them that handles images in a grid fairly well (see http://www.horstmann.com/gridworld). In writing their game, I would like to have the students implement a simple AI to play against.
I could brush up on general turn-based strategy algorithms, and then apply them to pente to write the project demo. But frankly, I can only spend so much time on my part-time job, so I don't have the time to try several different approaches before settling on a decent one that isn't too much coding for my students to handle.
So, can anyone point me to any resources for this effort? I'm looking for outlines for existing AI algorithms that are known to work reasonably well without massive coding. Or even the source code to an AI which I can pare down for my students (Like Mark Mammel's AI). Or any other pointers.
(dölj) Känner du för att snabbt parti som garanterat är avslutat inom 2 timmar? Skapa då ett nytt parti i något spel, välj "Tid för hela partiet" och sätt "Tid" till 0 dagar / 1 timme, "Bonus per drag" till 0 dagar / 0 timmar och "Max.tid" till 0 dagar / 1 timme. (TeamBundy) (Visa alla tips)