
Ludum Dare #41compo
Action Chess
Action Chess
Waiting for your turn? How very nineties!
Enjoy age-old tactical mechanics in a new frantic setting!
Game Rules
Action Chess implements standard chess rules. Except the rule about taking turns to move pieces.
The implementation has known limitations:
1. No castling
1. No en passant
1. Pawn always promotes to Queen
1. Check-mate code does not look for blocking the check and probably has other bugs.
1. Turns out I forgot to stop you for moving the opponents pieces, too :)
Controls
For mouse control:
1. Click on a piece
1. Click on the target square
1. Good job, try another move!
For keyboard control:
1. Select the file to move from by typing a letter from `a` to `h`
1. Select the rank to move from by typing a number from: `1` to `8`
1. Repeat (file and rank) for the target square
1. Good job!
Extra help:
* Type `SPACE` to re-select the last moved piece to and move it again
* Type `X` to reset an in-progress move
Builds
The linux and osx builds have been tested. If windows doesn't work, sorry :( LMK and I'll try to fix it.
Changelog
Changes past submission deadline:
1. Fix sprite relative path loading (d'oh)
Genres: strategy
Comments10


Siimphh23 Apr 2018, 13:57
Thanks for testing on MacOS! I'm pretty sure I have a fix and have uploaded new binaries if you have a chance to take another look.

Siimphh23 Apr 2018, 14:08
BTW, in case you haven't seen them already, there are also at least:
* https://ldjam.com/events/ludum-dare/41/action-chess
* https://ldjam.com/events/ludum-dare/41/space-chess
* https://ldjam.com/events/ludum-dare/41/super-fun-action-chess
* https://ldjam.com/events/ludum-dare/41/street-chess
* https://ldjam.com/events/ludum-dare/41/rapid-bullet-hell-blitz-chess
Should start a list of all real-time chess games that got made :)
* https://ldjam.com/events/ludum-dare/41/action-chess
* https://ldjam.com/events/ludum-dare/41/space-chess
* https://ldjam.com/events/ludum-dare/41/super-fun-action-chess
* https://ldjam.com/events/ludum-dare/41/street-chess
* https://ldjam.com/events/ludum-dare/41/rapid-bullet-hell-blitz-chess
Should start a list of all real-time chess games that got made :)
David Hunter23 Apr 2018, 17:51
Its even more fun if you make the opponents move for them.

SelfTitled23 Apr 2018, 18:04
Nice, I'm terrible at chess thankfully I can click quick. Nice idea. How did you do the AI?

lavwa23 Apr 2018, 18:04
Hahaha I love it ! I can finally win :D Just need to be quick ! Great idea :) The chess idea was popular but your entry is quite interesting, the graphics, the game is complete. Good work !

Siimphh24 Apr 2018, 18:03
@SelfTitled, as it stands, it just has values associated with each piece + extra value for checks and mates. It then tries random moves and picks the one with the highest `own_value - opponent_value`.
I technically added some min-max style deep reading support too where the value of a position becomes `0.5 * cur_pos_value + 0.5 * sum(child_pos_values)`. But I didn't have time to test that code so I'm not sure it's adding any value or maybe it's just buggy and does nothing :)
I technically added some min-max style deep reading support too where the value of a position becomes `0.5 * cur_pos_value + 0.5 * sum(child_pos_values)`. But I didn't have time to test that code so I'm not sure it's adding any value or maybe it's just buggy and does nothing :)

Matt Pattabhi24 Apr 2018, 22:57
interesting AI.
Was this all made during the jam or something you already had laying around?
Was this all made during the jam or something you already had laying around?

Siimphh25 Apr 2018, 09:22
@matt-pattabhi, this was done during the jam (except I copied a few util functions like sprite loading).

OddballDave25 Apr 2018, 13:36
I got it running on OSX. The menu screen glitched out, but I was able to play the game. Great entry. I like that you kept the winning condition as check mate. For some reason I didn't think that would work in real time, but it does. Good stuff :8ball:
Unfortunately I couldn't get yours to run on Mac OSX. It says it failed to load the sprites in the terminal window. I hope you get the OSX build running before the compo voting ends as I really want to compare how we both interpreted real time chess.