iiKiZii / Chess-Entitas-Example

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

• Develop a Unity program (Unity 2019.1.8 or lower version) involving a 8*8 standard chessboard where rows are numbered 0 to 7 from top to bottom, and columns are numbered 0 to 7 from left to right, respectively. There is 01 Pawn and 01 Knight on the board.

• The Pawn can start at any positions decided by user’s input and can make 4-directional moves (up, down, left, right) by the Arrow Keys.

• The Knight always starts at position (7,7) and can move to any of the closest squares that are not on the same rank, file, or diagonal. Thus the move forms an "L"-shape: two squares vertically and one square horizontally, or two squares horizontally and one square vertically.

• Every 2 seconds, the Knight will find the shortest way to check the Pawn and will make 1 move by the end of its turn.

• The program starts when Player decides the Pawn’s position and click on Start button.

About


Languages

Language:C# 85.6%Language:ShaderLab 12.6%Language:HLSL 1.8%