[phpBB Debug] PHP Warning: in file [ROOT]/viewtopic.php on line 1582: number_format() expects parameter 1 to be double, string given
Chess - Scirra Forums

Chess

For questions about using Classic.

Post » Thu Jul 15, 2010 3:06 pm

Well there's the grid behavior, but it's only horizontal, and vertical.
You could even use the custom movement behavior using the step method.
Image ImageImage
B
164
S
49
G
139
Posts: 7,963
Reputation: 92,392

Post » Fri Jul 16, 2010 6:53 pm

You can make chess in construct, but it will take some doing to make a computer player.
Here are some helpful websites on the subject:
[url:2vte72di]http://chessprogramming.wikispaces.com/[/url:2vte72di]
[url:2vte72di]http://www.gamedev.net/reference/programming/features/chess1/[/url:2vte72di]

Here is an initial stage of a checkers game I was making (not the same as chess I know, but similar). It allows movement of any piece, capturing of the other colors piece, and kinging. I didn't go any further, because it would become very complex making a smart enough computer ai to make it enjoyable to play. Complexities aside, I find checkers more enjoyable to play against a human player.
[url:2vte72di]http://dl.dropbox.com/u/5426011/examples/checkers3.cap[/url:2vte72di]
B
85
S
27
G
85
Posts: 5,070
Reputation: 57,874


Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 1 guest