Skip to content

Instantly share code, notes, and snippets.

@NoIdk152
NoIdk152 / snake_game.py
Created January 28, 2024 03:02 — forked from wynand1004/snake_game.py
A Simple Snake Game made in Python 3
# Simple Snake Game in Python 3 for Beginners
# By @TokyoEdTech
import turtle
import time
import random
delay = 0.1
# Score
@NoIdk152
NoIdk152 / snake.py
Created January 22, 2024 05:04 — 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)