A random walk simulation in C using Raylib.
  • C 97.5%
  • Shell 2.5%
Find a file
2026-07-23 12:12:58 +10:00
.gitignore Initial commit 2026-07-23 12:12:58 +10:00
build.sh Initial commit 2026-07-23 12:12:58 +10:00
main.c Initial commit 2026-07-23 12:12:58 +10:00
preview.jpg Initial commit 2026-07-23 12:12:58 +10:00
ReadMe.md Initial commit 2026-07-23 12:12:58 +10:00
UNLICENSE Initial commit 2026-07-23 12:12:58 +10:00

Random Walk

A random walk simulation in C using Raylib.

Preview

Dependencies

Make sure Raylib is installed. For example, on Arch:

sudo pacman -S raylib

Build

To compile the code:

./build.sh

Run

To run the simulation:

./randomwalk

Or to run with 100 agents:

./randomwalk 100