GithubHelp home page GithubHelp logo

catvsmouse's Introduction

//Canvas version

<<<<<<< HEAD xtermination state xlevels state

//Jack recs to fix Main loop smaller

Pseudoclassesical > functional ( Immutable.js lib? )

reduce state representation

separate state and rendering completely

//Issues to fix Refactor code in 'once document is ready' function to not rely on accessing variables global to that function

Refeactor nested setInterval for level and cat speed control

Restart game once eaten

Better n-th child selection method in updateField (nested for loops costly)

Levels constructor vs levels object

Look at functional classes vs psuedoclassical

Cleaner function for handling user input (break out the calling of the move)

//build progression// xbuild map xnxm array xbuild map display fn xplace mouse xadd class towhere the mouse is and css format it xallow mouse to move on key up xbuild cat xmake cat move towards mouse xallow cat to kill the mouse xis cat touching mouse fn xincrease speed of cat over time xhave 'levels' flash once cat reaches a certain speed

//to do xincrease speed xwork around nested loops of rebuilding map xrexamine the whole id/class thing xhave levels stop incrementing once eaten restart game once eaten

catvsmouse's People

Contributors

mdubie avatar

Watchers

 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.