- This project is to build a platform game such as the endless runner game , using Phaser framework, and implement scoring system.
- What I have done
- Built With
- Live Demo
- Game Design Document(GDD)
- Getting Started
- Tests
- How to run the game
- What is Pick Flowers
- How to play the game
- Rule of the game
- Author
- Contributing
- Show your support
- License
- Acknowledgements
- Planned the game overview and specific mechanic with Game Design Document(GDD)
- Built platform game with Phaser library
- Implemented a scoring system using the given API to save the score with a username and display it in a game view
- Deployed to a server so the game is accessible for anyone
- Write tests with Jest
Also, these features are added:
- Three modes: Easy, normal, and hard that is different on the speed of showing enemies and fruits
- Double jump: The main character can double jump
Game Design Document (GDD) Link
To get a local copy up and running follow these simple example steps.
- On the project GitHub page, navigate to the main page of the repository.
- Under the repository name, locate and click on a green button named
Code
. - Copy the project URL as displayed.
- If you're running the Windows Operating System, open your command prompt. On Linux, Open your terminal.
- Change the current working directory to the location where you want the cloned directory to be made. Leave as it is if the current location is where you want the project to be.
- Type git clone, and then paste the URL you copied in Step 3.
For this project:
git clone https://github.com/AbdumurodovaZulfizar/Pick-Flower.git
- Press Enter. Your local copy will be created.
- To run the tests
npm test
- To test scpesific file
npm test _file_name_
cd Pick-Flower
npm install
npm run build
- Then Click
Go Live
at the right-bottom corner of VSCode, and click dist directory (Or simply click right side of mouse on the index.html and select Open with live server)
Pick Flowers is simple game, a cute girl picks flowers from garden, and when she touches thorn the game ends.
- Click the "Click to Start" button
- Input a username that will be shown if a player will be a top 5 scorer.
- Choose the mode from easy, normal, or hard that is different on the speed of showing spiders(enemy) and fruits
- Start the game
- In the game-over view,
- To see the top 5 scorers, click the "Score" button.
- To start the different username or mode, click the "TOP" button
- To restart the game in the same mode, click the "Restart" button
- In the score view,
- The top 5 scorers are showing with their username and their score
- To start the different username or mode, click the "TOP" button
- To restart the game in the same mode, click the "Restart" button
- A player gets a 70 scores when touching a flower
- The game will be over when a player touches a thorn
- A player can be operated by using keyboard cursors arrows (←, →, ↑).
- To run to the left, click ←, to the right, click →, and to jump up, click ↑
- A player can double jump, to do it, click ↑ again in the air
🏻💼 Zulfizar Abdumurodova
- GitHub: Abdumurodova Zulfizar
- Twitter: Abdumurodova Zulfizar
- LinkedIn: Abdumurodova Zulfizar
Contributions, issues, and feature requests are welcome! Feel free to check the issues page.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Give a ⭐️ if you like this project!
This project is MIT licensed.