Giter Club home page Giter Club logo

knights-tour's People

Contributors

terentz avatar

Stargazers

 avatar

Watchers

 avatar

knights-tour's Issues

Make game UI responsive & fix layout

  • Wrap sub-containers with background.
  • Background-color: charcoal
  • Landscape: holy grail standard layout with board in centre.
  • Portrait: stack sub-containers vertically.
  • Make responsive between the two above.
  • SVG: re-implementation of board.
  • Remove those damn breaks!!

Solution!

Implement solution code for exasperated users...

Refactor

  • Create 'globals' singleton object.

scrollOverlap is not defined

variable 'scrollOverlap' is not defined - setup.js:170
Error to be cleaned up with board structure redefinition.

'Clear board' and 'Reconfigure' not working...

  • In Chrome:Console...
Uncaught TypeError: Failed to execute 'removeChild' on 'Node': parameter 1 is not of type 'Node'. - game.js:192
    addToLog @ game.js:192
    move @ game.js:32
    jQuery.event.dispatch @ jquery-2.2.2.js:4737
    elemData.handle @ jquery-2.2.2.js:4549
  • Cloned knights
  • moveLog not populating with moves after reset

Make heading sexy

Make heading responsive, ie normal display at top of UI when portrait, then bottom-to-top in vertical strip on LHS of UI when horizontal.

Board SVG

Re-implement the board using SVG.

Add Tooltips

Some appropriate tooltips:

  • IMG_knight:hover - 'click me to go back'

Add 'Move back allowed?'

Add the means for user to disallow take-backs, or even to define the number of take-backs allowed.

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.