Skip to content

Instantly share code, notes, and snippets.

@mohemohe
Last active December 25, 2015 23:09
Show Gist options
  • Save mohemohe/7054676 to your computer and use it in GitHub Desktop.
Save mohemohe/7054676 to your computer and use it in GitHub Desktop.
Omanko!
using System;
namespace Omanko_
{
internal class Program
{
private static void Main(string[] args)
{
string[] omanko = { "お", "ま", "ん", "こ" };
string iku = "おぉぉお゛~っ!!イグゥウ!!イッグゥウウ!!";
var rand = new Random();
var check = new string[4];
int count = 1;
while (true)
{
int i = rand.Next(4);
check[3] = omanko[i];
Console.Write(omanko[i]);
if (check[0] + check[1] + check[2] + check[3] == "おまんこ")
{
break;
}
for (int j = 0; j <= 2; j++)
{
check[j] = check[j + 1];
}
count++;
}
Console.WriteLine("\n\n" + iku + "\n");
Console.WriteLine((count - 4) + "回目で果てました...\n");
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment