Code organisation and game play