Skip to content

M-B-G-A/emojimon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MUD Scan - Emojimon

how to connect MUD Scan AND GAME

  1. git clone https://github.com/M-B-G-A/mud-scan.git
  2. change namespace in mud.config.ts
  3. deploy it
  4. git clone https://github.com/M-B-G-A/emojimon.git
  5. add some code to your game system.
// add below line on top of contract code.
abstract contract IMudScanWorld {
    function EmojiMon_AchievementSyste_setAchievement (address playerAddress, uint32 score, uint32 stage) virtual public;
}

// add like this line where you want to log score
IMudScanWorld(mudscanWorldAddress).EmojiMon_AchievementSyste_setAchievement(_msgSender(), 100 * mt, mt);
  1. done

Play DEMO on lattice testnet

emojimon demo

Check stats on lattice testnet

mudscan demo

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors