Sith Slayer is an online turn-based game where you, as a Jedi, engage in combat with a Sith enemy. You'll utilize various options such as attack, heal, and special attack to defeat your opponent. The special attack option becomes available every round that is a multiple of 3. You'll start by entering your name as a Jedi to commence the battle. Each move and its corresponding value are logged in the battle log.
- Attack: Inflicts damage on the Sith.
- Heal: Restores your health.
- Special Attack: Unleashes a powerful attack, available every third round.
- Surrender: Admits defeat, declaring the Sith as the winner.
- Clone the repository or download the source files.
- Open the
index.html
file in your web browser. - Enter your Jedi name in the input field and press enter to confirm.
- Engage in combat by selecting your desired action from the available options.
- Monitor the battle log to track the progress of the battle.
- Defeat the Sith to emerge victorious!
- HTML
- CSS
- JavaScript (Vue.js)
index.html
: Contains the structure of the game interface.styles.css
: Defines the styles for the game interface.app.js
: Implements the game logic using Vue.js.
This project is created by [Jose Angel Cabanes]. Feel free to contribute or provide feedback!