This file contains hidden or 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
| --[[ | |
| `Corgi dog' adapted to monospace font | |
| Original ASCII Art | |
| http://asciiart.en.utf8art.com/arc/dog_17.html | |
| Licensed under a Creative Commons Attribution 2.1 Japan License | |
| https://creativecommons.org/licenses/by/2.1/jp/ | |
| ]] |
This file contains hidden or 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
| math.randomseed(os.time()) | |
| local function round (n) | |
| if n > 0 then | |
| return math.floor(n + 0.5) | |
| else | |
| return math.ceil(n - 0.5) | |
| end | |
| end |