rayflap

A Flappy Bird clone written in C and compiled to WebAssembly.
git clone https://unitehenry.com/git/rayflap.git
Log | Files | Refs | README

commit d161e27b13a381c2c6bd987eab55972720c6b0f7
parent 8cc1c154ecba8f285a30e108e5aaac6ab8f6f1c4
Author: Henry Unite <unitehenry@gmail.com>
Date:   Thu, 16 Apr 2026 04:22:52 +0000

docs: build

Diffstat:
MREADME.md | 38+++++++++++++++++++++++++++++++-------
1 file changed, 31 insertions(+), 7 deletions(-)

diff --git a/README.md b/README.md @@ -1,9 +1,33 @@ -## C Raylib Flappy Bird +# C Raylib Flappy Bird -- Decent-sized C project -- Learn general syntax/ecosystem of C -- Port to Web Assembly +A Flappy Bird clone made with raylib. -assets -> assets -src -> main.c -Makefile +## Building this Project + +### Prerequisites + +Make sure you have the following dependencies installed before attempting to build: + +- `git` +- `python` + +### Build Steps + +```bash +# 1. Install emsdk +source scripts/emsdk + +# 2. Compile raylib +scripts/raylib + +# 3. Build the game +scripts/build +``` + +## Running the Game + +After running the following command, you can access the game at `http://localhost:8080/game.html`. + +```bash +python -m http.server -d build 8080 +```