Post Reply 
Othello
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: erwin.ried.cl
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Othello - Tugdual - 02-03-2014, 09:44 PM
RE: Othello - eried - 02-03-2014 09:53 PM



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