Small Sample of a bouncing ball on the terminal
| src | i lied, it wasn't my last commit. Now it is! | |
| .gitignore | Initial commit (last one?) | |
| build.zig | Initial commit (last one?) | |
| build.zig.zon | Initial commit (last one?) | |
| README.md | Initial commit (last one?) | |
Zig Terminal Bouncing Ball
This is a very minimal example commented showing a bounce ball (At sign but imagine its a ball) on the terminal Very useful for getting started learning TUI implementations
I tried my best commenting the code and adding references so you can learn more about it
Example
Quick example in case you are too lazy to clone and run it by yourself
Running
In the project root run:
zig build run
Note
If you resize the window when the program is running, things are going to break.