Skip to content
/ TinyPong Public

Tiny ping pong game, just 1000 bytes and 50 lines of code!

License

Notifications You must be signed in to change notification settings

Ztry8/TinyPong

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TinyPong

Tiny ping pong game, just 1000 bytes and 50 lines of code! Play!

video

The game is written in C99 using the WASM-4.
The main game file is written in 50 lines of code.

To compile, you need: WASI_SDK make WASM-4:

git clone https://github.com/Ztry8/TinyPong
cd TinyPong
make
cd build
w4 bundle cart.wasm --title "TinyPong" --html index.html

Then, open index.html