In this chapter we will explore the creation of a simple TicTacToe (or Noughts and Crosses) game using an Object Oriented approach. This example utilises: • Python classes, methods and instance variables/attributes. • Abstract Base Classes and an abstract method. • Python Properties. • Python lists. • A simple piece of game playing logic. • While loops, for loops and if statements for flow of control behaviour.
Hunt, J. (2019). TicTacToe Game (pp. 423–433). https://doi.org/10.1007/978-3-030-20290-3_37