Created
January 20, 2022 12:14
-
-
Save ManUtopiK/2f3bda51ea080e6a0a5b6f00e05a98a4 to your computer and use it in GitHub Desktop.
Play the dice
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
// Unicode 0x2680-0x2685 are the sides of a dice (⚀⚁⚂⚃⚄⚅) | |
console.log('%c'+String.fromCodePoint(0x267f + Math.floor(Math.random() * 6) + 1), 'font-size: 4rem;') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment