Giter Club home page Giter Club logo

python-interactive-crossword's Introduction

Python-Interactive-Crossword

A one-off snippet that lets you solve crossword puzzles from a Python console

What is this?

This is a way to solve crosswords in Python. By you, the old-fashioned way, using the console. It's intended for killing time in boring situations, primarily. Channel your inner Stanley from The Office. (That's why I made it, I had an hour to kill and no access to my normal projects.)

How do I use it?

If you run it, you'll immediately get the chance to solve a "crossword"- it's really more of a test. This is what you'll see:

    From top to bottom and left to right
    1 over: wet
    1 down: transportation
    2 over: piracy's end
    2 down: seek a cure
    3 over: cheaper business
    3 down: faster than light
    4 down: protection, but long


        1  2  3  4  5  6  7  8  9  10  11 
     A  +  +  +  –  –     +  –  –  –  – 
     B  |  |  |           |             
     C  +  +  +           |             
     D  |     |           |             
     E  |     |           |             
     F  |     |           |             
     G  |     |                         
     H                                  
     I                                  
     J                                  
     K                                  
    Choose a square or type $CLUES for clues: 

To make your own crossword, you can edit the "cw_file.json", or remove that as a parameter from the Crossword definition and use a different file. I really didn't put enough effort into this to warrant any kind of documentation, you'll figure it out.

python-interactive-crossword's People

Contributors

josephclaytonhansen avatar

Watchers

 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.