Tdooz is an advanced version of tic tac toe. This game is played in an 8 x 8 matrix. First, the starting color of the game is determined randomly, and the person who has the same colored piece starts the game and chooses a desired number between 1 and 8. After choosing this number, the corresponding bead will be placed in the lowest empty house of that column. Five different modes of scoring are vertical mode, horizontal mode, diagonal to the left, diagonal to the right and the last mode, the corners of a 4 x 4 square. It should be noted that the number of doses for beads in a row and in one direction will be calculated only once, and it is considered a new dose if a row or a column or a diameter is completely filled. The player who achieves the most doses at the end of the game wins.
So far, the rules mentioned were for normal beads, but the story is a little different for marked beads. By using marked pieces and by establishing the following conditions, you can make the opposite piece the same color as yourself:
- If the bead on the left side of the bead with the percentage mark (%) has the opposite color of the bead, it can make that bead the same color as itself.
- If the bead on the bottom right of the bead marked with a star (*) is a bead of the opposite color, it can make that bead the same color as itself.
- If the bottom bead of the dollar sign ($) is the opposite color, it can make that bead the same color.
This adds an extra layer of strategy to the game, as players must carefully consider which marked pieces to use and how to use them effectively. Also, the game will continue until the entire game board is filled with pieces of both colors in order of turn. Note that each color has only three marked pieces and in the end, the winning color is the one that has made more doses on the game board. This means that players must not only focus on making doses but also on preventing their opponent from making doses. Strategic play and careful planning are key to winning in this exciting game.
This project is an OOP(Object Oriented Programming) which made with Java programming language. This project has a graphical interface that made with Jframe. The UML diagram of the classes is located in to the root directory of this repository TDoozUML.png
.
For compiling this project you should compile this file: src/Game/Run.java
.