Welcome to the exciting world of Etheremon, the on-chain Pokemon game built on the Ethereum blockchain! In this thrilling adventure, you will explore a 3D world filled with challenging terrains, dangerous monsters, and thrilling encounters that will keep you on your toes.
What makes Etheremon truly special is the use of cutting-edge machine learning technology to provide players with a unique and engaging gaming experience. The game features an AI opponent that players can battle against, which uses PyTorch to learn actions and provide a more challenging experience over time. With this innovative technology, players can enjoy a game that is both fun and intellectually stimulating. So why not join the adventure today and see what kind of amazing monsters and encounters you can discover while testing your battle skills against an ever-evolving AI opponent!
The Etheremon project is structured as follows:
packages/client
: contains the client-side code for the game, including the React UI.packages/contracts
: contains the smart contract code for the game, written in Solidity.packages/server
: contains the server-side code for the game.
To get started with Etheremon, follow these steps:
- Clone the Etheremon repository to your local machine.
- Navigate to the root directory of the project and run
yarn install
to install all dependencies. - Use the
yarn dev
command in the root directory of the project to start the game. - Initialize the auto-generated files by running
yarn initialize
in the root directory. - Initialize the PRIVATE_KEY environment variable with the default Anvil private key by running
echo "PRIVATE_KEY=0xac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80" > packages/contracts/.env
. - Use the
yarn dev
command in the root directory to start the game locally.
To play Etheremon, follow these steps:
- Install MetaMask or another compatible Ethereum wallet.
- Navigate to the Etheremon website.
- Create a new account and select a character to play as.
- Use the arrow keys to navigate your character around the map.
- Encounter monsters as you explore the world, and use your character's abilities to defeat them.
- Use the game's AI opponent to battle against for an additional challenge.