Giter Club home page Giter Club logo

snakeapp's Introduction

SnakeApp

SnakeApp is an inline-documented Speakap application, to play Snake in Speakap! It's basically a wrapper around the game JavaScript Snake By Patrick Gillespie (http://patorjk.com/games/snake).

SnakeApp is meant to be a very fast way to get started with the Speakap JavaScript proxy. It performs validation on the signed request, but no server-server interactions (yet).

An explanation of the files:

All remaining files are part of the Snake game and are not required for communication with Speakap.

More documentation can be found at: http://developer.speakap.io/

Installation

Prerequisite

  • It's an app written in PHP, so you'll need that. Version PHP 5.4.10 or greater
  • A webserver. We recommend Nginx, but others will do fine.

Installation steps

  1. Obtain Composer, a great package manager for PHP libraries
  2. Run composer and install the SnakeApp dependencies

Obtain Composer

Visit: https://getcomposer.org/download/ and follow the instructions. If you don't want to install it globally. You can also download the composer.phar and execute it like so: php composer.phar

Run Composer

If you installed composer (globally), do the following:

composer install --no-dev

If you only downloaded the composer.phar, do the following:

php composer.phar install --no-dev

If you want to unit-tests and if you want to tinker with the code, you might want the development libraries, in that case simply ommit the "--no-dev" flag.

If you didn't get any errors, installation is successful and you have all the code required to run the app.

snakeapp's People

Contributors

dynom avatar denniscdejong avatar

Watchers

James Cloos 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.