Skip to content

Instantly share code, notes, and snippets.

View GuninOp's full-sized avatar

Gunin Choudhary GuninOp

  • none
  • India
View GitHub Profile
@GuninOp
GuninOp / snake game
Created November 29, 2020 15:32
Snake game with pygame(module in python)
import pygame
import random
pygame.init()
# Definig colours
white = (255,255,255)
red = (255,0,0)
black =(0)
blue = (0,0,255)
dark_blue = (28,32,204)