Hey there. This Repository will showcase 13 well-known mini-games that I've programmed in Unity. Some of them are still visually rustic, as my main goal was to implement the core mechanics of each game.
It is meant as an exercise for game developer students (beginner/entry level), as such games are often seen in exams. Try to rebuild these games from scratch in Unity and use this repo as a reference when you get stuck.
It will teach you:
- basic game algorithms
- data structures
- Coroutines
- basic game math
- Canvas & Prefabs
- MonoBehaviour methods
Each game has a Pause Menu, accessible via Esc, or a Game Over/Won Panel that appears after the game ends.
Astroids
- Shoot = space bar
- Movement = w,a,s,d
Breakout
- Movement = left and right arrows
Bubble Shooter
- Shoot = left mouse key
Doodle Jump
- Movement = a for left, d for right
Flappy Bird
- Jump = space bar
Fruit Ninja
- Movement = mouse
- Slice = hold left mouse key
Mine Sweeper
- Click = left mouse key
Tetris
- Move pieces on x-axis = a, d
- Rotate pieces clockwise = q
- Rotate pieces counter-clockwise = e
Tic Tac Toe
- Click = left mouse key
Pong with simple Computer player
- Movement = w,s
Snake
- Movement = w,a,s,d
Space Invaders
- Movement = a,d
- Shoot = space bar
Space Wars
- Movement = w,s
- Shoot = left mouse key