GithubHelp home page GithubHelp logo

diamond's Introduction

Diamond Drop In Javascript

This is a game engine for dropping diamond games implemented in Javascript.

Introduction

A sample game in the app directory looks like this:

Sample Diamond Game

You can try out the game: http://jackherrington.com/diamond/#/

The important directories are:

/app - This has a sample application that you can run with 'grunt serve'.

/src - The diamond engine file.

Using This Library

You should be able to:

bower install diamond

And then you can follow the patterns show in the app folder in main.js for an example of how to use the diamon library.

Good luck!

History

I noticed on the BART a ridiculous number of people playing basically the same match three dropping game. And I said to myself; "I could write that." So I wrote it the first time really fast to make sure I could write it. And then I reimplemented it with unit tests and in an OO way, so that it can be reused.

The reason I put this much effort into the thing is that everytime I talk in front of a school about software engineering someone asks how to make games. And since I don't make games that's a tough question to answer. So, here is a game engine, change the colors and icons, add some levels logic, maybe add some new types of blocks, and have at it!

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.