mirror of
https://github.com/thilo-behnke/wasm-pong.git
synced 2026-02-14 14:39:51 +00:00
feature/goal-tracking
wasm-pong
Implementation of Pong with local and online coop. The game is modelled as a series of events, so that other players/observers can easily join a game by consuming the events.
How to run
- Complete:
./run-server.sh - Dev:
./run-server.dev.sh- For dev the rust server and Svelte client can be started manually to allow debugging
Implementation
- Game engine is implemented in wasm/rust
- Web GUI is implemented in Svelte
- Web server is implemented in rust/hyper
- Game events are persisted in kafka
Description
Pong in rust/wasm. Online multiplayer using kafka events.
asyncdockerdocker-composegame-developmenthyperkafkatokiowasmwasm-bindgenwasm-packweb-assemblywebsockets
Readme
1.1 MiB
Languages
Rust
71.7%
TypeScript
12.8%
Svelte
12.3%
Shell
0.9%
JavaScript
0.8%
Other
1.5%