Mots Fléchés - Crosswords

Welcome to Mots-Flex, a Js tool to create crosswords.

Installation

Windows/Mac

On windows/Mac you will have to install nodejsopen in new window, then download the lastestopen in new window version of Mots-Flex, unzip it and then run this within a terminal:

cd folder/of/mots-flex
node server.js

Linux

On Linux, you can either use the same method as described above, either download the .deb package of the last version and do:

cd Downloads/
sudo dpkg -i mots-flex.deb

Features

Suggestions

  • Simple mode: (flashlight icon). Suggests all the words that fits.
  • Advanced mode: (hammer icon). Suggests only words that will not block you on next step: if there is no word with AA in the dicctionary, it will not wussgest a word which once place creates a sequence with AA.

Définitions

  • Press escape to change a cell into a definition cell.
  • Add an empty line to split a cell
  • Add arrows (right, rightdown, down, downright)

Styles

  • Paper format (A4, A5, or any custom format)
  • Margins
  • Cell size
  • Size/color/fonts...

Export

How to use the editor

Once you have the app running, start by creating a Grid. Click on it to enter the grid editor.

  • Make/Delete a definition cell: press Escape
  • Navigate within the grid: use arrows ↑ ← → ↓ If you are within a definition cell, press Ctrl + Enter to leave it
  • Switch between horizontal and vertial mode: Press the button in the left panel, or press Ctrl + ↓ or Ctrl + →
  • Add/Remove a space between words: press _ or -
  • Split a definition cell: insert two new lines
  • Add/Remove arrows: hover the . buttons in the cell and click on the appropritate button.
  • Change Grid size: click on the ⚙️ icon and use the inputs within the modal. Refresh the page if something goes wrong

How to add custom words

Just go to the Words page and add/delete your own words. You cannot modify the base dictionnary from this page. If you want to delete words from the base dictionnary, you will have to edit the files wihin the dico folder.

How to set annother language for suggestion

By default, we suggest words in french, but as you are reading this section in english, you might want to create grids in annother language. Well it is possible, you just need a dictionnary: a file or a list of files containing all the words posssible in your language(with all their variations: plurial, conjugasions), separated by comma:

A,VERY,LIMITED,DICTIONNARY,LIMIT,DICTIONNARYS

Once you have a dictionnary, just place it within the dico folder as a .txt file. Contact me, I am interrested into adding more dictionnaries, I will add it to the default release and it will be easier for the next users.

Contribute

Clone the repository (or fork it)

git@github.com:Leo-Nicolle/mots-fleches.git

install and run server:

cd mots-fleches/server
npm i
npm run watch

and in annother terminal:

npm run nodemon

install and run client:

cd mots-fleches/client
npm i
npm run dev

Make a PR, I would be happy 😃.