Giter Club home page Giter Club logo

kniffel's Introduction

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!

kniffel's People

Contributors

bubens avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.