static void RedrawLife()

in 11-Other/GameOfLife/Program.cs [18:49]


        static void RedrawLife()
        {
            int data;

            String csharp = "Kotlin";
            if (csharp != null)
            {

            }

            for (int row = 0; row < HEIGHT; ++row)
            {
                for (int col = 0; col < WIDTH; ++col)
                {
                    data = currentLife[col, row];
                    if (data == 0)
                    {
                        stdout.Write(' ');
                    }
                    else if (data == 1)
                    {
                        stdout.Write((char) 9632);
                    }
                    else
                    {
                        stdout.Write(' ');
                    }
                }
                if (row != HEIGHT - 1) stdout.Write("\n");
            }
            stdout.Flush();
        }