Post Reply 
Othello
02-03-2014, 09:44 PM
Post: #1
Othello
I'm surprised nobody picked that one already, this is a classic of the 80es.
I don't know myself a good algorithm for the IA.
Anybody takes the challenge? :-)
Find all posts by this user
Quote this message in a reply
02-03-2014, 09:53 PM
Post: #2
RE: Othello
Why don't you just implement the game with an open function to get the next move?, like:

Code:
getnextmove(posx,posy,board)
BEGIN
END;

And first implement a greedy version (just check each valid position and choose the one that flip the most pieces)

Second version can account for corners, etc... and so.

My website: ried.cl
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 




User(s) browsing this thread: 2 Guest(s)