Exchanging the Kings
Third chess puzzle remade in PuzzleScript. This was a lot different than the previous ones due to the new movement rule.
Also thought I could share it for the new Thinky Puzzle game jam. I couldn't really follow the (of course optional) theme here because I couldn't think of a good theme interpretation yet.
If you want a chess moveset refresher, check out this video :
Source code :
https://auroriax.github.io/PuzzleScript/play.html?p=c3444e495893c9c97b06fc05bd45fa2b
Controls :
- Arrow keys to move
- X to move a piece
- Z to undo, R to restart
Based of the Exchange the Kings puzzle. A short video about it is included below, although I actually used the main video as a reference instead because I saw it first. (does contain spoilers about the solution)
Status | Released |
Platforms | HTML5 |
Rating | Rated 4.8 out of 5 stars (4 total ratings) |
Author | Stingby12 |
Genre | Puzzle |
Made with | PuzzleScript |
Tags | 2D, Chess, my-wife-has-cronic-black-athrasis, PuzzleScript, Short |
Development log
- minor updateJul 08, 2024
Comments
Log in with itch.io to leave a comment.
Cool idea! You can make it so that cursor movement doesn't add to the undo stack by using [ > Player ] -> [ > Player ] nosave
This could actually be useful. I'll update all of the 3 games with the nosave feature
i suggest adding mouse input, ps+ has that
It's such good news that the two kingdoms finally settled their differences.
By the way the video said that there are apparently more than one solution. Only one I got so far was what I believe was the shortest solution (22 moves).
Found a solution in 13. Not sure where to post moves
Video said that the shortest solution required at least 22 moves.
I'll drop the sequence below unless there's a rule not being mentioned by the video.
SPOILER BELOW:
Starting with white assuming a1 is bottom left corner
1.Nc2
2.Ka1
3.Rb2
4.Ka2
5.Nca1
6.Kc2
7.Rb1
8.Nb2
9.Kd3
10.Kd2
11.Kc2
12.Nd3
13.Kb2