A re-implementation of http://foldr.moe/hello-wordl aiming to support any UTF-8 encodable language
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
jts 5fb4510ebd First-draft Guix packaging 3 months ago
dicts Prepare for packaging and distribution 3 months ago
src First-draft Guix packaging 3 months ago
tests Migrate project to Typed Racket using racket/gui 3 months ago
LICENSE.md Relicense under CNPLv7+ 3 months ago
README.md First-draft Guix packaging 3 months ago
guix.scm First-draft Guix packaging 3 months ago
info.rkt Prepare for packaging and distribution 3 months ago

README.md

motl

This is an implementation of hello wordl aiming to support arbitrary UTF-8 encodable languages. Currently, it supports any character-based language written left-to-right. Other directions should be coming soon.

Overview

The rules of motl are simple: type words until you guess the right one. After entering each word, the letter backgrounds will change to indicate something. Green means that letter is in the right place, yellow means it's in the wrong place but in the word, and red means it's not in the word.

Requirements

All that should be necessary is a full installation of Racket. motl is written in Typed Racket and uses the racket/gui and racket/pict libraries.

Usage

Simply run change do the src directory and run racket -u main.rkt. Alternatively, open main.rkt in DrRacket and run it.

If you want to change the wordlist, the process is straightforward. All motl expects of a wordlist is that each word be on its own line, and every word be all lowercase. It loads from the dict file, so either symlink your wordlist to that file on Mac or Linux (eg ln -s word-list dict), or copy it to dict.

Issues

  • only supports left-to-right languages
  • only tested with Latin characters
  • not very pretty
  • tests have not been rewritten for Typed Racket GUI migration
  • changing dictionaries in the package version requires altering guix.scm and rebuilding

License

This project is licensed under the CNPLv7+, the text of which is in LICENSE.md. You can learn more about the NPL family of licenses at the website.