This game is being created as an educational tool to show the different ways music can be pieced together. It can be played in your web browser here.
Portrait view UI
Landscape view UI
If you wish to make changes to the code, you'll need to have several things first. In particular, you will need npm. I recommend downloading Node.js for it comes prepackaged with it.
I also make use of Gulp for building the program. You will need to install it with npm along with any other dependencies you may be prompted to install.
To build with Gulp, be sure to run 'gulp' on the command line where the 'gulpfile.js' is located. From there, open the index.html file in the dist folder. If you have any questions please be sure to contact me and I'll help the best I can.
I can be reached at [email protected]. Please be sure to reference the game in the title when sending emails.
- Git
- nvm (Node Version Manager)
- Node.js 11 (specific version required)
- npm
- Gulp 3 (or any version below 4)
- Python (for running a local server)
-
Clone the repository:
git clone https://github.com/yourusername/mozartDiceGame.git cd mozartDiceGame
-
Use the correct Node.js version:
nvm install 11 nvm use 11
-
Install Gulp (if not already installed):
npm install --global gulp-cli npm install -g [email protected]
-
Install dependencies:
npm install
-
Ensure you're using Node.js 11:
nvm use 11
-
Create a new branch for your feature:
git checkout -b feature-branch-name
-
Make your changes in the
app
directory. -
To build the project:
gulp
-
To preview the website, start a local server:
cd dist python -m http.server
Then open a browser and go to
http://localhost:8000
-
Commit your changes:
git add . git commit -m "Your commit message"
-
Push your changes to GitHub:
git push origin feature-branch-name
Thank you and I hope you enjoy!