Code Monkey home page Code Monkey logo

duckhunt-js's Introduction

DUCK HUNT JS v2.0 - MIT License
created by Matthew Surabian
http://mattsurabian.com/duckhunt

This is an implementation of DuckHunt in javascript using HTML5 audio.

This project uses the following JS Libraries:
    jquery
        jquery.color
        jquery.spritely
    underscore

All of the game logic is in the duckhunt directory.  This project uses grunt to build two concatenated js files;
one representing all of our game logic the other representing necessary javascript library dependencies.

This refactor of the game relies on custom events to control game flow which has cut down a bit on the "animation callback hell"
faced in version 1.

To work with this project on your own simply clone this git repo into a directory, and run "npm install" inside that
directory.  The package.json file included in this repo helps npm install all the necessary node module dependencies.  Make your edits
to the code and run "grunt".  The default grunt task will lint the javascript, concatenate, and minify it into the build
directory.  To generate an even smaller gzipped build run "grunt compress".

TODO:
Implement new weapons (like a shotgun)
Clean up graphics (some sprites have artifacts)

duckhunt-js's People

Contributors

mattsurabian avatar

Stargazers

 avatar  avatar

Watchers

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