# Project 2 - Learning Objectives

## Learning Objectives:

* Understand simple **State Machines** (StateManager)&#x20;
* Understand **Singleton pattern**, and how to implement the singleton pattern in code
* Understand how and why to implement an **interface in C# (IStateBase)**
* Create a project with multiple scenes where **scene transitions are managed by the State Machine: StateManager**
* Specify **Logic for changing scenes**
* Create Simple **Conversations / Dialogs**
* Store and access data using **C# Dictionary.**

{% embed url="<https://learning.oreilly.com/library/view/advanced-game-design/9780134668185/ch2.xhtml#ch2>" %}

Michael Sellers, Advanced Game Design

![Game-Loops: Image below from Michael Sellers, Advanced Game Design ](/files/-M1_bVgTGaCAfekp-L1c)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://kdoore.gitbook.io/cs2335/f20_bkup_v2/project-2-statemanager/project-2-learning-objectives.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
