Coding Crazy Senior Design Project
Welcome to the Game Project! This project is built using Phaser 3.
Follow these steps to set up and run the project locally.
-
git clone https://github.com/aidandoherty01/Coding-Crazy.git -
cd Coding-Crazy/Coding-Crazy -
npm install -
npm run dev
You should see ouput like this:
VITE v4.0.0 ready in 123ms
β Local: http://localhost:5173/
β Network: use --host to exposeI know you guys know how to use GitHub but this is just for consistency and it looks pretty.
-
mainβ The stable, production-ready branch. -
developβ The active development branch where new features are merged before release.
| Prefix | Purpose | Example |
|---|---|---|
feat/ |
New features or major changes | feat/minigame-dodgeball |
fix/ |
Bug fixes in develop or main |
fix/lobby-connection |
hotfix/ |
Urgent fixes directly for main |
hotfix/game-crash |
refactor/ |
Code improvements without changing features | refactor/game-loop |
test/ |
Writing and improving test cases | test/minigame-integration |
release/ |
Preparing a release version | release/v1.0.0 |
docs/ |
Documentation updates | docs/api |
exp/ |
Experimental features or prototypes | exp/texture-exploration |
-
Make sure you are in develop
-
Run
git pullto get the latest changes before creating a branch -
Create a new branch with one of the prefixes above
Example:
git checkout -b feat/adding-sprite-movement -
Add and commit your changes
git add .>git commit -m "my changes" -
Push yo branch & changes
git push origin feat/adding-sprite-movementor if you want to be make multiple pushes you can do
git push origin -u feat/adding-sprite-movement,then after initially pushing the branch you can just do
git push -
Submit a PR in GitHub
-
Go to project repo
-
Click pull requests
-
Select
base: developandcompare: your-branch-name -
Add a comment
-
Fix merge conflicts if any
-
Let another teammate review changes (only if major changes) and they can merge them
-
Boom
-