Skip to content

This code defines functions to draw the game board, get player input, randomly determine who goes first, check for a winner, make a move, and check if the board is full. The main game loop initializes the game, prompts the player for input, and alternates turns between the player and the computer until the game is won or tied.

Notifications You must be signed in to change notification settings

Abraham1983/TicTacToe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

TicTacToe

This code defines functions to draw the game board, get player input, randomly determine who goes first, check for a winner, make a move, and check if the board is full. The main game loop initializes the game, prompts the player for input, and alternates turns between the player and the computer until the game is won or tied.

About

This code defines functions to draw the game board, get player input, randomly determine who goes first, check for a winner, make a move, and check if the board is full. The main game loop initializes the game, prompts the player for input, and alternates turns between the player and the computer until the game is won or tied.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages