Code Monkey home page Code Monkey logo

Comments (2)

JaredReisinger avatar JaredReisinger commented on May 22, 2024 1

The standard convention for crosswords (in the US, at least, which this was designed for) is that starting cells only ever have one number, and are disambiguated as "across" and "down". In your example, GITHUB would be "2-across", and GOOGLE would be "2-down". Note that this means that the list of across clues (and of down clues) will skip some numbers (i.e., there may be no "3-across" or "7-down", say). https://en.wikipedia.org/wiki/Crossword#Notation provides a lackluster explanation, but the crucial detail is:

the standard became that in which only the start squares of each word were numbered, from left to right and top to bottom

So every start square, regardless of direction, gets a single number, and they increase as you scan the cells left-to-right and then top-to-bottom. The video https://www.youtube.com/watch?v=tG-s9FC7Z0E&ab_channel=ExpertVillageLeafGroup also shows this.

from react-crossword.

rapidsandeepkulkarni avatar rapidsandeepkulkarni commented on May 22, 2024

Agreed @JaredReisinger, In India we have a convention of showing two no.s separated by a comma. Luckily I could make that change in my use-case by editing the Cell.ts. And everything is working fine now!
Thanks for developing this excellent module.

from react-crossword.

Related Issues (20)

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.