Skip to content

Repository files navigation

Battlemon

Battlemon

release build

⚔️ Battlemon is an autobattler where you tame, battle, and evolve a team of monsters.

Play in your browser:

Prerequisites

nvm:

brew install nvm

Install

Clone the repository:

git clone https://github.com/remarkablegames/battlemon.git
cd battlemon

Install the dependencies:

npm install

Update the files:

  • public/app-icon.png
  • public/favicon.png
  • public/manifest.webmanifest

Environment Variables

Update the environment variables:

cp .env .env.local

Update the Secrets in the repository Settings.

Available Scripts

In the project directory, you can run:

npm start

Runs the game in the development mode.

Open http://localhost:5173 to view it in the browser.

The page will reload if you make edits.

You will also see any errors in the console.

npm run build

Builds the game for production to the dist folder.

It correctly bundles in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes.

Your game is ready to be deployed!

npm run bundle

Builds the game and compresses the contents into a ZIP archive in the dist folder.

Your game can be uploaded to your server, itch.io, etc.

Testing

For testing, you can use querystring parameters to jump directly to specific scenes and override game state:

  • ?scene=shop — jump directly to the shop scene
  • ?scene=shop&coins=100 — shop with 100 coins
  • ?scene=waveStart&wave=5 — wave start at wave 5

License

MIT

Releases

Sponsor this project

Packages

Used by

Contributors

Languages