A 2-player, turn-based board game played on an 8x8 checkered board. Each player has 16 pieces: 1 King, 1 Queen, 2 Bishops, 2 Knights, 2 Rooks, 8 Pawns. A game is won when one player captures the other player's King.
17
votes
6answers
2k views
Elegant solution for coloring chess tiles
I am re-developing a chess game I wrote in Java, and was wondering if there is an elegant algorithm to color chess tiles on a numbered chess board.
Right now my solution uses if else statements to ...
16
votes
2answers
1k views
AI: Learning vs. Strategizing
I have a theory on AI that I would like to write a "whitepaper" about. The distinction I want to explore in AI is learning vs. strategizing. My question is, where can I read other material about this ...
8
votes
3answers
694 views
The best algorithm enhancing alpha-beta?
I'm studying AI. My teacher gave us source code of a chess-like game and asked us to enhance it. My exercise is to improve the alpha/beta algorithm implementing in that game. The programmer already ...
4
votes
2answers
526 views
Can I use an AI engine written in C++ in my Unity game? If yes, how can I do this?
I am studying some chess and others AI algorithms and the majority of these implementations are made in C and C++, my question is, if I make a chess board and all the graphic thing in Unity, can I ...
4
votes
3answers
3k views
Which algorithm used in Advance Wars type turn based games
Has anyone tried to develop, or know of an algorithm such as used in a typical turn based game like Advance Wars, where the number of objects and the number of moves per object may be too large to ...
2
votes
0answers
57 views
NegaScout with Zobrist Transposition Tables in Chess
I'm trying to put Transposition tables into my alpha beta scout. I do see an incremental speed boost I think toward mid or late game, however, even with a table size of 1-2GB, its may or may not be ...
1
vote
1answer
125 views
Human vs human android chess game design [closed]
First of all I am total amateur in game development and sorry for my poor English.
I want to make android human vs human chess game. So I am wondering how to design it?
scenario 1: User connect to ...
-3
votes
1answer
144 views
Any faster method?
Manhattan distance is used to the center in chess code that uses an 0x88 board .
0x88 board is 128 square.
public static final byte DISTANCE[] = {
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, ...
-5
votes
1answer
138 views
This code is of chess game. What is represented by 'DISTANCE' in code? [closed]
package chess;
public class Evaluate {
public static final int PIECE_KING = 0;
public static final int PIECE_QUEEN = 1;
public static final int PIECE_ROOK = 2;
public static final int ...