Settings

Theme

Show HN: Flappy Gopher with Online Ranking – A Go/WebAssembly Browser Game

flappy-ranking.pages.dev

3 points by ponyo877 · 4 comments · 1 min read

Reader

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

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!

2 threads
jasonjmcghee

It's stupidly hard. 10/10.

lazharichir

Good small fun project

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection