Skip to content

Instantly share code, notes, and snippets.

import pygame
import random
colors = [
(0, 0, 0),
(120, 37, 179),
(100, 179, 179),
(80, 34, 22),
(80, 134, 22),
(180, 34, 22),
# Simple Snake Game in Python 3 for Beginners
# By Preston Arnold
import turtle
import time
import random
delay = 0.1
# Score