This is a 3-row match game created using Unity and C#. The game is a classic match-3 where players swap adjacent pieces to form lines of three or more of the same gem type. The game checks for matches both horizontally and vertically. If a match happens, instead of having new gems falling down, a checkmark is coming to the slot.
Board.cs script controls the overall state of the game board. It manages the board's dimensions and holds references to all the gems on the board. It also controls the spawning and destruction of gems, checks if gems are exploding, and manages the matches and scoring.
BoardLayout.cs script is responsible for the initial setup of the game board. It reads a pre-configured layout and spawns the gems accordingly. If no layout is provided, it generates a random one.
RoundManager.cs controls the round-based game flow. It tracks the remaining moves, updates the UI, checks for game over conditions (based on remaining moves or no more possible matches), stores high scores, and toggles game over screens.
MatchFinder.cs script finds matches of 3 or more gems, both horizontally and vertically, on the board. It also checks if there are any possible matches left, which is useful for determining if the game is over.
Gem.cs controls the behavior of each individual gem. It likely manages gem type, position, matched status, and other gem-specific behaviors.
![Ekran Resmi 2023-07-31 18 12 00](https://private-user-images.githubusercontent.com/72814790/257598652-23e0f92e-b3da-4631-9cbc-de158f1a533f.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjUwNzUyMTgsIm5iZiI6MTcyNTA3NDkxOCwicGF0aCI6Ii83MjgxNDc5MC8yNTc1OTg2NTItMjNlMGY5MmUtYjNkYS00NjMxLTljYmMtZGUxNThmMWE1MzNmLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MzElMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODMxVDAzMjgzOFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWQyMjBlMmNmYTE4Njc4Njc4N2MwMmU5MTM2YjBjZGRiZDI2NGUwOTE2YWQ0Njg2YjcwZGI2ZTI1MDkzOWU4ZTYmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.TtM4WPOx5Nyz5vvawq9nl6V7MSI8k2l0BF_oKuqvxyU)
![Ekran Resmi 2023-07-31 18 12 30](https://private-user-images.githubusercontent.com/72814790/257598839-12eb76bd-446a-42eb-b23c-a3fc78259370.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjUwNzUyMTgsIm5iZiI6MTcyNTA3NDkxOCwicGF0aCI6Ii83MjgxNDc5MC8yNTc1OTg4MzktMTJlYjc2YmQtNDQ2YS00MmViLWIyM2MtYTNmYzc4MjU5MzcwLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MzElMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODMxVDAzMjgzOFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWJhMjI4ZDQ5ZWE0OWI2ZDE3NjEzYWRiYTNiMTY2M2RiN2E3ZGE1MWIxNTMyMzdkNTM3OGNhZTE5NzFmNDIxMzYmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.TgLeWMOAYDi1bLIGVWthfLmVtXNV1PAFoWGEKTWqEcE)
![Ekran Resmi 2023-07-31 18 13 09](https://private-user-images.githubusercontent.com/72814790/257598914-fdedf650-80d2-409c-a2c3-732ae80d29ea.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjUwNzUyMTgsIm5iZiI6MTcyNTA3NDkxOCwicGF0aCI6Ii83MjgxNDc5MC8yNTc1OTg5MTQtZmRlZGY2NTAtODBkMi00MDljLWEyYzMtNzMyYWU4MGQyOWVhLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MzElMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODMxVDAzMjgzOFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTk2OWYwZmJkNmYwNDI2M2YyZDRlM2NhMzJmYmRjMTY3ZTliOWIwMDBlYTNhMmUzMDVlZjhkMjcxYWVkYWI3NDQmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.a6-7unc-0nm3RsmrKKcPdYnPlBb0f4iGaNxE11EiRc8)