> I am not experienced enough to see where I could make improvements.

I've just skimmed through your repo and the first place where I would start 
with the improvements is that [loooooooooooooooooong case 
statement](https://github.com/NIMNIMNIMNIM/NIM16/blob/master/src/engine.nim#L121).

You could start with something like this (didn't test it, I write it directly 
here on the forum):
    
    
    let c = character.toLower()
    case c
    of 'a' .. 'z':
      return c - 'a' + 1
    of '1' .. '9':
      return 26 + c - '0'
    # etc.
    
    
    Run

This keeps your return values as they are, but this could/should be improved 
even more.

Reply via email to