# Tic Tac Toe on Chromia with Rell and Unity · Learn Chromia

> This course walks you through building a decentralized Tic Tac Toe game on Chromia, from backend logic to a playable frontend.

Source: https://chromia.com/learn/tic-tac-toe/introduction/

Tic Tac Toe on Chromia with Rell and UnityLesson 1 of 20

1. [01Tic Tac Toe on Chromia with Rell and Unity](https://chromia.com/learn/tic-tac-toe/introduction/)
2. [02Set up your project](https://chromia.com/learn/tic-tac-toe/setup/)

Module 1: A Rell backend with FT4 accounts

1. [03Overview](https://chromia.com/learn/tic-tac-toe/module-one/)
2. [04Part 1: Database design, operations and queries](https://chromia.com/learn/tic-tac-toe/module-one/data-modeling/)
3. [05Design the data model](https://chromia.com/learn/tic-tac-toe/module-one/data-modeling/tables/)
4. [06Perform basic operations](https://chromia.com/learn/tic-tac-toe/module-one/data-modeling/basic-operations/)
5. [07Write basic queries](https://chromia.com/learn/tic-tac-toe/module-one/data-modeling/write-queries/)
6. [08Part 2: Set up accounts](https://chromia.com/learn/tic-tac-toe/module-one/create-accounts/)
7. [09Configure FT4 accounts](https://chromia.com/learn/tic-tac-toe/module-one/create-accounts/install-configure-ft4/)
8. [10Authentication with FT4 accounts](https://chromia.com/learn/tic-tac-toe/module-one/create-accounts/authentication/)
9. [11Update tests](https://chromia.com/learn/tic-tac-toe/module-one/create-accounts/update-tests/)
10. [12Part 3: How the dapp project is organized](https://chromia.com/learn/tic-tac-toe/module-one/project-structure/)
11. [13Work with Rell modules](https://chromia.com/learn/tic-tac-toe/module-one/project-structure/modules/)
12. [14Add modules to your dapp](https://chromia.com/learn/tic-tac-toe/module-one/project-structure/incorporate-modules/)

Module 2: The Unity project

1. [15Overview](https://chromia.com/learn/tic-tac-toe/module-two/)
2. [16Set up the project](https://chromia.com/learn/tic-tac-toe/module-two/setup/)
3. [17Project scaffold](https://chromia.com/learn/tic-tac-toe/module-two/scaffold/)
4. [18Link the client to the blockchain](https://chromia.com/learn/tic-tac-toe/module-two/connecting-the-client/)
5. [19Summary and manual testing](https://chromia.com/learn/tic-tac-toe/module-two/summary-and-tests/)

1. [20What next?](https://chromia.com/learn/tic-tac-toe/what-next/)

[Learn](https://chromia.com/learn/)[Tic Tac Toe on Chromia with Rell and Unity](https://chromia.com/learn/tic-tac-toe/)

01 / 20

# Tic Tac Toe on Chromia with Rell and Unity

This course walks you through building a decentralized Tic Tac Toe game on Chromia, from backend logic to a playable frontend.

When you finish, you will understand Chromia's core features well enough to build decentralized games of your own.

## What will I learn?

The course focuses on the fundamentals you need for decentralized game development. You will work through these topics:

* **Game logic and design:** Design the rules of Tic Tac Toe, including turn handling and detection of wins, losses, and draws.
* **Database model and simple queries:** Model the database that stores game state, and write basic queries to manage and fetch game data.
* **Input verification:** Validate and secure what players submit so the game stays fair and resists exploits.
* **Accounts and authentication:** Handle player accounts in a decentralized game, covering registration and authentication.
* **Project structure:** Organize your project, lay out your codebase, and manage dependencies.
* **Frontend integration (Unity):** Hook your backend up to a Unity frontend that gives players a visual interface for the game.

## What will we be building?

You will build both the frontend and the backend of a real-time decentralized Tic Tac Toe game. Working on a complete project gives you hands-on skills you can apply to your own decentralized games and to further blockchain development.

Start with the first lesson to begin building your game on Chromia.

### Related materials

The course draws on the documentation below. Refer to it when you want more detail on the concepts and techniques used:

| Section | Type | Documentation |
| --- | --- | --- |
| FT4 | Introduction | [FT4](https://docs.chromia.com/build/ft4/intro/) |
| FT4 | Accounts | [Account management](https://docs.chromia.com/build/ft4/account-management/) |
| FT4 | Authentication | [FT4 Authentication](https://docs.chromia.com/build/ft4/backend/authentication/) |
| Overview | Dapps | [Building your dapps on Chromia](https://docs.chromia.com/get-started/about/dapp/) |

## Repository link

You can find the full source code for this course in the
[Tic Tac Toe game course repository](https://bitbucket.org/chromawallet/demo-unity/src/main/).

Written for this site from Chromia’s public course. Code samples are the course’s own.

[← Course**Tic Tac Toe on Chromia with Rell and Unity**](https://chromia.com/learn/tic-tac-toe/)[Next →**Set up your project**](https://chromia.com/learn/tic-tac-toe/setup/)

On this page

* [What will I learn?](#what-will-i-learn)
* [What will we be building?](#what-will-we-be-building)
* [Repository link](#repository-link)
