4 ms·
Show HN: Flappy Gopher with Online Ranking – A Go/WebAssembly Browser Game
I implemented a Flappy Bird style game using Go and the Ebitengine (2D Game Engine), compiled to WebAssembly to run in the browser.
Tech stack:
- Frontend: Go + Ebitengine -> WebAssembly
- Backend: Cloudflare Pages Functions
- Database: Cloudflare D1
Features:
- Daily/weekly/monthly online leaderboards
- Jump history recording and verification to prevent cheating
- Fully serverless architecture to minimize operational costs
Source code: https://github.com/ponyo877/flappy-ranking https://github.com/ponyo877/flappy-ranking
This started as an experimental project to create a game in Go and compile it to WebAssembly for browser play. By leveraging Cloudflare's edge computing, I've been able to deploy it globally with low latency.
Feedback and suggestions for improvement are welcome!
- jasonjmcghee 2y agoIt's stupidly hard. 10/10.
- ponyo877 2y agothx for playing!
- lazharichir 2y agoGood small fun project
- ponyo877 2y agoI love small project!