Library of the game tic-tac-toe + AI. Experimental functionality with dynamic parameters of the game field
Project description
titato
Library of the game tic-tac-toe + AI. Experimental functionality with dynamic parameters of the game field
Features:
- Unlimited number of players in one game
- Creating a playing field of any size:
-
- With size parameters required: row, column and winning combination
- Artificial Intelligence algorithm works with any game settings
# Visualization of dynamic settings of the playing field
10 x 10 player vs player vs player
+-----+---+---+---+---+---+---+---+---+---+---+
6 x 6 player vs player | ↓/→ | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 |
+-----+---+---+---+---+---+---+ +-----+---+---+---+---+---+---+---+---+---+---+
3 x 3 player vs player | ↓/→ | 0 | 1 | 2 | 3 | 4 | 5 | | 0: | * | * | * | * | * | * | * | * | * | * |
+-----+---+---+---+ +-----+---+---+---+---+---+---+ | 1: | X | * | * | * | * | * | * | O | * | * |
| ↓/→ | 0 | 1 | 2 | | 0: | * | * | * | * | X | * | | 2: | * | X | * | * | * | * | O | * | * | * |
+-----+---+---+---+ | 1: | * | * | * | * | O | * | | 3: | * | * | P | * | * | P | * | * | * | * |
| 0: | O | * | X | | 2: | * | * | * | * | O | * | | 4: | * | * | * | X | O | * | * | * | * | * |
| 1: | * | O | * | | 3: | X | X | X | X | O | X | | 5: | * | * | * | O | X | * | * | * | * | * |
| 2: | X | * | O | | 4: | * | * | * | * | O | * | | 6: | * | * | O | * | * | X | * | * | * | * |
+-----+---+---+---+ | 5: | * | * | * | * | O | * | | 7: | * | O | * | * | * | * | X | * | O | * |
+-----+---+---+---+---+---+---+ | 8: | O | * | * | * | * | * | * | * | * | * |
| 9: | * | * | X | P | P | P | P | O | P | P |
+-----+---+---+---+---+---+---+---+---+---+---+
Documentation
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
titato-1.0.1.tar.gz
(16.9 kB
view hashes)
Built Distribution
titato-1.0.1-py3-none-any.whl
(18.1 kB
view hashes)