Those are the luckiest tasks that I've chosen to save. They were a part of the additional homework for my Operating Systems class about multithreading. It wasn't supposed to be much advanced - and it's still not - but I think it's funny enough to save.
To be able to run them, you need to have the ncurses library. Install it with:
sudo apt-get install libncurses5-dev libncursesw5-dev
Every folder has a makefile, so just compile and then run, using the programs' name - you're ready to go!
make
./memory
The rules are simple:
- Type letters in the presented order.
- Use only: w, s, a, d.
- 10 rounds to win.
Good luck.
make
./stopwatch
Simple stopwatch. No time limit, get crazy.
Controls:
- s - start
- p - toggle pause
- h/b - add/minus 1min
- j/n - add/minus 1s
- r - restart
make
./matrix
It's just fun to look at, isn't it?
make
./spaceRace
Space race.
Move left and right to not crash into the enemy's fleet.
Up and down to catch a shield which takes hostile spaceships down.
Time is running out.
Godspeed.
make
./cyclists
Cycling race where participants occasionally get and lose motivation. At the top of that... strange accidents may happen.
Gotta see 'em all!
make
./treasureHunt
4 bots trying to score 5 points faster than their oppontents. There are a few surprises on the map, though:
- teleport
- nerf
- boost
make
./exam
The ultimate challenge - passing Operating Systems' final exam. The luck was not on our side. The proffesors weren't bothered with our critically low chances. This simulator shows how easy it was to fail that class.
PS Jk, it wasn't that hard, most of us passed just fine. Most.
This repo was used mainly to play around with the readme. Turn a blind eye ;)