An open-source rhyming game project designed for new developers and first-time contributors.
Rhymus is an open-source game that will display cards with sentences on them. Each sentence will have one word that doesn't quite make sense but rhymes with a word that does. For example, 'I have a pet fog.' -> Answer: 'Dog'. A timer gives you 30 seconds to complete as many as possible.
This project will go through two phases. The first will be an initial build using a Node back-end and HTML, CSS, and JS front-end. For the first build, there will be no React/Redux implementation.
Once the first build is complete and feature-complete, two new branches will be created in which the project will be refactored using React and Vue.
This project is starting from scratch, so there are ample opportunities to contribute. The quickest way to contribute is to check out the projects tab and see what priorities are there. Otherwise, any of the following is a great way to contribute:
- Editing the README
- Creating new files for the project structure
- Restructuring the project to comply with best practices
- Coding any of the front-end or back-end
- Coding test files
- Offering alternative styling
- Suggesting better practices for GitHub management (including contribution guidelines)
When you contribute, please use the following guidelines:
- Name your branch in a way that reflects what you plan on doing ('implement-card-scrolling')
- Provide detailed information in your pull request regarding what you did and why it is done that way
- In your pull request, reflect on your code and include comments as to whether it may need refactoring or if anything was particularly difficult
- Include tests with your contribution if applicable
This is an open-source project for developers of all experience levels. Please show common courtesy and provide constructive feedback where possible.
If you are entirely new to contributing to open-source projects or using Git, follow this little guide to make your first PR. Keep in mind there are many ways to complete this, but this is designed to be very basic and easy-to-follow. If it's not, please correct it!
- Click Fork in the top right to make a copy of this repository.
- Assuming you have GitBash installed, right-click your documents folder (where you store project folders) and open in GitBash.
- Type in
git clone https://username@github.com/username/rhymus
. - Open this folder in your IDE (such as Visual Studio Code).
- In your terminal (open from the terminal drop-down up top in VS Code), type
git checkout -b add-puzzle
. - On the left, open the src folder then the js folder and open puzzles.js.
- Follow the pattern you see there and create a new rhyming puzzle and save your changes.
- In your terminal, type in
git commit -m "added new puzzle"
. - In your terminal, type in
git remote add origin https://username@github.com/username/rhymus
. - In your terminal, type in
git push origin add-puzzle
. - In GitHub, go to your repository and select the add-puzzle branch.
- Click on the New Pull Request button and fill that out.
Done!
But wait, what just happened?
- Forking created a copy of the repository under your GitHub account. 2 - 3) Using GitBash, you put a copy of that repository onto your local machine where you can open and edit all the files. Cloning just makes an exact copy of the repository the URL points to. 4 - 5) You opened the folder and created a new branch. Checkout moves to a new branch, and the -b means it will create the new branch. 6 - 7) You added a new puzzle following the pattern, hopefully!
- You commited your save! This means you officially saved and got your changes ready to be pushed to your repository officially. The -m signifies a message attached to the commit so that you and others can see what the commit is about.
- You added a remote! This is a place you will push to regularly. You will only add a single remote one time, then you give it a nickname (usually origin) which you can use instead of typing the long URL every time.
- You pushed from your local save to your repository on the add-puzzle branch! Your commit is officially in your online repository! 11 - 12) You made a pull request, which is a request for the original repository (this one) to accept your changes into the base!
Maybe you're thinking, "Wait, what if my code is terrible? Or broken? Or completely wrong?" Doesn't matter! When you make a pull request, your code will be reviewed before being merged into the official repository. If it needs changes, you will receive comments explaining what, how, and why to change! Once you make changes, you can push again and it will automatically update your pull request (so don't close it if it isn't approved right away). Making those mistakes is exactly how you'll learn.
If you're feeling bold, make more changes, commits, pushes, and PR's!