Skip to content

Jaycelab/Tic-tac-toe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Tic Tac Toe

This is a simple implementation of the classic game Tic Tac Toe.

Known Issues

  • After a delay, selectWinner() function to select a winner does not get called.
  • Choosing Player 0 assigns player to Computer instead of Player.
  • Winning result does not properly display on mobile and tablet
  • Computer does not block open space after two consecutive player moves
  • Player input and placeholder width is too large on mobile and tablet display.

Future Enhancements

  • Implement a graphical user interface (GUI) for a more interactive experience.
  • Add an AI opponent with different difficulty levels.
  • Keep track of game statistics, such as wins, losses, and draws.
  • Implement an undo feature to allow players to revert their moves.