TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Show HN: Click the button, a global realtime leaderboard clicker game

2 pointsby jakedahn5 months ago

1 comment

jakedahn5 months ago
I made this as a silly learning project to dive into some of the real-time interestingness of Elixir.<p>It&#x27;s using Phoenix LiveView, and the whole game state lives inside a GenServer<p>Realtime state is written to ETS and periodically (every 5s) flushed to disk.<p>It&#x27;s running on fly.io<p>---<p>code lives on github here: <a href="https:&#x2F;&#x2F;github.com&#x2F;jakedahn&#x2F;clickthebutton&#x2F;blob&#x2F;main&#x2F;lib&#x2F;clickthebutton&#x2F;game_server.ex">https:&#x2F;&#x2F;github.com&#x2F;jakedahn&#x2F;clickthebutton&#x2F;blob&#x2F;main&#x2F;lib&#x2F;cli...</a><p>and <a href="https:&#x2F;&#x2F;github.com&#x2F;jakedahn&#x2F;clickthebutton&#x2F;blob&#x2F;main&#x2F;lib&#x2F;clickthebutton_web&#x2F;live&#x2F;counter_live.ex">https:&#x2F;&#x2F;github.com&#x2F;jakedahn&#x2F;clickthebutton&#x2F;blob&#x2F;main&#x2F;lib&#x2F;cli...</a>