top | item 42553983 Show HN: Click the button, a global realtime leaderboard clicker game 2 points| jakedahn | 1 year ago |clickthebutton.lol 1 comment order hn newest jakedahn|1 year ago I made this as a silly learning project to dive into some of the real-time interestingness of Elixir.It's using Phoenix LiveView, and the whole game state lives inside a GenServerRealtime state is written to ETS and periodically (every 5s) flushed to disk.It's running on fly.io---code lives on github here: https://github.com/jakedahn/clickthebutton/blob/main/lib/cli...and https://github.com/jakedahn/clickthebutton/blob/main/lib/cli...
jakedahn|1 year ago I made this as a silly learning project to dive into some of the real-time interestingness of Elixir.It's using Phoenix LiveView, and the whole game state lives inside a GenServerRealtime state is written to ETS and periodically (every 5s) flushed to disk.It's running on fly.io---code lives on github here: https://github.com/jakedahn/clickthebutton/blob/main/lib/cli...and https://github.com/jakedahn/clickthebutton/blob/main/lib/cli...
jakedahn|1 year ago
It's using Phoenix LiveView, and the whole game state lives inside a GenServer
Realtime state is written to ETS and periodically (every 5s) flushed to disk.
It's running on fly.io
---
code lives on github here: https://github.com/jakedahn/clickthebutton/blob/main/lib/cli...
and https://github.com/jakedahn/clickthebutton/blob/main/lib/cli...