Skip to content

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

TicTacToe

TicTacToe Game Have a class named TicTacToe with four main helper methods that realize the game.

  1. initialize() --> basically, initializes the overall game. Initial visual board for playing game and calls play_turn()
  2. play_turn() --> it helps to take input from user during user's turn and randomly select the choice during computer's turn
  3. update_display() --> it is called every time user plays thier turn and computer automatically play it's turn.
  4. game_over() --> this methods helps to check the conditions if the game is over or not. it determines whether the game is won by user or by computer or it was draw.

image

About

TicTacToe Game

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages