# UNITY Lesson #1: A Two-Object Categorization Game

Want to learn 2D game development with Unity while you're learning math?
My web-based Unity games start simple—each subsequent game adds a new skill.
Go through my math lessons in order, and learn Unity game development at the same time!

This first Unity lesson (not yet completed) goes with the Unity game (not yet completed) in Expressions versus Sentences.
A character wanders through the desert, finds objects, and classifies them as expression/sentence.

This first lesson is LOOOOOOONG.
Even a barebones game requires many basic concepts.
Future lessons will be much shorter.
So, get started learning game development, and HAVE FUN!

### 1f: Background and Falling Rocks

I currently use a PC (not a MAC), so these lessons illustrate what Windows users see and do.
MAC users can make appropriate changes (e.g., the cntl key gets replaced by the cmd key).
The lessons are designed for desktop (not mobile) use.

My Unity lessons will work best for linear learners:
those who want carefully-sequenced instruction, with each lesson building on already-presented concepts.
New topics are presented in context, as they are needed for game development.

The lessons are written for those with no prior game development experience and no object-oriented programming experience.
(Some prior programming experience—in any computer language—will be helpful, but not necessary.)
The lessons give a mix of instruction—Unity game development, computer science, math, C# programming—all presented as needed.

My husband Ray is a computer guru, with over 40 years as a computer professional.
He has proof-read every sentence, to make sure that everything is correct and clear.

As you go through this lesson, you should make it your own.
You'll learn a lot more this way, and end up with a game that is useful to you.

This first game categorizes between two types of objects.
You'll need small images for the two types of objects (the more, the better).

EXAMPLES:

• Objective: Classify an object as RED or BLUE.
Possible Images: squares/circles/triangles etc. that are colored red or blue
• Objective: Classify an object as FRUIT or VEGETABLE.
Possible Images: fruits and vegetables
• Objective: Classify correct usage of the words ‘ it's ’ versus ‘ its ’.
Possible Images: Pictures of sentences with a blank where either  it's  or  its  should go.