Created
August 22, 2024 04:02
-
-
Save mcthomas/37d9f119bdbe6cde80112b6f364e88de to your computer and use it in GitHub Desktop.
Roll two dice in your terminal
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
dice=(⚀ ⚁ ⚂ ⚃ ⚄ ⚅) | |
printf '%s\n' "${dice[RANDOM % 6]}" "${dice[RANDOM % 6]}" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment