A study of an educational game for learning programming