Instuctions for running the app:
- Open Ganache
- Clone the project and open the directory in cmd 2.1 truffle migrate --reset 2.2 npm run dev 2.3. A browser page with an url of localhost:8000 should be opened for you with a "Loading..." message.
- Open MetaMask and make sure you're connected to Ganache network: localhost:7545
- Import any private key from Ganache to MetaMask EXCEPT THE FIRST ACCOUNT - the first Ganache address is the ingame "bank" that holds all ERC20 tokens.
- After connecting to a Ganache account with MetaMask if the page isn't refreshed and you are provided with a "Recruit" screen, press F5.
- Enjoy the game :)
- For resetting the game and progress for all accounts -> run in console: truffle migrate --reset. once it's finished, refresh the html page.