Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

A simple word game. Find as many words as possible from a given set before time runs out.

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 game
Octocat-spinner-32 .gitignore
Octocat-spinner-32 LICENSE.txt
Octocat-spinner-32 README.md
Octocat-spinner-32 build_levels.py
Octocat-spinner-32 filter_bin.py
README.md

Orðavinda

Orðavinda is a simple JavaScript word game. Given a set of 6 letters, the player must use them to find as many valid words as possible before time runs out. In order to qualify to play the next round, the player must guess at least one of the 6 letter word combinations.

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

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.
  • utils.js - JavaScript utility functions.
  • vinta.sounds.js - Sound extension for the game.

The game requires jQuery JavaScript library to run. Additionally the Soundmanager2 library is needed to enable sound support.

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:

  1. Download and unzip the BÍN data. Specifically: SHsnid.csv.zip

  2. Run filter_bin.py on SHsnid.csv to produce a manageable filtered subset of the dictionary:

    $ python filter_bin.py SHsnid.csv > dictionary.txt

  3. Run build_levels.py on the output to produce the levels.

    $ python build_levels.py dictionary.txt a The output will be a large collection of JSON files, each one representing a single level, written to the game/level directory.

  4. Open the game in your browser.

Licence

The game and all it's parts not specifically marked as such are licensed with the GPL free software licence.

Something went wrong with that request. Please try again.