Skip to main content

PYTRIS - 1.3

Pytris is a Tetris clone, though coded from scratch using Python 2.7 and Pygame (and many other freeware tools). Pytris can ONLY be played using a gamepad - see FAQ for details. The Game should run on every Windows PC and every Apple Mac. Mac Users must have Pygame installed and play the Game from source. The Game features a 1 Player mode as well as a 2 Player VS mode.


Don Polettone
(donpolettone)
Pytris is a Tetris clone, though coded from scratch using Python 2.7 and Pygame (and many other freeware tools). Pytris can ONLY be played using a gamepad - see FAQ for details. The Game should run on every Windows PC and every Apple Mac. Mac Users must have Pygame installed and play the Game from source. The Game features a 1 Player mode as well as a 2 Player VS mode.

Changes

Fancier Sounds, fancier Sprites

Links

Home Page
http://www.youtube.com/user/MrBiuBiuMan
Source
http://www.file-upload.net/download-9287815/Pytris-SOURCE.7z.html
Windows
http://www.file-upload.net/download-9287825/Pytris-WIN-EXE.7z.html

Releases

PYTRIS 1.3 — 28 Jul, 2014

PYTRIS 1.29 — 26 Jul, 2014

Pygame.org account Comments

  • josmiley 2014-07-21 08:34

    SDL_JoystickNumHats value:0:
    Traceback (most recent call last):
    File "pytris.py", line 33, in <module>
    from constants import *
    File "/home/greg/Bureau/Pytris/constants.py", line 52, in <module>
    GAMEPADS = gamepads.get_gamepads()
    File "/home/greg/Bureau/Pytris/core/gamepads.py", line 97, in get_gamepads
    pad = Gamepad(nr)
    File "/home/greg/Bureau/Pytris/core/gamepads.py", line 227, in __init__
    self.init_buttons()
    File "/home/greg/Bureau/Pytris/core/gamepads.py", line 244, in init_buttons
    for button_name, nr in button_mapper[self.typ].iteritems():
    AttributeError: Gamepad instance has no attribute 'typ'

    Don Polettone 2014-07-21 13:32

    I have just implemented that the game prints the controllers name if unknown type - you may download the new version and test again, letting me know what it says, thank you! (Version is still 1.26; uploaded the new File there).

    Cheers, Don Polettone

    josmiley 2014-07-21 22:16

    Gamepad Type unknown: SAITEK P220
    SDL_JoystickNumHats value:0:

    Don Polettone 2014-07-21 22:45

    thanks a lot again for testing josmiley! Actually I did not plan to support a controller like this and it's not so easy to map the buttons if I don't own it myself, but I tried to fix it and it MIGHT work... feel free to download again and give it a try. Please post what IDLE says about it now since I've included some new print statements about the controllers, thank you!

    Don Polettone 2014-07-21 13:15

    Hi josmiley! Thanks a lot for posting that bug. Can you please tell what sort of Gamepad you are trying to use? That might help me fixing this issue... thanks again!

  • Solipsist Physicist 2015-09-05 00:16

    Doesn't work with Xbox 360 for Windows controller.

    Don Polettone 2015-09-17 12:58

    Hey Solipsist Physicist. I am truly sorry you couldn't play the game using an Xbox 360 pad. I will try to get such a controller and make the game work with it, too. Yet I don't know when this is gonna happen though; haven't been programming for some time now... But this is a great comment and very helpful, thank you! I'll be fixing that, promised.