Created
May 20, 2015 03:43
-
-
Save mohemohe/3e042fba59e9e0f08ad2 to your computer and use it in GitHub Desktop.
TinpoScroll
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
using System; | |
using System.Text; | |
using System.Threading; | |
namespace TinpoScroll | |
{ | |
class Program | |
{ | |
static void Main(string[] args) | |
{ | |
StringBuilder sb = new StringBuilder(); | |
int count = 0; | |
bool isIncrease = true; | |
while (true) | |
{ | |
if(isIncrease) | |
{ | |
count++; | |
} | |
else | |
{ | |
count--; | |
} | |
if (count > 22) | |
{ | |
isIncrease = false; | |
} | |
else if (count < 1) | |
{ | |
isIncrease = true; | |
} | |
for (int i = 0; i < count; i++) | |
{ | |
sb.Append("ちんぽ"); | |
} | |
Console.WriteLine(sb); | |
sb.Clear(); | |
Thread.Sleep(1000 / 60); | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment