Thanks to visit codestin.com
Credit goes to github.com

Skip to content

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

License

Notifications You must be signed in to change notification settings

Shaher-11/RPG-game

Repository files navigation

RPG-game

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:

screenshot

Built With

  • JavaScript
  • Phaser 3
  • Webpack
  • Lots of love ❤️

Game Instructions

-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

Game design

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.

Getting started

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

Testing

Run tests with the following command:

npm test

Live Demo

View Live

👤 Shaher Shamroukh

🤝 Contributing

Contributions, issues, and feature requests are welcome!

Feel free to check the issues page.

Show your support

Give a ⭐️ if you like this project!

📝 License

This project is MIT licensed.

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published