Skip to content

Instantly share code, notes, and snippets.

@mohemohe
Created May 20, 2015 03:43
Show Gist options
  • Save mohemohe/3e042fba59e9e0f08ad2 to your computer and use it in GitHub Desktop.
Save mohemohe/3e042fba59e9e0f08ad2 to your computer and use it in GitHub Desktop.
TinpoScroll
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