Skip to content

FernandoViudez/sui-minigames-package

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tech specs

Sui repo where you can download everything: [https://github.com/MystenLabs/sui]

  • Sui bin v0.27.1-157ac7203 (installed from devnet branch)
  • Sui test validator (installed from devnet branch)
  • Sui TS sdk v0.28.0
  • Frontend: Angular (-v TBD)
  • Backend: Nest.js v9.0

SUI games contracts module

In this repo you can read all contracts that we used to develop Indelve on-chain games module

Games that we will develop:

  • memotest WIP
  • fridays trivia (from Trantorian)
  • hangman
  • tic tac toe
  • And much more soon...

/run folder

there you can find some implementations on how to use contracts for playing the game to run this examples, please first setup your local sui network. Once you have your local network working, execute the following commands:

  1. from root folder of this repo ~> `cd run`
  2. `npm i`
  3. `node index.js`

index will run an example of a play using the default accounts previously set up in config.js Note that you MUST change this accounts in order to run this example in your own network. I have created this accounts in my local env and only exists for me. Of course you can use the private keys and update the sui.keystore to use the same accounts as me as well. Feel free to use any accounts you want for this example.

About

SUI core package for minigames

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published