README.md (783B)


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Pong Wars

Inspired by @vnglst's [Mastodon
Post](https://hachyderm.io/@vnglst/111828811496422610) and [Java Script
Version](https://github.com/vnglst/pong-wars).

## Dependencies

[raylib](https://www.raylib.com/)

## Compiling to HTML5/WASM

The makefile includes a compilation rule for html5/wasm, but before that'll work
you'll probably need to

1. Follow raylibs
   [instructions](https://github.com/raysan5/raylib/wiki/Working-for-Web-(HTML5))
   to set up our environment for compilation with
   [emscripten](https://emscripten.org/).
2. Modify the paths to raylib and `emscripten.sh` in the makefile to fit your
   environment.
   
A working Version can be seen on my blog
https://www.repetitions.de/posts/pong-wars/

## TODOs

- prevent balls from getting stuck sometimes.