Git Product home page Git Product logo

game-o's Introduction

O!

O! is a minimalistic game and a demo game for Cut.js library. You can play it online or download mobile apps.

Developer

Prerequisites

O! is a JavaScript game so familiarity with JavaScript is required. It is also recommended that you have git and bower installed.

Getting started

Use git or the download button (on the right) to download the game source code. Dependencies are only Cut.js and Extra.js which are included.

Open src/index.html with your browser, the game should start, if not check errors with your browser debugging utility.

Graphics/Textures

The game graphics are packed in media/base.png texture (sprite-sheet) and image cutouts (sprites) are defined in textures.js.

Architecture

The game consists of two main layers: model and view. Model consists of game logics and objects. View consists of Cut.js components which compose and renders graphics. View layer communicate with model by refrenceing it and extending model's uiXXX methods.

Publish

Cut.js apps are compatible with modern browsers, they can also be published for mobile devices using specific loaders, for example there are PhoneGap/Corova loader (for iOS, etc.) and FastCanvas loader for Android.

License

Source codes, expect graphics and images, are available under the MIT license, but please do not use/reuse the game graphics and images. In short you are encouraged to publish/distribute this game with or without modification to source code but with alternative graphics.

game-o's People

Contributors

shakiba avatar

Watchers

 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.