Skip to content

elTorado/Blockchains-OverlayNetworks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Doodle Jump on the Blockchain - Group 4 | Nike

This project was created in the scope of the course "Blockchains and Overlay Networks" as a Challenge Task project at the University of Zurich in spring semester 2022.

Team: Silke Chen, Shuyue Wang, Yiwen Wang, Dean Heizmann, Dimitri Degkwitz, Reto Odoni

Deployment

1. Create a local blockchain with ganache.

Installation informations can be found here.

sudo ganache-cli

When ganache starts running it shows all available accounts. Choose one address from the "Available Accounts" section (e.g. 0xA084a3261289aB31Ee2F96223a64e09A93f39Cb7)

2. Deploy "doodleJump.sol" on https://remix.ethereum.org

2.1 Copy the content from "/Doodle-Jump-in-JS/doodleJump.sol" in a file in the file explorer from https://remix.ethereum.org. See the image below.

Screenshot from 2022-04-24 09-52-13

2.2 Do not forget to compile the file with Ctrl+S or by switching to the compile tab.

2.3 Switch to the deployment tab and change the Environment to Web3 Provider

Screenshot from 2022-04-25 13-49-39

2.4 Deploy the contract by copying the contract address. See image below:

Screenshot from 2022-04-24 09-58-44

3. Paste copied contact address into /Doodle-Jump-in-JS/src/player.js

Screenshot from 2022-04-24 10-03-16

4. Start game and enjoy

Open "/index.html" with a web browser. You will be asked for the valet address from step 1.

Other Informations

Highscore

When you reach a new highscore, the score will be written on the blockchain. Right now it can only be read via https://remix.ethereum.org.

Screenshot from 2022-04-24 10-07-43

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •