wordel icon indicating copy to clipboard operation
wordel copied to clipboard

Wordle in Emacs

#+title: Wordel: [[https://www.powerlanguage.co.uk/wordle/][Wordle]] (aka Lingo) in Emacs [[https://melpa.org/#/wordel][file:https://melpa.org/packages/wordel-badge.svg]]

[[./demo.gif]]

For the uninitiated, this is a process of elimination word game. You guess a word and each letter of your word will be color coded to reveal how it relates to the hidden word.

  • Install

** Use-package declaration

#+begin_src emacs-lisp :lexical t (use-package wordel ;; Via Elpaca: :elpaca (wordel :host github :repo "progfolio/wordel" :files (:defaults "words")) ;; Via straight.el: :straight (wordel :host github :repo "progfolio/wordel" :files (:defaults "words")) ;; Via package.el :ensure t) #+end_src

** Manually

  • Clone this repo into your load-path
  • =(require 'wordel)=
  • =M-x wordel= or =M-x wordel-marathon=
  • Evil users You'll want to be in insert mode for wordel's modes.

#+begin_src emacs-lisp :lexical t (evil-make-intercept-map wordel-mode-map) (evil-make-intercept-map wordel-select-mode-map) (evil-set-initial-state 'wordel-mode 'insert) (evil-set-initial-state 'wordel-select-mode 'insert)) #+end_src

** FAQ *** How do I add more word lists? Word lists are plain text files added under =wordel-words-dir=. There should be only one word per line.