GithubHelp home page GithubHelp logo

gbdb71 / rotogame_js Goto Github PK

View Code? Open in Web Editor NEW

This project forked from feklee/rotogame

0.0 1.0 0.0 20.55 MB

Roto Game is a puzzle game inspired by 70s bathroom tiles.

License: Apache License 2.0

HTML 32.88% JavaScript 54.14% CSS 3.17% PHP 4.35% XSLT 0.35% Python 0.19% ActionScript 0.21% AngelScript 0.03% Shell 0.06% Java 0.76% Batchfile 0.01% PostScript 3.85%

rotogame_js's Introduction

Introduction

Roto Game is a puzzle game inspired by 70s bathroom tiles.

Play at: rotogame.appspot.com (see also related Chrome Experiment)

There is a variant of Roto Game with squared tiles, ROTOGAMEsq. Source code is available on GitHub.

Development

Getting started

  • To enable debug mode, edit /main.py:

    debug = True
    

    Debug mode should be disabled before deploying the application.

  • For initializing the database, browse the following URL path, relative to the root URL of the project. This functionality is only available in debug mode. Beware: This may delete existing data, e.g. entries in the top players lists.

    /admin/update
    

Conventions

  • Coordinates in piece space are measured in piece positions on the board. The left most piece position is 0, the second left mose is 1, etc..

  • Coordinates and dimensions in piece space are usually postfixed by the letter p (upper or lower case).

Deployment

  • Follow the instructions below to create a so called custom Dojo build, located in:

    /javascript/dojotoolkit
    

    One reason for using a custom build is that there is a bug which affects FF3, which Felix experienced in 2009 when connected via T-Mobile Germany UMTS.

    In a nutshell, it seems that Dojo requires to be evaluated before some initialization is finished. For example, Felix saw FF3 requesting the following invalid resource:

    http://rotogame.appspot.com/games/undefined../dojox/gfx.js
    

    How to create the build, which is usually only necessary after an update of Dojo:

    1. Run the following command in the dojo "buildscripts" directory:

      build.bat profile=rotogame action=clean,release optimize=shrinksafe
      

      Location of that directory ($version is the Dojo version number):

      /source/dojo-release-$version-src/util/buildscripts
      

      The resulting build is located in:

      /source/dojo-release-$version-src/release
      
    2. Update the files in, using the newly built versions:

      /javascript/dojotoolkit/dojo
      
  • Tasks recommended before deployment:

    • Validate HTML.

    • Test with popular browsers: Firefox, Chrome, Opera, Safari, IE6, IE7, IE8

    • Test with images turned off in Firefox.

    • Test with JavaScript turned off in Firefox.

    • Test via a mobile connection (with image compression) with IE8 and Firefox.

Images

GIF images exported from XARA should have transparency set. Otherwise, when viewed via a T-Mobile Germany UMTS connection with image compression, some unwanted color may turn transparent (as of June 2009).

License

Copyright 2009โ€“2015 Felix E. Klee

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0.

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

rotogame_js's People

Contributors

feklee 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.