Crossword
Make crossword puzzles in multiple languages and scripts.
Burmese/Myanmar Version supporting Unicode and Zawgyi fonts.
Also in Nepali and Tamil
Nepali Version including Preeti font
Usage
Client-side javascript
var game = HTML5canvas columns rows;game; var clue = 'What does a duck say?';var answer = 'quack'; game; // advanced language optionsgame;
Node module
Using the crossword module requires node-canvas.
Installation pre-requisites:
npm install canvas crossword --save
var Canvas = ;var Crossword = ; var width = 20;var height = 15;var canv = 40 * width 40 * height; var game = canv width height;game; game; // right-to-left scripts (Arabic, Hebrew, Divehi)// in these cases down = top->down, across = right->leftgame;
Command Line
Make crosswords from a word list using command line.
Prerequisites: NodeJS and fonts which support your language (preferably Noto Sans Myanmar, Noto Sans Devanagari, and Noto Sans Tamil, included in the styles directory of this project)
npm install crossword -gcrosswordjs wordlist.txt output.png # command-line setup # 20 columns wide, 15 rows high # Myanmar numerals (other numerals supported: ne Nepali / Devanagari, ta Tamil, ar Arabic (also changes direction)) xwordjs wordlist.txt output.png -w 20 -h 15 -l my
Built with open source software
- Rabbit-Node Unicode-Zawgyi converter
- Myanmar Numbers
- Preeti for Nepali typing
- jQuery
License
Open source, MIT license