#Tettris by c# console program(4*4 배열의 모양)

테트리스모양이 4*4의 모습이다.

전버젼인 3*3에서 4*4로 숫자만 바뀐거뿐, 특별히 달라진건 없다.

확장성는 3->4로 바꾸는것일뿐^

        static int[, ,] design = new int[, ,]
        {
            {{0,1,0,0},{0,1,0,0},{0,1,0,0},{0,1,0,0}},
            {{0,0,0,0},{0,1,1,0},{0,1,1,0},{0,0,0,0}},
            {{0,0,0,0},{0,1,0,0},{1,1,1,0},{0,0,0,0}},
            {{0,0,1,0},{0,1,1,0},{0,1,0,0},{0,0,0,0}},
            {{0,1,0,0},{0,1,1,0},{0,0,1,0},{0,0,0,0}},
            {{0,0,0,0},{0,1,0,0},{0,1,1,1},{0,0,0,0}},
            {{0,0,0,0},{0,1,1,1},{0,1,0,0},{0,0,0,0}}
        };

 

c_t_tris_4_4.cs
0.01MB

+ Recent posts