Skip to content

Instantly share code, notes, and snippets.

View dixitomkar1809's full-sized avatar
😂
Hi !

Omkar Dixit dixitomkar1809

😂
Hi !
View GitHub Profile
@dixitomkar1809
dixitomkar1809 / SnakeGame.py
Created April 15, 2017 12:10
Snake Game Developed Using Python
# Snake Game
import pygame, sys, random, time
# check for errors
check_errors = pygame.init()
if check_errors[1] > 0:
print("(!) Had {0} initializing errors, exiting...".format(check_errors[1]))
sys.exit(-1)
else: