Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- namespace Drawing_Picture
- {
- class Program
- {
- static void Main(string[] args)
- {
- int[] squarePosition = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9};
- Console.WriteLine("\"TIC TAC TOE GAME\"".PadLeft(35));
- Console.WriteLine("____________________".PadLeft(35));
- Console.WriteLine("| | | |".PadLeft(35));
- Console.WriteLine("| {0} | {1} | {2} |".PadLeft(41), squarePosition[1], squarePosition[2], squarePosition[3]);
- Console.WriteLine("|_____|_____|______|".PadLeft(35));
- Console.WriteLine("| | | |".PadLeft(35));
- Console.WriteLine("| {0} | {1} | {2} |".PadLeft(41), squarePosition[4], squarePosition[5], squarePosition[6]);
- Console.WriteLine("|_____|_____|______|".PadLeft(35));
- Console.WriteLine("| | | |".PadLeft(35));
- Console.WriteLine("| {0} | {1} | {2} |".PadLeft(41), squarePosition[7], squarePosition[8], squarePosition[9]);
- Console.WriteLine("|_____|_____|______|".PadLeft(35));
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement