Worithm

Felicia Yii
April 2015

The next word prediction game that is guaranteed to give your mind a break

The Game - Why?

Some call it mindfulness, we call it gamefulness.

Worithm is a game that serves no purpose other than to drive you to distraction.

Can you beat the algorithm? Use your knowledge of the English language to see if you can come out on top of the next word algorithm.

Grab a drink and a snack, sit back and start wording.

How to play the game

The object of the game is to get the algorithm to predict the word that is displayed. Type in a phrase and start the game. The algorithm will display 10 possible next words. By selecting one of the 10 words, the algorithm will predict the subsequent 10 possible words. You win the game if you can get the algorithm to predit the target word before you run out of attempts.

Rules of the game:

  1. You have 10 attempts during a game.
  2. Your start phrase cannot contain the target word.

You can restart the game whenever you like.

How does the algorithm work

The algorithm works off a simple 1 to 4-gram model, trained with a subset of the provided corpus. The data is cleansed, stripped of profanities and tokenised into 1 to 4-grams. Frequencies of each word is calculated in separate columns.

The model is about 21.1Mb and serialized as an R object for faster load by shinyapp. The model is stored as a R data.table and keyed for fast retrieval by the algorithm.

The game uses a simple implementation of the 'Stupid Backoff' strategy by looking for words using the 3-grams, then 2-grams and 1-gram until the final quota of 10 candidate words is filled.

Pitch

This is a great opportunity for investors to be the first to turn this into a fully-fledged game for the mobile market.

The prototype has been built and alpha-tested. User testing confirms the concept is engaging.

Try out the prototype here: Worithm

There is no other game quite like it in the market.

email: worithm@micasa.co.nz