This is a web-based game built with JavaScript and phaser.js, the game consists of a number of features and options and it is a single-player game, Check out the live link and have fun:smiley:
- JavaScript
- Phaser 3
- Webpack
- Lots of love ❤️
-Click on play button to start the game.
-Move your player using the arrow keys on your keyboard.
-In the battle, use arrow keys to choose and space bar or left arrow to confirm your characters attack and try to defeat the enemies.
-Enjoy the game and explore the options
The game is a turn-based role-playing game(RPG). In the game there are two main characters: A warrior and A mage, they travel the whole world and fight dragons as they keep travelling. The player uses keyboard arrows up, down, left, right. In the battle scene, use keyboard arrows up, down, left, and space bar to attack the chosen enemy. Inside the battle, the scene player can see his characters' and enemies' health bars at all times. Also there are player's score available to see in the top bar in both of the scenes, when player want to quit, he can use the button 'Exit' in the top right of the bar, after clicking said button player is taken to High Score scene, where all top players and their scores are listed.
Open the terminal
git clone [email protected]:Shaher-11/RPG-game.git
npm install
npm run start
Visit the port 127.0.0.1:8080
Run tests with the following command:
npm test
👤 Shaher Shamroukh
Contributions, issues, and feature requests are welcome!
Feel free to check the issues page.
Give a ⭐️ if you like this project!
This project is MIT licensed.