XO ( 5 in rows)
XO ( 5 in rows)
The original source code was written in C++ Lebedev, I liked the implementation of the algorithm (a simple and clear.) Taken from the source just the right parts and adapted for FreeBasic. Originally used to display information on the drawing window using GDI. I decided to implement it using the library window9.
Download
Last edited by VANYA on Dec 25, 2021 4:56, edited 1 time in total.
-
- Posts: 231
- Joined: Apr 10, 2010 11:41
- Location: Japan
- Contact:
Re: XO ( 5 in rows)
Thanks for your implementation in Freebasic.
I introduced your work in my Japanese translation site.
http://makoto-watanabe.main.jp/freebasic/tipsXO5.html
I expect further value-addition.
1.An option that a computer becomes the initial player.
2.Display alert, when three stones are located in a line.
I introduced your work in my Japanese translation site.
http://makoto-watanabe.main.jp/freebasic/tipsXO5.html
I expect further value-addition.
1.An option that a computer becomes the initial player.
2.Display alert, when three stones are located in a line.
Re: XO ( 5 in rows)
I am pleased that the FreeBasic used people of different nationalities. Do you have a good site.Makoto WATANABE wrote:Thanks for your implementation in Freebasic.
I introduced your work in my Japanese translation site.
http://makoto-watanabe.main.jp/freebasic/tipsXO5.html
I expect further value-addition.
1.An option that a computer becomes the initial player.
2.Display alert, when three stones are located in a line.
-
- Posts: 88
- Joined: Apr 03, 2011 3:44
- Location: Inside the bomb
- Contact:
Re: XO ( 5 in rows)
This game is named Go-Moku in Japan and Pente in the West, although the rules are slightly different in Go-Moku (for example, the 5 in a row must be no more than 5, not placing a middle piece to get six) than Pente (allowing certain captures).
Also, the board is 19x19, not 20x20. But likely that's a minor detail at this point. Looks good so far.
Also, the board is 19x19, not 20x20. But likely that's a minor detail at this point. Looks good so far.
Re: XO ( 5 in rows)
what? go is a completely different game (of territories)
in fact its the hardest most strategical game ever created.. need real humans to play it since computers can only reliably lose without disgrace on 13x13 boards
in fact its the hardest most strategical game ever created.. need real humans to play it since computers can only reliably lose without disgrace on 13x13 boards
Re: XO ( 5 in rows)
go-moku is a game that uses a go board and pieces, but has different rules.
http://en.wikipedia.org/wiki/Gomoku
http://en.wikipedia.org/wiki/Gomoku
Re: XO ( 5 in rows)
oh, sorry, ive actually never heard about it before... i see its just something you play on a go board
i suppose thats something that could be easier to write AI for than regular go
i suppose thats something that could be easier to write AI for than regular go