Dooz or Tic-tac-toe is a simple pen-and-paper game. I created this implementation using Kotlin and Jetpack Compose for Android Devices.
video_2024-01-05_17-55-34.mp4
SDK21+ or Android 5.0+
Just play it!
- Jetpack Compose
- Material3 and Dynamic Color
- Variable game board grid size from three-by-three to seven-by-seven (Larger than seven-by-seven is simply ridiculous and unplayable on mobile phones)
- Variable game AI difficulty (easy, medium, hard)
The Simple game is the simplest variation of Tic-tac-toe with a three-by-three grid with two players. The player who succeeds in placing three of their marks horizontally, vertically, or diagonally is the winner.
Currently, in hard mode, AI uses a strategy rather than an AI search algorithm like MinMax. This strategy consists of these steps: Win, Block, Fork, Block Fork, Center Play, Corner Play, and Side Play.
Strategy's source: Flexible Strategy Use in Young Children's Tic-Tac-Toe by Kevin Crowley, Robert S. Siegler
More info on the strategy here
On Easy difficulty, the AI plays a random empty cell in the grid. In Medium difficulty, AI chooses between Easy and Hard Difficult for each move based on a 50/50 chance.
Owl is licensed under the GNU General Public License v3.0
Permissions of this strong copyleft license are conditioned on making
available complete source code of licensed works and modifications,
which include larger works using a licensed work, under the same
license. Copyright and license notices must be preserved. Contributors
provide an express grant of patent rights.