Last active
April 24, 2022 07:39
-
-
Save hihumikan/3d367905ec80723baf410807936bc14a to your computer and use it in GitHub Desktop.
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
eval(%w(puts(" | |
๐โโโโโโโโโ | |
โโโโโโโโ๐โ๐โโโโโโโโโโโโ | |
โโโโโโโโโ๐๐โโโ๐๐โโโโโโโ | |
โโโ๐โโโ๐โโโโโโโ๐๐โโโโโโ | |
โโ๐๐โโโ๐โโโโโโโโ๐โโโโโ๐ | |
โโ๐โโโโโ๐โโโโโโโโโโโโ๐๐ | |
โโ๐โโโโโ๐๐โโโโโโโโโโ๐๐โ | |
โ๐โโโโโโโ๐โโโโโโโโโ๐๐โโ | |
๐๐โโโโโโโ๐๐โโโโโโโ๐๐โโโ | |
๐โโโโโโโโโโโโโโโ๐๐๐โโโโ | |
โโโโโโโโโโโโโโโ๐โโโโโ | |
"))*""); | |
sleep 0.00001; | |
print "\x1b[2J"; | |
H,W = 50,30; | |
BakeryList = (0...W).map { (0...H).map{"ใ"} }; | |
BakeryEmojiList = ["๐","๐ฅ","๐ฅ","๐ฅช","๐ฅจ","๐ซ"] | |
RandomRain = [0,0]; | |
repeat = 0; | |
loop do | |
print "\x1b[1;1H"; | |
BakeryList.unshift((0...H).map{"ใ"}); | |
BakeryList.delete_at(W-1) | |
RandomRain.each do |i| | |
randomPosition = rand(0..H); | |
randomEmoji = rand(0..5); | |
BakeryList[0][randomPosition-1] = BakeryEmojiList[randomEmoji]; | |
end | |
BakeryList.each do |i| | |
puts i.join; | |
end | |
repeat=repeat+1; | |
if repeat==30 | |
BakeryList[30] = ["๐ง<ใใณใฎ้ฃในใใใงใใ่ นใใณใใณ๏ผ"]; | |
end | |
sleep 0.1; | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment