/hbomb-repl

Repl for keep talking and nobody explodes

Primary LanguageHaskell

A repl for Keep Talking and Nobody Explodes

Input:

Simple Wires

wires r/b/k/w/y

Button

button [abort/a/detonate/d/hold/h] [blue/b/white/w/yellow/y/red/r]

Simon says

hbomb> simon

| R | B | G | Y |

| B | R | Y | G |

hbomb> simon rbg [Blue, Red, Yellow]

Who's on First

wof1 word (or blank)

wof2 word

Memory

mem 1 What is the label?

Morse Code

Wrapped Morse

Letters may wrap around the word.

morse .- .-..

returns [("halls",3.515),("leaks",3.542)]

Ordered Morse

Letters must appear in sequential order in the word and cannot wrap around the ends. For example, entering letters s, t, k:

omorse ... - -.-

returns [("steak", 3.582)]

Complicated Wires

comp [red/r/blue/b/star/s/led/l] [...]

Wire Sequence

seq ra bb kc

Mazes

maze 1123 4466

Passwords

pass hcw _ _ _ edlkjh

Knobs

knobs 101100

Modules:

  • simple wires
  • button
  • [] keypads
  • simon says
  • who's on first
  • memory
  • morse code
  • complicated wires
  • wire sequence
  • mazes
  • passwords?
  • knobs