The game is written as an entry to Þú átt orðið, a contest in creating solutions exploiting the Icelandic declension dictionary (BÍN). As such it is icelandic-centric but can with minimal effort be made to work with other languages.
The game must be run from a web server to work as it fetches levels via an Ajax request. The game logic is comprised of 3 parts:
vinda.js- The main game logic.
vinta.sounds.js- Sound extension for the game.
The levels have been cut down to a single demonstration level. You will need to build a level collection using the tools provided.
Why are the levels not included?
The current license for BÍN does not allow redistribution or relicensing of the data under an open license. This may change in the future, in which case the levels will be bundled with source.
You currently need to opt-in to the BÍN license, download it for yourself, and then build the levels with the tools provided. Users are urged to adapt the game for more languages buy building levels for other dictionaries.
How to build the levels:
Download and unzip the BÍN data. Specifically:
SHsnid.csvto produce a manageable filtered subset of the dictionary:
$ python filter_bin.py SHsnid.csv > dictionary.txt
build_levels.pyon the output to produce the levels.
$ python build_levels.py dictionary.txta The output will be a large collection of JSON files, each one representing a single level, written to the
Open the game in your browser.
The game and all it's parts not specifically marked as such are licensed with the GPL free software licence.