XO ( 5 in rows)

User projects written in or related to FreeBASIC.
Post Reply
VANYA
Posts: 1837
Joined: Oct 24, 2010 15:16
Location: Ярославль
Contact:

XO ( 5 in rows)

Post by VANYA »

Image

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.
Makoto WATANABE
Posts: 231
Joined: Apr 10, 2010 11:41
Location: Japan
Contact:

Re: XO ( 5 in rows)

Post by Makoto WATANABE »

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.
VANYA
Posts: 1837
Joined: Oct 24, 2010 15:16
Location: Ярославль
Contact:

Re: XO ( 5 in rows)

Post by VANYA »

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.
I am pleased that the FreeBasic used people of different nationalities. Do you have a good site.
Destructosoft
Posts: 88
Joined: Apr 03, 2011 3:44
Location: Inside the bomb
Contact:

Re: XO ( 5 in rows)

Post by Destructosoft »

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.
Gonzo
Posts: 722
Joined: Dec 11, 2005 22:46

Re: XO ( 5 in rows)

Post by Gonzo »

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
Merick
Posts: 1038
Joined: May 28, 2007 1:52

Re: XO ( 5 in rows)

Post by Merick »

go-moku is a game that uses a go board and pieces, but has different rules.

http://en.wikipedia.org/wiki/Gomoku
Gonzo
Posts: 722
Joined: Dec 11, 2005 22:46

Re: XO ( 5 in rows)

Post by Gonzo »

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
Post Reply