4 directional tetris
Base Code from Al Sweigart's Tetromino https://inventwithpython.com/pygame/chapter7.html
https://www.dropbox.com/s/1fyqpfa5u058kn2/QUATRIS.zip?dl=0
You can use both keyboard and console. The program will automatically set your controls according to your initial input.
- KEYBOARD
ARROW KEYS to move the blocks
R to rotate the blocks
SPACE to drop the blocks
P to pause the game
ESC to end the game
- CONSOLE (FAMICOM)
AXIS to move the blocks
B to rotate the blocks
A to drop the blocks
START to pause the game
SELECT to continue the game
X to end the game
The resources are mostly from YouTube.
Sound FX
http://themushroomkingdom.net/media/smb/wav
Angry Birds 8 bit
https://youtu.be/CYc01JrGb1E
Chrono Trigger Main Theme
https://youtu.be/g-s-VQBoUdc
Fallout 3 8 bit
https://youtu.be/DXcineEWmHA
Final Fantasy Main Theme
https://youtu.be/0GexOi5179o
GTA 4 Soviet Connection 8 bit
https://youtu.be/z5o8T6v_P_s
Halo One Final Effort 8 bit
https://youtu.be/ea-XjlC6YKA
Halo 3 Never Forget 8 bit
https://youtu.be/X3b3cII53wI
Minecraft Sweden 8 bit
https://youtu.be/b4R6lHvcw68
Portal Still Alive 8 bit
https://youtu.be/fMJTinMvB24
Portal 2 Cara Mia Addio 8 bit
https://youtu.be/EuAN7KBcjcQ
The Elder Scrolls IV Oblivion 8 bit
https://youtu.be/0ety8MzJiPM
The Elder Scrolls V Skyrim Dragonborn 8 bit
https://youtu.be/fcFl6BgK_vw
The Elder Scrolls V Far Horizons 8 bit
https://youtu.be/L5H2zxZ6WJA
Tetris Main Theme
https://youtu.be/NmCCQxVBfyM
The Legend of Zelda Intro Theme
https://youtu.be/uyMKWJ5e1kg
The Witcher 3 Wild Hunt Main Theme
https://youtu.be/LXDZxvLf0Ds
PYGAME https://www.pygame.org/
CX_FREEZE https://github.com/anthony-tuininga/cx_Freeze
Using Pygame was a bit OKAY for me. I have used other GUI modules such as tkinter
or cocos2d
. Words of advice, use Pygame for god's sake.
The number of lines in the original Tetromino file is 506. QUATRIS' number of lines is 1062. 1043 from quatris.py, 19 from setup.py