Chess Challenge

4

was8bit 2024-06-08 17:14 (Edited)

Improve your ability to see series of chess captures

Buttons on left...
Empty arrow, reset board (works!)
Play arrow, shows solution (not functional)
Random arrow, creates a new random board (works!)

Buttons on right...
Curved arrow, generates a new board (not functional)
Arrows up/down, selects a level

*note* random boards may not be winnable...
IF you win, it will say "WIN!" in lower right corner...


V0.4 movement now restricted to legal chess captures *
* pawns capture as if by either player...
V1.01 NOW PLAYABLE, random only
V1.02 RESET button now works :)
V1.1 hit the upper right button to see a demo of generating a puzzle
... currently uses only pawns and only level 3
V1.2 adds king and knight pieces to puzzle generator
V1.3 fixes movement bug which allowed odd diagonal movements


McPepic 2024-06-08 18:51

UI Looks good. I’m really bad at chess, so I hope the simpler looking format makes it a bit easier for me to play. :)


was8bit 2024-06-09 04:41

Thanky :)

It will be more puzzle than game...

so the premise is simple, there will be an unbroken chain of captures that result with only one piece remaining...

The rules are simple, you control all pieces, and each move MUST be a capture move... you will not be allowed to move a piece to an empty space

As there is only one player, i will allow pawns to move as if they we owned by either side, so pawns will be able to capture in any diagonal... all other pieces will capture as normal

.... i know for a fact that this format will be less stressfull yet let anyone get better at seeing possible connected moves... which will naturally help you play regular chess better... :)


was8bit 2024-06-09 04:42

Currently, pieces can be moved to any empty space, no movement rules yet ;)


was8bit 2024-06-09 04:54

I was inspired by "Solitaire Chess" ... i own the game, it has premade boards, but i think a random approach will be a fun programming challenge..

But here is board#1 as an easy example...

K+++
+B++
P+++
++++

So the soution is to use the pawn to capture the bishop, then the knight, and you solved the puzzle

... had you first moved the bishop to capture the pawn or knight, then you cannot finish the puzzle...


was8bit 2024-06-09 05:01

In my version, you will choose how many pieces in the puzzle, then a randomly generated puzzle will have at least one guaranteed solution... you will be able to reset and replay the game, and also be able to watch an animation showing the solution step by step...

... at least, i hope ;)


Log in to reply.