Git Product home page Git Product logo

crosswords's People

Contributors

rschroll avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

crosswords's Issues

Make grid zoomable and panable

The grid should be zoomable and panable, like Google Maps. With a mouse, click and drag should pan, while the mouse wheel should zoom. On a touch device, touch and drag should pan, while pinch should zoom. A simple click or touch should still just select a cell.

I'm not sure if the SDK already provides an element for this. If so, it will impact the solution to #1.

accessing own .puz via URL parameter ?

in web version, rather than picking my own .puz file from a menu (Import File)

is it possible, to either invoke a specific puzzle via command line, e.g., ?url=somepath/.puz

or in a stub HTML file with call to a Javascript function and url parameter?

thx
Steve

default file

Not sure if this is the place for this (apologies if not) but as a teacher setting crosswords for revision purposes what would be good would be

  1. a way of setting a default puz file (perhaps stored along with the html file that would be loaded so bypassing the menu screen (the menu could be loaded if the file isn't present), or
  2. an alternative menu page from which different user generated puzzles could be loaded (drag and drop works really well but an option for loading files stored somewhere other than on the local computer would be good)
  3. a way of disabling the memory โ€” this is an issue on shared computers with different users.

Crossword not completing

I have checked a number of times, and every letter square has a letter in it, and I can't find any errors.

Why is it showing as 99% complete and not 100%?

screenshot20160607_073550925
screenshot20160607_073556440

Support circled cells

This shouldn't be hard to do. I just have to figure out how they're represented in the files.

Better zoom effect for grid

Right now, the grid is a table, and zooming is done through the (non-standard) CSS zoom property. This leads to a lot of jumpiness, apparently because the table gets laid out each time the zoom changes, and gets a different width in the process. I don't know why, but there's a few things we might do to correct this.

We could use the CSS transform: scale() property instead. Changing this doesn't seem to trigger new layouts, but it is imperfect - we get white seams at the edge of black blocks. This can be avoided by using a 3d transform, but this leads to blurriness on zooming, since everything's done by the GPU with a bitmap.

We could avoid table layout by making all the elements blocks or inline-blocks. But there's still some jumpiness on zooming, for reasons I don't understand. We also end up with inconsistent line widths in the zoom.

We could do the zoom manually, by explicitly setting the size of the cells and the font inside. It should make each layout nicer, but zooming might not feel so smooth.

We could give up on doing this in HTML and do the layout in SVG instead.

The right choice may depend on #2 as well.

The Week puzzles no longer load

Attempting to load The Week puzzles results in Server status 404 errors.

The latest of these puzzles could be loaded in the past but over time the latest puzzle moved further and further down the list of puzzles until it disappeared at the bottom.

Toolbar icons for Reveal, Check, and Solve

Currently, we're using a check mark for all three. We can keep using that for one of them (probably Check), but we need icons for the other two. I haven't seen any built-in icons that seem appropriate, so we'll need to make our own.

Android ignores second keystroke

When entering a double letter like "EE", the first E will be registered, but the second ignored. Happens across multiple clues (if one ends in "E" and the next one entered starts with "E", the second keystroke will be ignored).

Save puzzles to U1DB

We should save puzzles to U1DB, so you can pick up where you left off on another device. But we can't do this until there's a Javascript binding to U1DB.

Poor mouse interaction with HTML5 launcher on desktop

Several problems with using the HTML5 launcher on the desktop have been reported upstream:
#1293898: The toolbar cannot be hidden or revealed.
#1294981: Mouse wheel events cannot be caught.
#1294985: Drag events cannot be caught.

I doubt that any of these will be fixed in a timely manner, so for now, the crosswords script provides a better environment.

Add some cryptic crossword sources

I'd love it if some cryptic crossword sources were added.

I looked around online, but couldn't find any that published in the .puz format. :( Maybe you'll happen upon some in the course of normal crossword searching.

Thanks for considering it!

Support rebus cells

Rarely, crosswords include cells that are filled in with a symbol, instead of a letter. We should figure out how to support this. Note that realizing this point is part of the puzzle, so we can't give it away by including special instructions.

Incorrect javascript being produced (riot.tag2 is not a function)

When I run 'make tar', unpack the tarball, and go to index.html in Chrome, I get a blank page and in the console, this error:

Uncaught TypeError: riot.tag2 is not a function
at tags.js:6

I noticed that in http://rschroll.github.io/crosswords/www/tags.js, this line is "riot.tag(...)" rather than "riot.tag2(...)". Manually search-and-replacing that in tags.js does get the page to display the menu, but going to a particular crossword does in fact display the first page but many other JS errors ensue. I suspect some kind of issue with a newer riot than was used to make the github one.

Version info:

$ npm -v
3.5.2
$ node -v
v4.2.6
$ riot -v

riot-cli: 3.0.2 - https://github.com/riot/cli
riot-compiler: 3.2.4 - https://github.com/riot/compiler

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.