Skip to content

Latest commit

 

History

33 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Description

This project is an Elements game developed as part of a test job for a Unity developer position. The game mechanics resemble the classic match3 genre, but with unique features such as the ability to move blocks in any direction in a single turn and a system to normalize the field after shifting and destroying blocks.

Startup instructions:

  1. Clone the repository using the command: git clone https://github.com/your_username/elements_game.git
  2. Open the project in Unity.
  3. Launch the MainScene.
  4. Enjoy the game!)

Controls: Use the swipe gesture to move the blocks in one of the four directions: top, bottom, right, left.

Game Objective: Destroy all the blocks on the field in the minimum number of moves. The player who reaches this goal wins.

Adding new blocks:

  1. Create a new ScriptableObject "Block".
image
  1. Add data to ScriptableObject "Block" - "Id" and "Animation".
image
  1. If the ScriptableObject "BlocksContainer" has not been created, then create it.
image
  1. Add data to ScriptableObject "BlockContainer".
image

Adding new levels:

  1. If the ScriptableObject "LevelsContainer" has not been created, then create it.
image
  1. Add data to ScriptableObject "LevelsContainer":
    • "Level" - level index;
    • "Columns" - columns count;
    • "Rows" - rows count;
    • "Block Datas" - block ScriptableObject !!!Enter an array of values starting at the lower left corner and moving upward.!!!
image

Desired refinements:

  1. Now the work with resources is realized through the folder "Resources". The "Addressables" would be better for working with resources.
  2. Write a service to work with resources and control them.
  3. Develop a tool for creating new levels and adding new blocks.
  4. Write a service for working with animations.
  5. Add block drop animation.
  6. Infuse CI/CD.
  7. Write unit and integration tests.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages