Getting started
The shortest path from a clone to a game in your browser, and then to the tests. It needs a Mac with Homebrew, Xcode (for the Swift suite), Node 22 and a JDK 21 (for the Kotlin suite). The whole stack with the game server, Postgres and online play is in Local development.
Get the code and the tools
git clone https://github.com/EdSancha/homefelt.gitcd homefeltbin/setup # bun, xcodegen, Rust with the wasm32 target, wasm-bindgen-cli, Postgres 17bin/setup can run any number of times; it only adds what is missing. It stops unless 8 GB of
disk are free. Postgres is for the game server later; a solo game does not need it.
Play a solo game in the browser
bin/build-wasm # the Rust rules engine, compiled to WebAssemblycd web && npm ci && npm run devOpen http://localhost:5173, choose Canasta’s Play, pick Easy or Normal for the other seats, and Deal. You play seat 1; the computer plays the rest. The game is saved in the browser after every move, so a reload offers Continue game. More on the web app: Web app.
Run the tests
From the repository root:
bin/test # the Swift, Kotlin and Rust cores and the Wasm build, each against the specbin/test rust # or one platform: swift, kotlin, rust, wasmbin/test site # the marketing site; bin/test docs for this docs siteEach platform runs its core’s tests against spec/, then the behaviour suite drives that
platform’s CLI. Every suite must pass before a pull request.
Next
- Architecture: how the spec, the cores and the apps fit together.
- Local development: the game server, a seeded family table, online play in the browser, the apps’ UI tests and troubleshooting.
- Playing from the terminal: drive a CLI by hand.