Giter Club home page Giter Club logo

js13kgame's Introduction

js13kgame

Glitch or die trying

A simple game where you play a square trying to find its way out different levels. The problem is, it's almost always impossible without glitching (i.e. entering commands in the console).

Dev

npm install

npm run dev

open dist/index.html in browser

open src/unit-tests.html in other tab and check all tests are good before commit

To add a new test, add a new spec file and export it in src/mainSpec.js. F5 in browser must show new tests.

Build // Release // Deploy

Default

Default build uses uglify to minify js files. Html and css files are also minified.

Build
    npm run build
Build using Google closure compiler

To use google closure compiler instead of uglify for javascript minification

    npm run build-google
Release

Release will automatically rebuild the project and create a gzip file: game.gz

    npm run release
Deploy

To deploy a fresh version on team-thirtyfour.github.io/js13kgame.

    npm run deploy

##debug mode To debug minified files, add "-debug" to the earlier build tasks:

    npm run build-debug

js13kgame's People

Contributors

manland avatar adel avatar jeremy-flusin avatar

Watchers

Jean-Marc LAGNIEZ 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.