Sure! Here's an example of a Tic Tac Toe game implemented as a single HTML file with JavaScript. It includes AI opponent for playing against the computer. The game has 100 levels that progressively get harder.
Tic Tac Toe vs AI
You can copy and paste the code into a new HTML file and save it with a .html extension. Open the file in a web browser to play the game. Each cell of the 3x3 grid represents a move. Click on a cell to make your move, and the AI will make its move automatically. The game will continue until there is a winner or a draw. The AI opponent will progressively get harder as you advance through the levels. Enjoy the game!