I created a basic chess platform you can use.
Now I will try creating a bot to play against.
Keyword: try
Edit:
Update Log
2026-04-27T21:10:00Z - Published the project. You can move any piece whenever you want. Their are no turns, castling, checks, checkmate, stalemate, or en passant.
2026-04-27T21:15:00Z - Implemented turns. Once white moves a piece, they can no longer move, black must make their move.
2026-04-28T10:28:00Z - Implemented check detection. If you try to move a piece that puts or keeps your king in check, it will not let you. Therefore, you cannot move any piece if you are in checkmate (yet!).
2026-04-28T13:03:00Z - Implemented checkmate detection. If you try moving into check 5 times in a row, the program will check if your king if checkmated. If it is, it will end the game. If you aren’t mated, the game will continue like normal, and the program will not check for mate until the next time you move into check 5 times in a row, starting next turn.
2026-04-28T13:54:00Z - Implemented stalemate detection. If checkmate detection starts and reports false (the player is not in checkmate), then stalemate detection begins. If the player is stalemate, the game will end in a Tie. Otherwise, the game will continue on as normal.
2026-04-29T12:44:00Z - Implemented en passant. If your opponent moves their pawn 2 square, and it land right next to your pawn, you can capture that pawn by moving your own pawn behind your opponent’s pawn.
2026-04-29T17:50:00Z - Implemented castling. If your king has not moved yet, and your target rook hasn’t moved, and the spaces between your king and your rook are empty, you can castle by moving your king 2 spaces. When you do, your rook will automatically jump over to the space next to the king.
2026-04-29T18:52:00Z - Started to create a bot to play against. Currently, the bot will make random moves, and it will favor moves that gain the most material (pawn = 1, bishop and knight = 3, rook = 5, queen = 9, king = 999).
