The game was modified to list the top 100 cryptocurrencies from Coinmarketcap and use the last data found to change the horse behaviour at every turn.
It randomizes the variation (%) of 1h, 24h, 7d, 30d and 60d, and applies to the speed of the horse.
- To run this project, you need a Coinmarketcap API key: https://coinmarketcap.com/api/
- Update
key.json
with your Coinmarketcap key
Open index.html
on your browser
Based on https://github.com/fkitsantas/Horse-Racing-Game-JavaScript Original Live / Demo: https://fkitsantas.github.io/Horse-Racing-Game-JavaScript/