cakexensen / thy-dungeonman

A Clojure remake of "Thy Dungeonman", of Homestar Runner fame
Eclipse Public License 1.0
0 stars 0 forks source link

unknown command handler #1

Open cakexensen opened 10 years ago

cakexensen commented 10 years ago

the unknown command matcher does not work sufficiently to match most arbitrarily wrong inputs. :unknown only matches a single unknown input, but it should match any number of inputs. so :unknown -> :unknown :unknown | nil? something like that.

cakexensen commented 10 years ago

half-fixed, if no other command matches, it will now default to the game's unknown handler. still doesn't allow you to match multiple words per :unknown though.

this means that "talk" :unknown won't let you match "talk mr bean" because there are two unknown symbols.