Skip to content

juanblasco/tatedrez-game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 

Repository files navigation

Tatedrez-game

Create a tateDrez game using good coding practices, take into account the mantainance, scalability and readability of the code. You should use the best practices at your disposal in order to guarantee the best and easier code re-usability.

Explain on a separated text document your implementation choices for the different systems or modules implemented. Juicyness and attractiveness of the gameplay and UI will be valorated too.

The game must be buildable and runnable on iOS or Android at 60fps without crashes or errors.


GAME DESCRIPTION AND RULES:

Here's a step-by-step description of how a game of Tateddrez would unfold:

  • 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.

    image
  • 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.

    image
  • 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.

    image
  • 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.

    image

Tech requirements

  • Use Unity 2022.3.21
  • Please use only free assets. No paid assets or plugins should be used.
  • Any external module/plugin/library/resource should be in the project. Please don't use github URLs to intstall UPM packages.

Delivery

  • Fork this repository or clone this repository and create a new one into your github account and share the repository with the users "shanickgauthier", "juanblasco" and "kk-homa" or make it public.
  • Build Android .apk and upload it to the repository.

Disclaimer

The company reserves the right not to provide feedback on the outcome of your case study.

Good luck!

About

Create a tateDrez game

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published