Created
December 8, 2020 17:03
-
-
Save joshlawrence/edb7399723d43c995d92a48768e3d7f4 to your computer and use it in GitHub Desktop.
Russian Roulette in Bash
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
[ $[ $RANDOM % 6 ] = 0 ] && echo "BANG" || echo "Click" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment