Skip to content

imAniketSharma/my-tic-tac-toe

Repository files navigation

"my-tic-tac-toe" Player to Player- Python Package Shell Game

  • Tic-tac-toe, is a paper-and-pencil game for two players, X and O.
  • A move consists of marking a previously unmarked grid.
  • The user inputs a number between 1 and 9 to mark a grid.
  • The player who succeeds in placing three of their marks in a horizontal, vertical, or diagonal row is the winner.
  • As soon as either of the player or the wins,
    • A message announcing the winner should be displayed.
  • If neither player manages to get three consecutive marks along a straight line,
  • And all the squares on the board are filled up,
    • Then the game is drawn.
  • This is a working Python Package and can be installed either locally or via pip from the pypi repository.

Install this package using command : pip install my-tic-tac-toe

And can be played in your Python Shell using command : import my_tic_tac_toe

Use Case Diagram

Use Case Diagram


Sequence Diagram

Sequence Diagram


Class Diagram

Class Diagram