X-Git-Url: https://jasonwoof.com/gitweb/?p=hexbog.git;a=blobdiff_plain;f=main.coffee;fp=main.coffee;h=be83ff239aa0dd00c88f276a2eedfeec3ed1ace8;hp=c0524a09f97fb031dc4bf726b99e2271e316eeb2;hb=fcffbb0075df91b4b460e184a6324a26b367762b;hpb=ce432c1db2457df41346e82eba9838ab3708449e diff --git a/main.coffee b/main.coffee index c0524a0..be83ff2 100644 --- a/main.coffee +++ b/main.coffee @@ -599,10 +599,12 @@ score_for = (word) -> Math.round(Math.pow(1.7, word.length)) activate_selection = -> word = selected_word() if word.length < 3 + # should only happen when trying to blip a word with the keyboard # FIXME make this a hint log "Too short: \"#{word}\"" return unless is_word word + # should only happen when trying to blip a word with the keyboard # FIXME make this automatically part of the selection display log "Not on word list: \"#{word}\"" return