chess

Best chess engine under permissive free software license

What is the best chess engine released under permissive free software license? By permissive free software license I mean, that it is legal to incorporate the engine's code into my project without having to release the source code of my whole project. ...

Statistical approach to chess?

Reading about how Google solves the translation problem got me thinking. Would it be possible to build a strong chess engine by analysing several million games and determining the best possible move based largely (completely?) on statistics? There are several such chess databases (this is one that has 4.5 million games), and one could po...

3d Models in WPF

Hi folks my Question is simple 1-How can i get a file with .3ds or .obj ... extension loaded in wpf project 2- how can i do drag and drop that 3d model with mouse .(i'm doing a 3d chess project ) ...

MATLAB: How do I get 3D coordiantes from a user-click?

I'm using Matlab to create a small chess game for one of my courses this semester. The thing I'm having trouble with is having the user be able to select one of the chess pieces. To simplify things, I'm making it so that the user selects a piece by clicking on the square that the chess piece resides on rather than clicking the piece it...

python: Chess moves validation

Hi, Does anybody know if there is a free python chess moves validation function available somewhere? What I need. I have a diagram stored as a string, and move candidate. What I need is to see if move candidate is valid for the diagram. Would be really interested to see examples, if possible. The string looks this way: ememem...

Qt- how to move a picture in screen according to mouse move

I am trying to do a chess game. So I want to move the chess coin picture when the user clicks and drags the coin. Which class I have to use update At last I am just editing the puzzle code which is given in drag and drop examples. Thereby I am trying to know the functions. But Still I am not getting certain things. I am executing the ...

Generate 10-digit number using a phone keypad

Given a phone keypad as shown below: 1 2 3 4 5 6 7 8 9 0 How many different 10-digit numbers can be formed starting from 1? The constraint is that the movement from 1 digit to the next is similar to the movement of the Knight in a chess game. For eg. if we are at 1 then the next digit can be either 6 or 8 if we are at 6 then the ne...

Good use of recursion in chess programming?

Hi, As part of a homework assignment, I have to program a simple chess game in Java. I was thinking of taking the opportunity to experiment with recursion, and I was wondering if there's an obvious candidate in chess for recursive code? Thank you, JDelage ...

A question about AlphaBeta algorithim

Hello everybody. I have experienced AlphaBeta algorithm with my own old chess engine and now i am trying to write new engine and i see that algorithim encounter beta cut-offs but in my opinion, this should never be occur if i don't use narrowed window. Am i wrong ? I am using int.MaxValue for beta and -int.MaxValue for alpha so what ca...

Free JavaScript chessboard

Could anybody suggest a free (as in freedom) and open source JavaScript chessboard? My plan is to hook it up with some server-side Python code, most probably it will be the flask web framework. I need a really minimal set of features: a way to display a position on the board (not only the initial one) when generating the HTML code by ...

Creating chess GUI in WPF

Hi, Firstly: apologies if this is a duplicate post. Things got a bit confusing as I'm trying to post/register at same time. I started investigating running UCI chess engines from a simple WPF window, got the hang of having the chess engine running onf a different thread to the interface, and have created a reasonably servcieable text-b...

A C++ based variants chess engine design question

I have a chess variants engine that plays suicide chess and losers chess along with normal chess. I might, over time, add more variants to my engine. The engine is implemented completely in C++ with proper usage of OOP. My question is related to design of such a variant engine. Initially the project started as a suicide-only engine whi...

What could be causing a deadlock or otherwise causing this concurrency test to inconsistently fail?

I've been fiddling around with CHESS, which seems like an incredibly useful tool. However, ironically, I seem to be dealing with a Heisenbug in one of my test methods. The results reported by CHESS when I run this test are unpredictable: Sometimes the test will pass Sometimes the test will fail, with no further description (simply: "Te...

make a chess game in c# but has some difference

Hi friends I have a question. I want to make a chess game but it has a difference. This chess game should have just a king and a queen on one side and the other side should have just a king. The first side should mate the second side with the lowest number of moves possible. I want to know your thoughts about how to make this project. F...

Determine if two chess positions are equal

I'm currently debugging my transposition table for a chess variant engine where pieces can be placed (ie. originally not on the board). I need to know how often I'm hitting key collisions. I'm saving the piece list in each table index, along with the usual hash data. My simple solution for determining if two positions are equal is failin...

How to add an Image to a JPanel

I am trying to add an image to a JPanel class, which is a chess board. Then I want to be able to "cut" it to define each space as a part of an array list and then be able to place pieces on top of each according to the part of the board it is supposed to start in. Here is part of what I have: import javax.swing.*; import java.awt.*; im...

showing the way chess game c#

hi friends,i want to make a simple chess game and i want to know that how can i show the ways for example king can go in the form? i want to use an icon to show the ways king can go but i dont know how should i do it.thanks ...

keeping array in an array

i want to save kingarray[x1+1,y1-1],king array[x1+1,y1],etc in an array(ways that king in chess game can go).how can i do it?or if its not possible what do you suggest me to keep the ways that king can go?thanks int[,] kingarray = new int[8, 8]; for (i = 0; i < 1; i++) { return kingarray[x1 + 1, y1]; } for (i = 1; i > 0; i--) {...