BLOG

ID:
Password:
Register ID
  Ando Meritee's Blog
  http://www.renju.net/blog/index.php?showtopic=882
My little gomoku program2008-04-14 20:11:28
I spent 2 days to create a funny little gomoku program. It is very primitive as you can see, but it may be useful for beginners. I have never studied any examples of renju or gomoku program codes, so maybe my method is very funny. :) Its playing style is just like a human beginner style. ...
Alexander Zhikharev2008-04-21 17:23:11
Nice ajax game, Ando!
Your program often ignores the level of a threat, e.g. threre is VCF threat but program plays a three, VCT - plays a pause. Gomoku is the game of threats and reactions on ones so it is necessary to detect a rank of a game firstly - VCF, VCT, pause, safe game. Then there are many choices for a move, some times over 200, so we need to built a list of candidate moves based on rank of game, and then examine its. Classical Alpha Beta Cut is bad for gomoku. VCF, VCT can be comblicated and long, so it is possible to limit yourself by fixed depth, 2-10 moves, and if we can not  to detect the rank of the position  precisely then we evaluate the rank approximately. When a position is calm then we use  a b cut.
This is only my opinion,  good luck in the designing of game.
 
Ando Meritee2008-04-21 18:27:29
Thanks for comments.
Actually current version does not calculate any moves at all. So the depth is 0 moves always. It is just evaluating the situation and decides the next move based on shape evaluation scoring.

Next step I will add is the VCF check. and then VCT check etc. It will take a bit more time. I only spent 2 days on it so far. And I am quite stupid about programming, there is a lot to learn for me.
 
Ando Meritee2008-04-21 18:32:31
I used the Renjuclass diagram board that we made many years ago, as a client side of this program. It is possible to play without client too, manually communicating with www.renju.net/ai/ai.php by adding the values, something like ?id=123&mv=f9
The first time call it without id, and the ai.php will announce id of the game.

 
Alexander Zhikharev2008-04-21 21:23:50
As for two day it's an excellent result.
 

Your name:
Your
Comment:
Enter the key:
 
Add a renju diagram to your comment
 For quoting others' text, mark it as cursive grey text. See the example


Recent Topics
Soosrv-8 ApplicationNakayama
Photo of "Mr.Isobe's 6th forever Meijin ..Kawamura
Photo of TWC in Beijing 2012Kawamura
My 10 years anniversary with the game (g..Ikonen
Photo of World Championship 2011 Vol.2Kawamura
Photo of World Championship 2011Kawamura
Photo of Kawamura CupKawamura
Japanese catastropheKawamura
Rengo the party gameYamaguchi
TWC information 4Kawamura
Recent Comments To
Soosrv-8 ApplicationNakayama1
My opinions about the rule changeIkonen37
The teams of 5 peopleMeritee24
Photo of World Championship 2011 Vol.2Kawamura1
Photo of World Championship 2011Kawamura1
Rengo the party gameYamaguchi1
TWC information 4Kawamura6
Gomoku World Championship 2009 - The QTDemjan1
TWC information 3Kawamura3
Gomoku World Championship 2009 - The fin..Demjan5
Most Viewed Topics
RenLib version 3.7 (2008-07-19)Arkbo
My 20 years of playing renju!Meritee
Photo of World Championship 2011Kawamura
The world ranking of renju websitesMeritee
Rengo the party gameYamaguchi
TWC 2008 preparations blogIkonen
Photo of World Championship 2011 Vol.2Kawamura
Gomoku World Championship 2009 - The QTDemjan
TWC information 4Kawamura
My opinions about the rule changeIkonen
Search
 
Blogger
Topic
Language:
Category:
Sort By