Skip to content

Application developed in c# to play the game of tic-tac-toe with any size of the game grid

Notifications You must be signed in to change notification settings

ZeroWk-EM/Tic-Tac-Toe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

69 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tic-Tac-Toe

REQUIREMENTS

  • Ability to play simultaneously with another player (P1 vs P2)
  • Having a choice of which form to start with (X O)
  • Input in the player case must be via keyboard input by typing the cell number you want to fill in

Task

  • Rewrite turn logic.
  • Move Console.WriteLine() & Console.ReadLine() to Program.cs
  • Make victory control Iterative.
    • In the control use ENUM
  • Enter array data from keyboard (ES. 1,1 will put it in the middle)
    • Check that the coordinates entered are correct.
  • Use exceptions
  • Add Boolean checks on InsertSymbol and remove Console.WriteLine()
  • Remove the property that returns the grid.
  • Create a function that returns the copy of the grid
  • Use constants
  • Move the PrintGrid method to Program.cs.

Tips

  • In Booleans use Is, Has, Can

About

Application developed in c# to play the game of tic-tac-toe with any size of the game grid

Topics

Resources

Stars

Watchers

Forks

Languages