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
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.
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
2.4 Deploy the contract by copying the contract address. See image below:
Open "/index.html" with a web browser. You will be asked for the valet address from step 1.
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.