Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Got Tantalus working with just the king off the board
? Quite pleased with this even if it turned out to be VERY easy in the end. Just required understanding what was crashing chess.js and fixing it obviously. The problem was when it attempted to castle or at least generate a castling move and then found out there was no king, generating impossible squares. By adding a check that makes sure there's actually a king present it worked totally fine. ? Tantalus looks so much better with just the king gone. The joke is much stronger, and there's something terrible and funny about playing chess in this context, knowing you cannot possibly win and can at best end up capturing every black piece, only to have the king perpetually out of reach.
- Loading branch information
1 parent
4452f40
commit 8168f81
Showing
3 changed files
with
47 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters