XO ( 5 in rows)

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

XO ( 5 in rows)

Postby VANYA » Feb 08, 2012 6:45

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

Re: XO ( 5 in rows)

Postby Makoto WATANABE » Feb 11, 2012 12:52

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

Re: XO ( 5 in rows)

Postby VANYA » Feb 11, 2012 13:19

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)

Postby Destructosoft » Feb 12, 2012 6:05

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)

Postby Gonzo » Feb 12, 2012 16:10

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)

Postby Merick » Feb 12, 2012 16:13

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)

Postby Gonzo » Feb 12, 2012 16:34

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

Return to “Projects”

Who is online

Users browsing this forum: No registered users and 24 guests