A bit sync'ed game.js
Enums creation function
'kind' is ENUM now, seems working