Giter Site home page Giter Site logo

cryptoquip's Introduction

cryptoquip

This repository contains a simple Rust program to help solve the "Cryptoquip" newspaper puzzle. This is syndicated by King Features as Sheffer Crossword with Cryptoquip (a few days worth is available at cecildaily). This is not an automated solver, since that completely eliminates any fun to be had.

The program is non-graphical. The console mode commands are terse -- single letters -- but I found the user-interface to be quite effective. Type in ? to get a list of commands. The only painful part of using it is that one has to actually type in the cryptogram -- using a camera to take an image and then performing optical character recognition might be reasonable, but probably not worth the effort.

How To Build

$ git clone [email protected]:bennetyee/cryptoquip.git
$ cd cryptquip
$ cargo build

How To Run

The interface is very primitive:

$ target/debug/cryptoquip
jwblqr bx snbswn utb otgrh aynqhxqjo inynqw aygrlj tqssgrnjj: "wgxn gj q abuw bx itnnygbj."
cq: r ba
..a... a. ..a... ..a ..... ......... ...... ...... .........: ".... .. . .a.. a. ......a.."
cq: r xt   
..a... at ..a... ..a ..... .....t... ...... ...... .........: "..t. .. . .a.. at ......a.."
cq: p
jwblqr bx snbswn utb otgrh aynqhxqjo inynqw aygrlj tqssgrnjj: "wgxn gj q abuw bx itnnygbj."
..a... at ..a... ..a ..... .....t... ...... ...... .........: "..t. .. . .a.. at ......a.."
cq: ?
?            - this help
p            - print ciphertext / decoded text
N ciphertext - new cryptoquip with ciphertext
c            - clear mappings
r abcd...    - replace a with b, c with d, etc
               post-image can be "." to remove
               the current guess for the pre-image
s            - show current mapping
q            - quit
cq:

cryptoquip's People

Contributors

bennetyee avatar

Watchers

 avatar  avatar

cryptoquip's Issues

Can you help how to use?

I try rustc main.rs -- A B C D --
but can't get it to run

error: multiple input filenames provided (first two filenames are main.rs and 'A'

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.