topheman / snake-pipe-rust

🦀 A snake game based on stdin/stdout (+tcp and unix sockets) in rust
MIT License
12 stars 1 forks source link

[Feat] support `snakepipe render-browser` #26

Closed topheman closed 7 months ago

topheman commented 7 months ago
snakepipe gamestate|snakepipe render-browser|snakepipe render

Will launch an actix-web based server on a thread and continue reading stdin on an other thread.

The stream provided to snakepipe render-browser will be passed as server-sent-events and consumed by JavaScript frontend renderers.