A downloadable game for Windows

Download NowName your own price

In your given script ChessBoardPlacementHandler, I added one function to check their position. The function checks the player piece like pawn, king, rooks, etc., in their position using a function with a foreach loop. After checking them, if the condition matches, the function works, and if nothing is found, it returns null.

In pawn, rooks, knight, king, queen — all scripts also have this checking if condition added, and I added chessboard placement to find where any object is in their path. If it's empty, it shows a green highlight, and if it's not empty, it does not show the highlight.

In pawn, I added row +1. In rooks, it moves up, right, down, and left in straight lines. Bishop moves in diagonal sides — left, right, up, down. The queen moves in both diagonal and straight directions. The knight moves one row 2 and column 1, and column 2 and row 1 using its move.

So this type of logic I used in this, and I made this, and I took some help to make scripts using AI.

Published 22 days ago
StatusReleased
PlatformsWindows
Authorsolanki parth
GenreCard Game
Tags2D, Chess

Download

Download NowName your own price

Click download now to get access to the following files:

Task.zip 35 MB

Leave a comment

Log in with itch.io to leave a comment.