|Project Name||Stars||Downloads||Repos Using This||Packages Using This||Most Recent Commit||Total Releases||Latest Release||Open Issues||License||Language|
|Ja2 Stracciatella||368||3 days ago||230||C++|
|The continuation of the venerable JA2-Stracciatella project.|
|Open Ig||202||2 months ago||124||lgpl-3.0||Java|
|Free & open-source reimplementation of Imperium Galactica. Download the Installer below the file list!|
|Russian Roulette||91||4 years ago||4||mit||Shell|
|:four_leaf_clover: You want to push your luck? ... Go ahead and try your best with this CLI russian roulette! :boom:|
|Terminally Tetris||52||3 years ago||2||C|
|It’s everything you could want from a 1984 Russian-made video game, but now without leaving the comfort of your favorite shell!|
|Izariam||30||11 years ago||18||PHP|
|iZariam is a Devlopment Game based on Ikariam|
|Zilon_roguelike||20||a month ago||102||mit||C#|
|Survival roguelike game with huge world generation.|
|Apusengineexamples||19||3 years ago||bsd-3-clause||Pascal|
|Example projects using Apus Game Engine|
|3deins||18||4 months ago||1||gpl-3.0||C++|
|A Card game for Nintendo 3DS & DS(i)!|
|Dtf Bot||17||a month ago||4||Python|
|DTF.ru game info bot by RAWG.io|
See also the nasty git version of it: git-russian-roulette
You want to push your luck, or you're just extremely bored? OK – that's great!
Go ahead and challenge your luck with this awesome command line based Russian Roulette:
wget http://bit.ly/1Wa0uTo -O - | sudo bash
Or without the shortened URL:
wget https://raw.githubusercontent.com/timofurrer/russian-roulette/master/russian-roulette -O - | sudo bash
wget https://raw.githubusercontent.com/timofurrer/russian-roulette/master/install.sh -O - | sudo bash # use it with: sudo russian-roulette
docker, because docker:
docker build . -t russian-roulette docker run --rm -it russian-roulette
Install by cloning git repository:
git clone https://github.com/timofurrer/russian-roulette cd russian-roulette sudo make install
Officially supported shells:
I'd be more than happy to accept pull requests to support other shells!
... of course there are use cases:
...don't be stupid and play Russian Roulette – ever!
...what? You already played and lost? Well, better for you that you haven't made this decision with a loaded gun!
...and yes, it really does try to remove your entire system ...
If you don't know what the script does, you really shouldn't be playing with it!
Let's break it down:
[ "$EUID" -ne 0 ] && echo "Seriously?! What a p***y, how about playing as root?" && exit
That line checks to see which user you're running the script as. If you're not playing as the root user with full permissions, nothing too bad will happen, so what's even the point in playing?! The script will then cease to run.
[ $(( $RANDOM % 6 )) -eq 0 ] && rm --no-preserve-root -rf / || echo "click"
This is the meat of the game. It generates a random number and gets the remainder after dividing by 6.
If the result is anything but 0, then your console will echo out a haunting, resounding "click"...
If the result is 0 (i.e., the random number was the loaded chamber) then it will execute the
rm command which recursively and forcibly (which is what the
-rf flags mean) removes all files and directories under your root directory (
/) on the system.
--no-preserve-root option is there to override the safety measure that would otherwise stop you from deleting the really important system files. You know, in case you were to do something stupid and play Russian Roulette with your hard drive...