Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/arskiy/pong
Pong implemented in C using a variety of libraries.
https://github.com/arskiy/pong
ncurses ncurses-tui opengl pong tui wasm web-assembly
Last synced: 3 months ago
JSON representation
Pong implemented in C using a variety of libraries.
- Host: GitHub
- URL: https://github.com/arskiy/pong
- Owner: arskiy
- Created: 2019-07-10T02:40:27.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2019-07-14T01:53:47.000Z (over 5 years ago)
- Last Synced: 2024-07-30T21:02:27.603Z (6 months ago)
- Topics: ncurses, ncurses-tui, opengl, pong, tui, wasm, web-assembly
- Language: C
- Homepage:
- Size: 463 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Pong in WASM ([Web-Assembly](https://webassembly.org/)), Native OpenGL and NCurses (TUI).
This contains the worst AI you have ever seen. You have been warned.
The WASM version is in C++ because the keyboard function refuses to work after being compiled by Emscripten for some reason I'm not aware of.
To control your paddle in the WASM and native OpenGL versions, use WASD. To control it in the ncurses version, use the arrow keys. (Sorry for this.)
To compile the WASM version, you'll need emscripten.