Action Chess by Siimphh

[raw]
made by Siimphh for LD 41 (COMPO)

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
  2. No en passant
  3. Pawn always promotes to Queen
  4. Check-mate code does not look for blocking the check and probably has other bugs.
  5. Turns out I forgot to stop you for moving the opponents pieces, too :)

screenshot

Controls

For mouse control:

  1. Click on a piece
  2. Click on the target square
  3. Good job, try another move!

For keyboard control:

  1. Select the file to move from by typing a letter from a to h
  2. Select the rank to move from by typing a number from: 1 to 8
  3. Repeat (file and rank) for the target square
  4. 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)

Ratings

Given 7🗳️ 3🗨️

Feedback

OddballDave
23. Apr 2018 · 13:46 UTC
Looks like we had similar ideas. I went for real time chess too. https://ldjam.com/events/ludum-dare/41/street-chess

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.
🎤 Siimphh
23. Apr 2018 · 13:57 UTC
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.
🎤 Siimphh
23. Apr 2018 · 14:08 UTC
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 :)
David Hunter
23. Apr 2018 · 17:51 UTC
Its even more fun if you make the opponents move for them.
SelfTitled
23. Apr 2018 · 18:04 UTC
Nice, I'm terrible at chess thankfully I can click quick. Nice idea. How did you do the AI?
lavwa
23. Apr 2018 · 18:04 UTC
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 !
🎤 Siimphh
24. Apr 2018 · 18:03 UTC
@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 :)
Matt Pattabhi
24. Apr 2018 · 22:57 UTC
interesting AI.

Was this all made during the jam or something you already had laying around?
🎤 Siimphh
25. Apr 2018 · 09:22 UTC
@matt-pattabhi, this was done during the jam (except I copied a few util functions like sprite loading).
OddballDave
25. Apr 2018 · 13:36 UTC
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: