1
0
Fork
You've already forked zig-term-bouncing-ball
0
Small Sample of a bouncing ball on the terminal
  • Zig 100%
Find a file
2026年06月11日 08:38:25 +02:00
src i lied, it wasn't my last commit. Now it is! 2026年06月11日 08:38:25 +02:00
.gitignore Initial commit (last one?) 2026年06月11日 03:20:22 -03:00
build.zig Initial commit (last one?) 2026年06月11日 03:20:22 -03:00
build.zig.zon Initial commit (last one?) 2026年06月11日 03:20:22 -03:00
README.md Initial commit (last one?) 2026年06月11日 03:20:22 -03:00

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

asciicast

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.