How do you implement heuristics for a Gomoku-playing agent?

  • Thread starter Thread starter Adam
  • Start date Start date
  • Tags Tags
    Game
Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
2 replies · 5K views
Adam
Messages
65
Reaction score
1
I am to write an agent to play the game Gomoku, for an assignment. Does anyone know any basic rules/heuristics I might use?
 
Last edited by a moderator:
Physics news on Phys.org
Thanks for the link.

So far I have done a search for my agent. It returns the best move from a brute force search. However, I have absolutely no idea how to write heuristics for it. Can anyone give me an example (for this game, five-in-a-row or connect-5) of a heuristics function in LISP/CLISP?