Skip to content

I developed this game as part of a technical challenge for a job interview for MAG Interactive.

Notifications You must be signed in to change notification settings

rsofia/Match-3-Linker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Match-3-Linker

Quick match 3 linker game. Works on mobile.

Made with Unity 2019.2.17f

Game Description

The board is represented as a grid, and could be of various sizes. The size of the grid is determined by the ScriptableObject LevelData.

There are 5 different colors of tiles, and there's an extra one (the black one), which is an obstacle. The obstacle falls down and behaves like a tile, but it cannot be merged.

Tiles can be liked veritically, diagonally and horizontally.

Three or more tiles make a match. The match is made when the cursor (or touch) is lifted.

When tiles are matched, they are removed from the board. The board pieces then fall down on the empty spots, and new tiles arrive from the top.

The game is over when X points are made (it's 3,500 points for now, but can be changed inside the inspector).

When either the Replay or Play Again buttons are pressed, the score is erased and a new match begins.

Game View

Here's a screenshot of the game view. Everything is made with Unity built-in tools. No plugins were used.

GameView

And a GIF with gameplay:

GameplayView

Easy to create and modify levels.

Using ScriptableObjects, you can have a board of any size by simply modifying the GridSize variable for rows and columns. You can also insert the type of tile in the array, which for the moment can be either Playabler or Obstacle (the obstacle is like a tile, but you can't merge it). Each level can also have different types of tiles, and a different obstacle. Just assign the prefab to the corresponding slot.

LevelEditor with ScriptableObjects

Prefabs

Take advantage of prefab variants and inheritance to create your own tiles. To create new tile behaviours, just be sure to inherit from TileBase.

Prefab variants

UI

Modify the UI animations with animation curves.

UI

About

I developed this game as part of a technical challenge for a job interview for MAG Interactive.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages