Thank you for your interest in contributing to our game! We welcome contributions from the community to help make the game even better. Please take a moment to review the guidelines below before getting started.
To contribute to the game, you'll need to have the following installed on your machine:
-
Clone the repository:
git clone https://github.com/geraldohomero/worst-game-ever.git
-
Install the dependencies:
cd worst-game-ever npm install
-
Set up the MySQL database:
- Create a new MySQL database.
- Update the database configuration in
config.js
with your MySQL credentials.
-
Start the development server:
npm run dev
We use the following branching strategy:
main
branch: Represents the latest stable release.develop
branch: Represents the latest development version
Still to be created.
To contribute to the game, follow these steps:
-
Create a new branch from the
develop
branch:git checkout develop git checkout -b feature/your-feature-name
-
Make your changes and commit them:
git add . git commit -m "Add your commit message here"
-
Push your branch to the remote repository:
git push origin feature/your-feature-name
-
Open a pull request on GitHub and provide a detailed description of your changes.
We follow the JavaScript Standard Style for our codebase. Please make sure your code adheres to this style.
We will have a suite of automated tests in place to ensure the stability of the game. Before submitting a pull request, please make sure that your code passes all tests.
By contributing to the game, you agree that your contributions will be licensed under its GPL-3.0 license.
We expect all contributors to abide by our Code of Conduct.
If you have any questions, please open an issue on GitHub and we will get back to you as soon as possible.
- Contributor Covenant for the Code of Conduct
- GitHub for the Open Source Guide
- PurpleBooth for the README template