Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Your checklist for this pull request
Author name
Krish Arora
Author:
Krish Arora
About your game
Link
It simulates a normal chess game with two players starting off with a king, queen, two knights, two bishops, two rooks, and eight pawns. The game has automatic check and checkmate detection, along with enforcing chess rules which allow you to only move specific pieces the way they are allowed to be moved, only move in check if your move avoids check. However, the game does not yet support en passant moves, promotion, or castling, but it does allow pawns to move 2 up if they are on the starting row.
How do you play your game?
The player whose turn it is (starts with white, and then iterates swapping between the two until a draw or checkmate is reached) uses WASD to move their selector, and presses I to select or unselect a specific piece, once selected they can use WASD to choose where to place it, and L to complete the action. (Note: if the move is not chess legal, you will not be able to complete it, for example if you are in check and your move does not avoid check, or if you are trying to move a pawn 3 tiles up)
Code
Check off the items that are true.
/games
directory.-
s, or_
s.Image (If an image is used)
/games/img
directory.