Skip to content

Instantly share code, notes, and snippets.

View jjconti's full-sized avatar
💭
I may be slow to respond.

Juan José Conti jjconti

💭
I may be slow to respond.
View GitHub Profile
@jjconti
jjconti / snake.py
Created October 4, 2019 20:29 — forked from sanchitgangwar/snake.py
Snakes Game using Python
# SNAKES GAME
# Use ARROW KEYS to play, SPACE BAR for pausing/resuming and Esc Key for exiting
import curses
from curses import KEY_RIGHT, KEY_LEFT, KEY_UP, KEY_DOWN
from random import randint
curses.initscr()
win = curses.newwin(20, 60, 0, 0)