Thank you for your interest in contributing to the JavaScript Games for Beginners project! 🎮
This repository is a part of Hacktoberfest 2025, and we welcome contributions from everyone — whether you’re a beginner or an experienced developer.
Please take a moment to read these guidelines to make the contribution process smooth and effective. 💪
You can contribute to this project in several ways:
- 🕹️ Add a new game built using JavaScript, HTML, and CSS
- 🐞 Fix bugs in existing games
- 🎨 Improve the UI/UX or add animations
- 📘 Update documentation, comments, or project structure
- 💡 Suggest new features or enhancements via issues
This project is beginner-friendly — feel free to explore, experiment, and learn!
- Fork this repository by clicking the Fork button on the top right of the GitHub page.
- Clone your forked copy:
git clone https://github.com/<your-username>/javascript-games.git
- Navigate to the project directory:
cd javascript-games - Create a new branch for your feature or fix:
git checkout -b feature-new-game
- Make your changes, test your game, and ensure there are no errors in the browser console.
✅ Follow these simple rules before creating a Pull Request (PR):
- Create one PR per feature or fix.
- Use clear and descriptive commit messages.
Example:git commit -m "Add new game: Memory Match with timer" - Ensure your code is well-formatted and easy to read.
- Include a brief description of what your PR does.
Tip: Small, well-documented changes are easier to review and get merged faster!
If you’re adding a new game, follow this structure:
javascript-games/
┣ 📂 content/
┃ ┗ 📂 contribution/
┃ ┗ 📂 your-name-games/
┃ ┣ 📜 index.html
┃ ┣ 📜 style.css
┃ ┗ 📜 script.js
Each game folder should contain at least:
index.html— main game structurestyle.css— styling and visualsscript.js— game logic
Also, include a short description of your game in the main README.md table under Example Games.
- Stage and commit your changes:
git add . git commit -m "Add new game: Flappy Bird Clone"
- Push your branch to your forked repository:
git push origin feature-new-game
- Go to your GitHub repo → Click Compare & Pull Request.
- Fill out the PR template and submit your pull request.
- Wait for review and feedback.
If your PR is valid and helpful, it will be merged and labeled
hacktoberfest-accepted🎉
| Label | Description |
|---|---|
hacktoberfest-accepted |
PR approved and counts toward Hacktoberfest |
good first issue |
Great starting point for beginners |
help wanted |
Maintainer needs community support |
enhancement |
Suggestion for a new feature or improvement |
bug |
Reports or fixes for broken code |
- Don’t submit spammy PRs (e.g., random text or empty files).
- Avoid renaming or deleting other contributors’ files.
- Don’t copy other projects or duplicate existing games.
- Avoid unnecessary large image or media files.
PRs that are spam or irrelevant will be marked as invalid and won’t count for Hacktoberfest.
If you get stuck or need clarification:
- Open an Issue with your question.
- Join discussions under existing PRs.
- Or mention the maintainer in a comment for guidance.
We’re happy to help! 💬
Thank you for contributing to JavaScript Games for Beginners!
Your effort helps create a better space for learning, creativity, and collaboration.
“Play. Code. Learn. Contribute.” — Hacktoberfest 2025 💻🎮