Skip to content
/ Dooz Public

Dooz or Tic-tac-toe is a simple pen-and-paper game. I created this implementation using Kotlin and Jetpack Compose for Android devices.

License

Notifications You must be signed in to change notification settings

yamin8000/Dooz

Folders and files

NameName
Last commit message
Last commit date

Latest commit

2bf07df ยท Apr 22, 2023
Mar 9, 2023
Apr 22, 2023
Jan 13, 2023
Apr 21, 2023
Jan 12, 2023
Apr 22, 2023
Sep 20, 2022
Feb 10, 2023
Apr 22, 2023
Apr 22, 2023
Apr 21, 2023
Nov 25, 2022
Mar 31, 2022
Mar 31, 2022

Repository files navigation

Dooz/Tic-Tac-Tao

Dooz or Tic-Tac-Tao is a simple pen-and-paper game. I created this implementation using Kotlin and Jetpack Compose for Android devices.


Icon Item
๐Ÿ“บ Preview
๐Ÿ“ฑ Compatibility
๐Ÿ’ป Usage
๐Ÿ“ฉ Download
๐Ÿ“‹ Features
๐Ÿงพ Changelog
โš–๏ธ License

Preview

preview

Compatibility

SDK21+ or Android 5.0+

Usage

Just play it!

Download

Features

Technical

  • Jetpack Compose
  • Material3 and Dynamic Color

Game

  • Variable game board grid size from three-by-three to seven-by-seven (Larger than seven-by-seven is simply ridiculous and unplayable in mobile phones)
  • Variable game ai difficulty (easy, medium, hard)

Variations

Simple Game

The Simple game is the most simple variation of Tic-tac-tao with a three-by-three grid with two players. The player who succeeds in placing three of their marks in horizontal, vertical, or diagonal is the winner.

preview

Simple Game AI

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

In Easy difficulty, AI plays a random empty cell in the grid. In Medium difficulty, AI chooses between Easy difficulty and Hard difficulty for each move based on a 50/50 chance.

Changelog

License

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.