Welcome to Planet Game! Defend Earth from invading aliens and zombies in this action-packed adventure.
- Find the deployment here
- Use W, A, S, and D keys to move.
- Press spacebar to fire bullets.
- Clone the repository
git clone https://github.com/deepu7ds/PlanetGame.git
- Navigate to the project directory
cd PlanetGame
- Install dependencies
npm install
- To run the server, use the following command:
npm run dev
We welcome contributions from everyone! Here's how you can contribute to the Planet Game project:
- Fork the repository.
- Clone your forked repository to your local machine.
- Make your changes and improvements.
- Test your changes thoroughly.
- Commit your changes with descriptive commit messages.
- Push your changes to your forked repository.
- Open a pull request to the main repository.
Planet Game is built using p5.js for graphics and interactivity. p5.js is a JavaScript library that makes it easy to create visual and interactive experiences, such as games, art, and animations, directly in the browser. It provides a set of drawing functions and utilities that simplify the process of creating dynamic content.
When contributing to Planet Game, make sure to follow the p5.js guidelines and best practices when adding or modifying game elements. Familiarize yourself with the p5.js documentation and explore its capabilities to enhance the gameplay experience.
- We use ESLint and Prettier for code linting and formatting. Make sure to run ESLint and Prettier before making a pull request to ensure your code meets the project's standards.
npm run lint npm run format
Thank you for your contributions!