Add enums into code for the cases of key code, shape types, direction and colour scheme.