Skip to content

JoseAngelCabanes/sithSlayer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sith Slayer

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.

Gameplay Instructions

  1. Attack: Inflicts damage on the Sith.
  2. Heal: Restores your health.
  3. Special Attack: Unleashes a powerful attack, available every third round.
  4. Surrender: Admits defeat, declaring the Sith as the winner.

How to Play

  1. Clone the repository or download the source files.
  2. Open the index.html file in your web browser.
  3. Enter your Jedi name in the input field and press enter to confirm.
  4. Engage in combat by selecting your desired action from the available options.
  5. Monitor the battle log to track the progress of the battle.
  6. Defeat the Sith to emerge victorious!

Technologies Used

  • HTML
  • CSS
  • JavaScript (Vue.js)

Project Structure

  • 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.

Credits

This project is created by [Jose Angel Cabanes]. Feel free to contribute or provide feedback!

Demo

Play the game!