Skip to main content

App Examples

The ever-growing number of examples in this section showcase packages for the Sui blockchain. Extract techniques used in these examples to apply to your own Sui projects as they are written by Sui and Move experts.

Examples

Sui is dedicated to providing a wide range of examples to guide you in proper programming techniques for the Sui blockchain. This list will continue to grow, so check back often.

  • Blackjack: This example demonstrates the logic behind an on-chain version of the popular casino card game, Blackjack.
  • Coin Flip: The Coin Flip app demonstrates on-chain randomness.
  • Distributed Counter: An end-to-end example that creates a basic decentralized counter that anyone can increment, but only the object owner can reset it. The example includes Move code to create the package and leverages the Sui TypeScript SDK to provide a basic frontend.
  • Tic-tac-toe: Three implementations of the classic tic-tac-toe game on the Sui network to demonstrate different approaches to user interaction.
  • Weather Oracle: The Sui Weather Oracle demonstrates how to create a basic weather oracle that provides real-time weather data.