Skip to content

bubens/Kniffel

Repository files navigation

Kniffel - a browser game

Play Yatzee in your browser. You can find the live version at unpunk.de/kniffel.

1. Download

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

2. Install necessary components

  1. Change to the folder with the files.
  2. To install necessary components to build a Kniffel-Machine, type...
npm install

npm should be installed of course.

3. Configure FTP

  1. You need a running FTP-Server with PHP (>= 5.1) running on it. You figure that out by yourself.
  2. Edit credentials in .ftppass.
  3. Edit the gruntfile according to your ftp-needs. You figure that out by yourself.

4. Configure Database

  1. Do that, configure the database. You can start by editing Kniffel/config/config.php.
  2. 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.

5. Developer-/Test-Version of the Kniffel-Machine

  1. To build a Developer-/Test Version (no js-minification), type...
npm run build-dev

6. Kniffel-Machine

  1. To build a Kniffel-Machine, type...
npm run build

7. Build and deploy/release at once

  1. To deploy at dev version (no minification), type...
npm run test-deploy
  1. To deploy the kniffel machine (incl. minification and stuff), type...
npm run release

8. Run other grunt tasks

In order to run other grunt tasks (see Gruntfile for available tasks) type...

npx grunt [task]

9. Finaly

  1. Have fun!

About

A Kniffel-browser game.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published