Giter VIP home page Giter VIP logo

phil's Introduction

Phil, a crossword maker

Phil helps you make crosswords, using client-side JavaScript.

  • Import & export .xw (JSON) or .puz files.
  • Use the built-in dictionary, or any text file you want.
  • Print to PDF.
  • Create a New York Times submission in seconds.

New to this fork:

  • Bob Copeland's JS auto filler
  • Custom grid sizes
  • NYT Sunday grid (21×21) PDF submissions
  • Strict matching mode (matches filtered by crossers' constraints)
  • Interactive stats
  • Dark mode
  • Mobile support
  • Rebus
  • Circles and shades
  • Undo/redo
  • Match letter histograms

TODO:

  • copy current word into Onelook/xwordinfo pattern
  • allow circles and shades in same puzzle or even square
  • grid generation CSP: width, height, number of words, mean word length, block %, open %, sym, at least n words of length m
  • larger wordlist, grid bank
  • Scored word list
  • Show word scores in matches list, sort alphabetically or by score
  • Character classes in squares, with vowel and consonant shorthands
  • Option move/delete
  • Add to and remove from wordlist
  • Save edited wordlist
  • Autofill region, ui integration, scored word lists, choose among fills
  • Better responsive layout

Acknowledgements

Phil uses Font Awesome and fonticon for icons, jsPDF and jsPDF-AutoTable for generating PDFs, Chart.js with the datalabels plugin for charts, and HyperList for virtual scrolling of wordlist matches. Thanks to those who documented the .puz file format here. The default wordlist is Peter Broda's wordlist.

Getting started

To use this fork:

  1. Go to https://jmviz.github.io/Phil/.

To run this fork locally:

  1. Clone this repository.

  2. Enter the Phil directory.

  3. Run a local webserver. For example, with Python 3:

    python -m http.server 8000
    
  4. Point your browser to localhost:8000.

Crossword resources

License

Licensed under the Apache License, v2.0 (the 'License').

Unless required by law or agreed in writing, software distributed under the License is distributed on an 'as is' basis, without warranties or conditions, express or implied. See the License for the specific language governing permissions and limitations.

Original Phil Copyright © 2017 Keiran King.

phil's People

Contributors

keiranking avatar jmviz avatar raphlinus avatar bcopeland 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.