GithubHelp home page GithubHelp logo

bitcababy / phil Goto Github PK

View Code? Open in Web Editor NEW

This project forked from keiranking/phil

0.0 1.0 0.0 1.71 MB

A crossword maker.

Home Page: http://www.keiranking.com/phil

License: Apache License 2.0

HTML 8.32% JavaScript 80.54% CSS 11.14%

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.

Related repositories

Phil uses Font Awesome icons and jsPDF (along with jsPDF-AutoTable) for generating PDFs.

The Phil solving engine (in progress) uses the Glucose 3.0 SAT solver. The sources (with our modifications) are in the third_party directory.

Getting started

To use Phil:

  1. Go to keiranking.com/phil.

To run your own copy of Phil:

  1. Install a working Emscripten environment. On Mac, using homebrew is a good choice.

  2. From the command line, run:

    cd third_party/glucose-3.0/simp
    make xwsolve.js
    

    At this point, xwsolve.js and xwsolve.wasm should be generated.

  3. Go back to the Phil main directory (cd ../../..) and create symbolic links (aliases):

    ln -s third_party/glucose-3.0/simp/xwsolve.* .
    
  4. Run a local webserver. If you have Python 3 installed, then:

    python3 -m http.server 8000
    

    If you have only Python 2 installed, then:

    python -m SimpleHTTPServer 8000
    
  5. 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.

© Keiran King

phil's People

Contributors

keiranking avatar raphlinus avatar

Watchers

James Cloos 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.