What it does
You are prompted to enter your initial donation, chosen registered charity and login info. Then are sent to the game where you will play to increase your donation. In the game your objective is to mine as much crypto as you can while avoiding the bombs. Keep an eye on your oxygen as you can't mine forever, the O2 blocks will increase your oxygen level. After finishing, your score is sent back to calculate your final boosted donation.
How we built it
We used Java for the game and Javascript to interact with the Ethereum backend.
Challenges we ran into
To create the game we needed threads to render and update the game objects. Unfortunately this caused race conditions where occasionally the game window might be blank or finishing the game gave us Thread exceptions.
Connecting the Java and Javascript wasn't easy but by using the command line we managed to get it done.
What we learnt
We learnt how to connect JavaScript to Java and how to develop smart contracts. Also the basics of game development.
Accomplishment
We develop a project using three different languages
What's next for Miner Charity Game
Moving the project to a web app would allow more people to easily get on board and join.



Log in or sign up for Devpost to join the conversation.