GithubHelp home page GithubHelp logo

johnsmith-lt / js-xwords Goto Github PK

View Code? Open in Web Editor NEW

This project forked from richardrulach/js-xwords

0.0 2.0 0.0 356 KB

Client side crossword generator

License: Other

CSS 1.63% HTML 19.10% JavaScript 79.27%

js-xwords's Introduction

js-xwords

Client side crossword generator

Requirements - version 1.0.1:

  1. The application should produce a printable question grid (with little numbers like in the newspaper) and also the answers. Also, it needs to print the clues with the question grid.

  2. It should run completely on the client side so that the miminum possible load is placed on the server.

  3. The display and computational elements should be separated so that the computational part could be added in to an existing or a new design with minimal effort (ideally none!).

  4. The interface should have some mechanism for making the crossword easier - for example randomly adding letters within the question grid - this would make the crossword easier for weaker students/groups.

  5. It must be quick and easy to use - with the absolute minimum of clicking and typing.

Live Online

http://demos.waystoskinacat.com/xWords/

Overview of the code

The bulk of the code is separated into two files. The display code is in xWordsDisplay.js and the crossword generation part which is in xWords.js

The functions in xWordsDisplay are called from the interface in the HTML file (index.htm) and xWordsDisplay calls xWords using the create function which returns the crossword question and answer grids.

xWords.js can be reused elsewhere independent of the rest of the code on the site for crossword puzzle generation.

Known issues

Chrome Print Bug

js-xwords's People

Contributors

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