Arcade
My most visual 42 projects. Each one is being ported to run my original C code in the browser. Pick a cabinet to read its briefing.
- push_swapSorts a stack of integers using two stacks and eleven allowed moves, in as few moves as possible. My solution uses a cost-based greedy algorithm that scores every possible move before making one.42 · Rank 2
- fract-olAn interactive explorer for the Mandelbrot and Julia fractals, written in C on the MiniLibX graphics library. You zoom with the mouse wheel, and the program recalculates every pixel from complex-number maths on each frame.42 · Rank 2
- philosophersThe dining philosophers problem, solved with POSIX threads and mutexes. Each philosopher is a thread competing for shared forks, and a monitor thread has to detect a death within 10 ms without causing deadlocks or data races.42 · Rank 3
- minishellCOMING SOONA working Unix shell in C, modelled on bash. It handles pipes, redirections, heredocs, environment variables, signals and the built-in commands. In the Arcade it will run as the real binary inside a small Linux system in your browser.42 · Rank 3
- miniRTA ray tracer written from scratch in C. It reads a scene file (camera, lights, spheres, planes, cylinders) and renders it with ambient, diffuse and specular lighting and hard shadows. You can move the objects, the light and the camera with the keyboard.42 · Rank 4