Inspiration
I build on the Brave challenge with the twist that we can play the game as the character.
What it does
It uses Tensorflow.js on the backend to crop the human figure from an image removes the background and paste it on the game sprites, then you can play the game
Instead of jumping cactus and pterodactyls you have to avoid the ugly fiat currency running to you! In the Near Future you will be able to have your character as an NFT :)
How it's built
It takes the base from the t-rex-runner repo and for the image processing body-pix (for the background removal) Opencv.js for other image processing Near wallet-example repo for the Near version of the game
Challenges we ran into
opencvjs!!! that was hard, it was my first time using it, good thing the docs and examples are clear
Accomplishments that we're proud of
I've wanted to modify the Dino Runner game for some time, this was a great opportunity to do so.
What we learned
Basics on near, more of js and even more on computer vision.
What's next for NearRunner
Issue the skins as NFTs And make player able to earn $NearRunner coin
Built With
- javascript
- near
- tensorflowjs