Thursday, July 30, 2009

Game trees in C programming?

can anyone suggestme some sites which can give me program codes for games like tic tac toe,8 queens problem n other simple games..????








8 queens problem:-place 8 Queens on chess board such that no queen can destroy other!!

Game trees in C programming?
google it
Reply:Implement tic-tac-toe using recursion. Your function should call itself unless it can determine a win, loss, or tie condition, in which case it should return an heuristic value. Otherwise, it should return the highest heuristic returned by the nested call.


No comments:

Post a Comment