Split The code is public; the app answers only to the crew.

Clean: a rendered `.checkdata/game.html` is committed; `serve()` is a top-level side effect #41

shipped merged opened this has it
opened this

.checkdata/game.html (178 lines of rendered output) landed in git inside an unrelated pull; remove it and ignore the directory. src/server.ts (~127) starts Bun.serve as an import side effect; export a serve() that returns the server and boot it only under import.meta.main, as the forge's template does, so tests can start and stop it. A GET JSON endpoint for the leaderboard beside POST /api/match would let the terminal and the page read one implementation.

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs