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 |
| FT4 | Accounts | Account management |
| FT4 | Authentication | FT4 Authentication |
| Overview | Dapps | Building your dapps on Chromia |
Repository link
You can find the full source code for this course in the Tic Tac Toe game course repository.