Open clively79 opened 3 years ago
Menu bar has been added, only file menu is setup, file menu contains New Game and Close option with accelerators.
Ctrl+X closes the program Ctrl+N creates a new game at any time
Game canvas has been resized to correct the issue of clicking on the outer edge and calculating the wrong r, c value or out of bound.
Selecting a square no longer uses Gif images to display X's and O's. Now X's and O's are drawn using create_line and create_oval methods, and the event.x and event.y is used to calculate the row and column value programmatically, reducing the number of conditional checks and result in fewer lines of code.
TODO:
create a single player, or Human v. Computer mode.
Major changes will be described here