Play Yatzee in your browser. You can find the live version at unpunk.de/kniffel.
To download the complete code, type...
git clone https://github.com/bubens/Kniffel.git
If nothing else is provided, the files will be downloaded to ./Kniffel
- Change to the folder with the files.
- To install necessary components to build a Kniffel-Machine, type...
npm install
npm should be installed of course.
- You need a running FTP-Server with PHP (>= 5.1) running on it. You figure that out by yourself.
- Edit credentials in .ftppass.
- Edit the gruntfile according to your ftp-needs. You figure that out by yourself.
- Do that, configure the database. You can start by editing
Kniffel/config/config.php
. - Prepare a database with all the necessary tables and rows and stuff. Since I highly doubt that anyone would really want to install this thing anywhere, I won't go into detail on that here. But in the highly unlikely case that there is need for that, 'hit me up' as they say. Maybe I can be of help.
- To build a Developer-/Test Version (no js-minification), type...
npm run build-dev
- To build a Kniffel-Machine, type...
npm run build
- To deploy at dev version (no minification), type...
npm run test-deploy
- To deploy the kniffel machine (incl. minification and stuff), type...
npm run release
In order to run other grunt tasks (see Gruntfile for available tasks) type...
npx grunt [task]
- Have fun!