rule stacking game based on dropout.tv's Rulette (S7E7) (and S8E2).
Players spin that wheel (wheel) to acquire and trade behavioral rules to increasingly silly ends. A host (game creator) moderates the madness.
- go
- sqlc
Updates sqlc definitions and runs all tests (with optional 'verbose' output):
bin/test -vStart the backend (with 'debug' level logging):
bin/dev
Fetch the json from the terminal:
bin/state
Or just visit https://localhost:7777/{game_id}/data/state.
Sets up a game, then opens Firefox as specified player. Exemplified: join as player 1:
bin/mock -j 1Setup the data access layer:
bin/sqlc- SQL schema hand-written
db/schema - SQL queries hand-written in
db/queries - sqlc reads db/sqlc.yml to autogenerate type-safe code in
db/sqlc - callable from Go:
data, err := queries.DataAccessLayerQueryHere(ctx, args)```
htmx is a JavaScript library for lightweight frontends using HTML as the engine of application state1.
bin/htmxVendors the most recent htmx release in static/htmx and updates the version in go.mod.