> For the complete documentation index, see [llms.txt](https://fusee.gitbook.io/mx-sdk-as/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://fusee.gitbook.io/mx-sdk-as/the-flip-smart-contract/the-flip-smart-contract-introduction.md).

# The Flip Smart Contract : Introduction

{% hint style="info" %}
This is the second AssemblyScript smart contract tutorial, the first is [here](/mx-sdk-as/the-crowdfunding-smart-contract/the-crowdfunding-smart-contract-part-1.md).
{% endhint %}

This tutorial will show you how to write a simple MultiversX Flip smart contract using AssemblyScript.

The contract we will write here is about a simple "Double or nothing" bet game 🎲 Here is what we will see in this guide :&#x20;

* [Part 1 : Setting up the development environment](/mx-sdk-as/the-flip-smart-contract/the-flip-smart-contract-part-1-setting-up-the-development-environment.md)
* [Part 2 : Think about the contract and the game mechanisms](/mx-sdk-as/the-flip-smart-contract/the-flip-smart-contract-part-2-think-about-the-contract-and-the-game-mechanisms.md)
* [Part 3 : Setting up the project](/mx-sdk-as/the-flip-smart-contract/the-flip-smart-contract-part-3-setting-up-the-project.md)
* [Part 4 : Writing the contract storage](/mx-sdk-as/the-flip-smart-contract/the-flip-smart-contract-part-4-writing-the-contract-storage.md)
* [Part 5 : Contract administration](/mx-sdk-as/the-flip-smart-contract/the-flip-smart-contract-part-5-contract-administration.md)
* [Part 6 : Bet logic](/mx-sdk-as/the-flip-smart-contract/the-flip-smart-contract-part-6-bet-logic.md)
* [Part 7 : Make the flip](/mx-sdk-as/the-flip-smart-contract/the-flip-smart-contract-part-7-make-the-flip.md)
* [Part 8 : Bounty endpoint](/mx-sdk-as/the-flip-smart-contract/the-flip-smart-contract-part-8-bounty-endpoint.md)
* [Part 9 : Testing the contract](/mx-sdk-as/the-flip-smart-contract/the-flip-smart-contract-part-9-testing-the-contract.md)

Are you ready ? I am 😎

{% hint style="info" %}
This tutorial assume that you have good knowledge about object oriented programming, especially in TypeScript. Make sure to follow first [the previous tutorial about the crowdfunding contract](broken://pages/DORZs6urmvEuprYdoUWZ), which is way more detailled and beginner friendly.
{% endhint %}
