Tuesday, September 5, 2017

Могой тоглоомын код

class Snake:PictureBox
    {
        public int x;
        public int y;
        public int z;
        public Snake(int x,int y, int z)
        {
            this.x = x;
            this.y = y;
            this.z = z;
            Width = 10;
            Height = 10;
            Top = x * 10 + 30;
            Left = y * 10 + 30;