Monster Smash is a simple browser game built with Vue.js for learning purposes. Players battle against a monster in turn-based combat, with options to perform regular attacks, special attacks, heal themselves, or surrender. The game features health bars for both the player and monster, with a combat log tracking the damage dealt by each side. Its minimalist design and straightforward mechanics make it an excellent project for practicing basic Vue.js concepts like state management and event handling.
This project uses the following technologies:
- Vue
- Typescript
- TailwindCSS
- Vite
- Vitest
- HTML
- CSS
You can see the project live at the following link: Monster Smash
Before you begin, make sure you meet the following requirements:
- You have a Windows / Linux / Mac machine;
- You have Git installed and configured.
bun install
bun dev
bun run build
Run Unit Tests with Vitest
bun test:unit
Lint with ESLint
bun lint
Here's how to contribute to monster-smash
:
- Fork this repository.
- Create a branch:
git checkout -b <branch_name>
. - Make your changes and commit them:
git commit -m '<commit_message>'
- Push to the original branch:
git push origin monster-smash / <location>
- Create the pull request.
Alternatively, see the GitHub documentation on how to create a pull request.
We thank the following people who contributed to this project:
Amanda Santos |