Coder Social home page Coder Social logo

hft-local's Introduction

hft-local

Helps run an HTML based HappyFunTimes game without HappyFunTimes

Why?

HappyFunTimes is a system that supports many players using there smartphones as controllers. It's also a kind of virtual console and provides some common features like launching games, quiting games, and other things. In order to allow HappyFunTimes to update its common features it uses templates that insert the individual games content into an HTML frame at runtime. This has the consequence that you can't run the games outside of HappyFunTimes.

Normally that's fine, most HappyFunTimes games require controllers and are basically not meant to be played outside it's system but once in a while you'd like to be able to point people to a live "demo"

For example

http://greggman.github.io/hft-boomboom/...

How To Use

Install bower then

cd your-hft-project
bower install hft-local

Then copy bower_components/hft-local/local.html to your local folder

cp bower_components/hft-local/local.html .

Now run a local server and go to local.html.

Note: It's up to you to make your game run without networked players. See LocalNetPlayer and/or look at the examples. Most of them use URL query parameters to decide whether to manually spawn local players.

hft-local's People

Contributors

greggman avatar

Stargazers

 avatar Matt Sylvia avatar Chris Charlton avatar

Watchers

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