Skip to content

Python based Tetris emulator with SRS and various modern systems

Notifications You must be signed in to change notification settings

JackTriton0901/PyTetris

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JackT's PyTetris

Python based Tetris emulator Title

Requirement

tkinter, pygame

Open Pytetris.py with IDLE and run it to play the game.

Config

[COLOR]

0 = T Mino

1 = J Mino

2 = I Mino

3 = O Mino

4 = L Mino

5 = Z Mino

6 = S Mino

...

30 = Grid

40 = Frame

50 = Display

background = Background

font = Font color

Color names are documented on the link under this line.

Python Tkinter Colors list - Plus2net: https://www.plus2net.com/python/tkinter-colors.php

[KEY]

m_right = Go Right

m_left = Go Left

sdrop = Soft drop

hdrop = Hard drop

t_right = Turn right

t_left = Turn left

reset = Reset

pause = Pause

Key names are documented on the link under this line.

54.5. Key names: https://anzeljg.github.io/rin2/book2/2405/docs/tkinter/key-names.html

[GLOBAL]

show_high = Show high score(true/false)

show_next = Show next tetromino(true/false)

harddrop = Enable hard drop(harddrop/harddrop old/sonicdrop/false)

slevel = Starting level

rotation = Rotating system(srs/pentomino/arika srs/tbrs/trrs/arika tbrs/dtet/ars/sega/left nrs/right nrs/original)

doublet = Allow double turning(true/false)

scoremode = Scoring mode(modern/bps/sega/nes)

gamemode = Game mode(original/orlv15/normal/level15/limless/lesslv15/limor/lolv15)

leveling = Leveling system(normal/world)

hold = Enable hold(true/false)

font = Font name

About

Python based Tetris emulator with SRS and various modern systems

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages