Infinite Cube Tic-Tac-Toeℹ

Player X's turn
How to Play: Get 3 in a line (row, column or diagonal) to win a face. After a player has 3 pieces on a face, one old piece disappears.

Cube Mode:
• Only one face is active at a time
• Players take turns, X first
• After 2 moves (X, then O) the cube rotates to a random unfinished face
• 🔀 Random turns on: the cube rotates after a random 1–4 moves instead
• Turns carry on across sides: the next side starts with whoever's turn it is
• Won faces are skipped forever

Flat Mode:
• Normal single-board infinite play

Opponent:
• 👥 Human: two players share the screen
• 🤖 Bot: before each game choose who starts (you, the bot, or random); the starter plays X (in both views)
• Names (up to 7 characters, emoji welcome) and who starts: the person button

Removal:
• ⏳ Oldest: the oldest piece goes next (shown grey)
• 🎲 Random: a random piece goes next (shown grey)

🔄 Reset: start a new game
Made with ❤️ by Hlomi🧠🍬
Powered by Torii Edge Cloud Bot algorithm (minimax with alpha-beta pruning) adapted from DAShaikh10/Py-Tic-Tac-Toe (MIT)