# Simple Memory Game Template

- Link: https://saguiitay.com/unity/simple-memory-game-template/
- Published: 2022-07-31T15:55:24+03:00
- Author: Itay

## Overview

**Simple Memory Game Template** is a very simple and clean game template that allows
you to create memory, also known as two-of-a-kind, games.

The template includes a single scene with a main menu, a difficulty level selection
panel, and the main game panels. The game can be easily customized for different
graphics.

### Features

 * Full C# source code.
 * Perfect for creating games for children.
 * Easily customizable with different graphics.
 * Provides easy linking to other games.
 * Integrates with Google Mobile Ads.
 * Works on all platforms, PC, Mac, iOS, Android, etc.

### **Requirements:**

 * [DOTween](https://assetstore.unity.com/packages/tools/animation/dotween-hotween-v2-27676)
 * [Google Mobile Ads Unity Plugin](https://github.com/googleads/googleads-mobile-unity)

See sample game in Google Play: [Fruits Memory Game for Kids](https://play.google.com/store/apps/details?id=com.saguiitay.FruitsMemoryGame)

[**Purchase the Simple Memory Game Template** **from the Unity Assets Store here >>**](https://assetstore.unity.com/packages/slug/192384?aid=1101lS3S)

## Screenshots

![Simple Memory Game Template Screenshot 1](https://i0.wp.com/www.saguiitay.com/
wp-content/uploads/Simple-Memory-Game-Template-Screenshot-1.webp?ssl=1 "Simple Memory
Game Template 1")

![Simple Memory Game Template Screenshot 2](https://i0.wp.com/www.saguiitay.com/
wp-content/uploads/Simple-Memory-Game-Template-Screenshot-2.webp?ssl=1 "Simple Memory
Game Template 2")

![Simple Memory Game Template Screenshot 3](https://i0.wp.com/www.saguiitay.com/
wp-content/uploads/Simple-Memory-Game-Template-Screenshot-3.webp?ssl=1 "Simple Memory
Game Template 3")

![Simple Memory Game Template Screenshot 4](https://i0.wp.com/www.saguiitay.com/
wp-content/uploads/Simple-Memory-Game-Template-Screenshot-4.webp?ssl=1 "Simple Memory
Game Template 4")

## Documentation: How to use Simple Memory Game Template

### Changing the main game experience

The gameplay experience is controlled from a single script – TwoOfAKindGameScript.
cs. In the template, the script is applied to 5 different game objects – one for
each difficulty level.

The script provides the following options:

 * Landscape/Portrait Columns: Controls how many columns to display in Landscape/
   Portrait mode. This allows supporting different layouts based on the device layout.
 * List of images for the game cards. At each game’s start, a few of these will 
   be selected randomly.
 * A few user interface elements – a “level completed” panel, and a “fadeout” panel

To control the list of images used during the game, just update the list of images
on each TwoOfAKindGameScript object.

### Main menu experience

The main menu displays randomly falling images, to provide a visual appealing experience.
You can control the number of falling objects displayed in the “RandomImages” objects.

For the falling objects themselves, you can modify the “RandomImage” prefab:

 * Provide any number of images (one of which will be selected randomly).
 * Select the min/max for the object size, speed, and rotation speed.
