Skip to content

A basic tatedrez mobile game implementation done in a few days.

License

Notifications You must be signed in to change notification settings

JoanStinson/Tatedrez

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

97 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tatedrez

A basic tatedrez mobile game implementation done in a few days.

Made With Unity License Last Commit Repo Size Downloads Last Release

💡 Implementation

A document explaining a bit the implementation process and project features can be found in the Readme.pdf file.

⚙️ Installation

The Android build can be found in the Releases section of this repository.

📜 Kata Rules

  • Pieces: The game has only 3 pieces. Knight, Bishop and Rook:

    • Knight (Horse): The knight moves in an L-shape: two squares in one direction (either horizontally or vertically), followed by one square perpendicular to the previous direction. Knights can jump over other pieces on the board, making their movement unique. Knights can move to any square on the board that follows this L-shaped pattern, regardless of the color of the squares.
    • Rook: The rook moves in straight lines either horizontally or vertically. It can move any number of squares in the chosen direction, as long as there are no pieces blocking its path.
    • Bishop: The bishop moves diagonally on the board. It can move any number of squares diagonally in a single move, as long as there are no pieces obstructing its path.
  • Board Setup: An empty board is placed, consisting of a 3x3 grid, similar to a Tic Tac Toe game.

  • Piece Placement: Choose a random player to start.
    Player 1 places one of their pieces in an empty square on the board.
    Player 2 places one of their pieces in another empty square on the board.
    They continue alternating until both players have placed their three pieces on the board.

  • Checking for TicTacToe: After all players have placed their three pieces on the board, it's checked whether anyone has managed to create a line of three pieces in a row, column, or diagonal – a TicTacToe.

  • Dynamic Mode: If neither player has achieved a TicTacToe with the placed pieces, the game enters the dynamic mode of Tateddrez. If X player can't move, the other player move twice. In this mode, players take turns to move one of their pieces following chess rules. Capturing opponent's pieces is not allowed.

  • Seeking TicTacToe: In dynamic mode, players strategically move their pieces to form a TicTacToe.
    They continue moving their pieces in turns until one of them achieves a TicTacToe with their three pieces.

  • Game Conclusion: The game of Tateddrez concludes when one of the players manages to achieve a TicTacToe with their three pieces, either during the initial placement phase or during dynamic mode.
    The player who achieves the TicTacToe is declared the winner.