(score)
| 28 | |
| 29 | # Render Score Label |
| 30 | def score(score): |
| 31 | # Size and font of score label (Top-Left) |
| 32 | score_font = pygame.font.SysFont("arial", 15) |
| 33 | value = score_font.render(" Score: " + str(score), True, white) |
| 34 | display.blit(value, [0, 0]) |
| 35 | |
| 36 | # Render Snake body |
| 37 | def snake(snake_block, snake_list): |