This game was created entirely by GPT-4 and GPT-3.5 with as little technical details provided by the operator as possible. The implementation is not very efficient because that was not the focus and GPT wasn't allowed to refactor the code. Even this README.md file was written by GPT-3.5.
If you have any questions, you can contact me (the operator) on Twitter.
- GPT was asked to create a skeleton for the main class of the game.
- GPT implemented the basic version of the game, with a human player only.
- GPT was asked to add support for playing against an AI player.
- GPT was asked to add support for different AI strategies.
- GPT implemented two AI strategies: random and optimal.
- GPT was asked to add a menu to the game.
- GPT added a menu with four screens: one/two players selection, AI strategy selection, main game screen, and results screen.
- The game was tested by the operator, and stack traces were provided to GPT for the bugs that were discovered while testing the game. GPT fixed the bugs.
- GPT was asked to make the game executable, so it was packaged into a .exe file.
- GPT was asked to make the game not show a terminal window when launched.
The results of the last two steps are not included in this repository (for reference, GPT came up with a solution using "pyinstaller" library).
To run the game, you need:
- Python 3.x
- pygame library
To launch the game, navigate to the project directory and run the following command:
python tic_tac_toe.py
This will start the game and bring up the main menu.
This game is public domain. You are free to use it for any purpose, commercial or non-commercial.
Contributions are not accepted for this project. This project was entirely created by AI models, and there are no plans to further develop it.
This game and this README.md file were created entirely by AI models. The creator of this repository is not responsible for any issues or damages that may result from the use of this game or this README.md file.