Skip to content(if available)orjump to list(if available)

Checkers written in Rust and exported to WASM

throwaway0665

I was about to comment saying it was broken and forces you to jump. But it turns out I've just been playing checkers wrong my whole life.

maxnoe

All checkers games I ever played started with a long negotiation about the rules...

wiktor-k

Exactly. I was surprised that this one doesn't support multi capture when available.

arijun

It does, not sure what you're seeing. Maybe the second jump was in the reverse direction, and thus not legal?

eptcyka

Does it not?

vlovich123

There’s a lot of different checkers variants.

imtany

Please rename to checke.rs :D

keepamovin

Bunch of cool games are here: https://kevinalbs.com/#!games

:)

Blackarea

You got the src on github or something? Am learning rust myself and it seems like a neat little sample project

bsaul

it got locked after 10 moves or something like that (firefox browser). I couldn't move anything no matter where i clicked (and i was far from the end of the game)

EDIT : sorry, seems like i probably had to make a forced jump move, which i didn't know was a thing.

EDIT 2 : aren't you supposed to be able to capture in reverse direction ?

amelius

For me it locked after 1 move. But then I found out that I was also playing for the opponent.

bool3max

checke(rs)