Projekt modifikovane Pisqworky
This game is tic-tac-toe with a twist - it uses some concepts from Ultimate tic-tac-toe. Player can choose whether to play with another player or with computer (random moves generation), with the requirement to win by connecting three symbols next to each other - in ultimate tic-tac-toe, winning on the main board counts, which I do not require. Players will take turns and the placement of the symbol will indicate to the next player the upper field where he is allowed to play - if player 1 places a symbol in the upper left upper field, player 2 must also play in the upper left upper field; if player 1 places a symbol in the middle of the upper left upper field, player 2 must play in the middle upper field, and so on.
I've covered the following topics: Object-oriented programming in Python (introduction to OOP, classes, properties, methods) Functional programming in Python (map, filter, reduce, zip, lambda expressions, ...) Documentation creation, conventions for writing docstrings, and typing.