Git Product home page Git Product logo

asd_nftmoon's Introduction

Dice Game 🎲 - Project B

"Architetture dei Sistemi Distribuiti" course project @ UniCampus Rome - Developed by Marco Salmè, Daniele Mercuri, Giuliano Salvati e Massimo Capurro LlAdo'.

Exam Task 📄

Tramite l’utilizzo di REMIX, GANACHE, META-MASK e WEB3; implementare un sistema di gioco basato su token ERC-20 e ERC-721 che funzioni nel seguente modo: il giocatore possiede un account metamask che utilizza per ”registrarsi” al gioco. L’implementazione del gioco viene lasciata libera puo andare da un semplice lancio di dadi, o una partita di carte in stile black-jack fino ad un effettiva partita di scacchi contro il pc o altro. Durante il log-in viene controllato se all’account sono intestati degli ERC-721 e in caso affermativo viene sbloccato il contenuto esclusivo associato all’ERC-721 nel gioco. Ex: un dado esclusivo. Alla fine della partita vengono attribuiti degli ERC-20 all’address del giocatore in base al punteggio effettuato. In questo modo nel contratto dell’ERC-20 si andrà a generare una classifica dei giocatori. E’ possibile instanziare come metadata dell’ERC-721 anche solo un codice che risolto al di fuori della blockchain porti a sbloccare il collezionabile e non il collezionabile stesso. Tramite i token ERC-20 vinti con le varie partite è possibile comprare i token ERC-721.

How to get started:

Before the execution

  1. Setting Ganache Local Blockchain

    📌 Remember to leave Ganache open while code running.

  2. Setting Brownie with Ganache

To execute the game

brownie run main.py

asd_nftmoon's People

Contributors

massimo-capurro-llado avatar giulianosalvati avatar marcosal30 avatar danielemercuri avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.