chess

Hi

Hello all dear friend in unity3d can you all please give me sample of making chess ? I am new on unity 3d

Thank you

Hello Rathanak.
Don’t get me wrong, but you are asking too much; what do you need exactly?

Do you have any problem with chess’s logic? GUI maybe?.. contendor’s AI?

Another important question: do you know C#, javascript or Phyton?.. if i were you, i would try to learn how to develop.
You will find an useful link at my signaure.

Greets.

Hello Kokumo

Thank you for your comment … i just download sample project of chess(Chessforeva: Unity3D chess project) but it really complex and difficult to understand. but now i want to make project that i can make chess’s board. i know C# and javascript. do you have any idea?

Thank

Hi again Rathanak!
I will be downloading the project as soon as i get home and then i will give you an answer… if i can O_o!

However i suggest you try thinking in a real chess game to figure out how many step you will need to accomplish it.
For example:
1- You will need to move pieces: will you use “drag and drop” or will you select the piece and then the destination cell before move the piece?
2- Depending on the piece, you movements will be restricted (tower and horse, make different movements).
3- When chess game ends?

Except for the first point, each one will be used by the challenger’s IA… so you need to clarify those point before trying to write any piece of code.

I’m not at home yet… so i downloaded 12 mb source code.
As far as i can see, inside “valil_chess_engine_component” folder, are the scripts of each chess pieces; probably, inside Unity, each piece has attached its own behave script (item nbr 2 of my last post).

At root directory you will find a bunch of files for establish connection with server and… AI engine.
Every single method is commented… so, it can’t be so difficult to understand (it will take a time, i know).

If you are not familiar with abstract class, interfaces and Heritage… well, that’s another story and you probably will get stuck.

Looks like Board.cs has the definition of the board.

can i have the codes of javascript in unity please!

Have you looked at the unity scripting api on the web?