Readit News logoReadit News
swiftcoder · 6 months ago
I thought this was going to be a type checker :)
dhosek · 6 months ago
You’re not alone
jasonthorsness · 6 months ago
I like the attribute-based approach to wasm bindings in rust, it keeps it clean and to one file, and refreshing how you just have a plain HTML file and just instantiate the module with

import init, { Checkers } from "./pkg/checkers.js";

J_Shelby_J · 6 months ago
I wish the Rust web frameworks were this simple. I mean, they're not insane, but they're just really complex due to all of the use cases they support. Dioxus needs a "lite" mode.
keepamovin · 6 months ago
Bunch of cool games are here: https://kevinalbs.com/#!games

:)

imtany · 6 months ago
Please rename to checke.rs :D
kevinAlbs · 6 months ago
Hello, original author here. I was delightedly surprised to see this game got attention. I believe I referenced https://wcdf.net/rules.htm when writing the game. The game has been updated. If a piece is clicked and has no moves, pieces with moves are briefly highlighted.
Blackarea · 6 months ago
You got the src on github or something? Am learning rust myself and it seems like a neat little sample project
millerm · 6 months ago
There’s a link on the page of the game.
zeristor · 6 months ago
Oh, you mean Draughts, I thought this was some sort of parser