Python and Pygame Tutorial – Build Tetris! Full GameDev Course

///Python and Pygame Tutorial – Build Tetris! Full GameDev Course

Python and Pygame Tutorial – Build Tetris! Full GameDev Course

FavoriteLoadingAdd to favorites

Learn how to code Tetris in Python with Pygame in this full tutorial. This Python Pygame tutorial is meant for intermediate programmers with some experience, but everyone is welcome to follow along.

🎥 How to Install Pygame:
💻 Starter File:
💻 Full Code:

If you have trouble downloading the code from the links, make sure you click on DOWNLOAD RAW and then copy the code from there.

Tutorial from Tech With Tim.
Check out Tim’s channel:

Learn to code for free and get a developer job:

Read hundreds of articles on programming:

And subscribe for new videos on technology every day:

source

By |2019-04-30T18:39:41+00:00April 30th, 2019|Python Video Tutorials|27 Comments

27 Comments

  1. Vivek Raj April 30, 2019 at 6:39 pm - Reply

    Error: Display Surface Quits. Plz Explain

  2. TheakingPlayz April 30, 2019 at 6:39 pm - Reply

    Everytime i run the module it says "unexpected character after line contunuation character" and i cant figure out how to fix it i am new to python so i am still trying to figure everything out. pls help if you can 😉

  3. Aghamyr April 30, 2019 at 6:39 pm - Reply

    Hi, thanks for this tutorial it was a great help.

    I think i found a bug that I can't quite figure how to fix :

    If you fill 2 lines but there is one that is not complete in between those two, then the grid doesn't go down correctly, do you have any idea how to fix this ?

  4. # Proud April 30, 2019 at 6:39 pm - Reply

    At 20:3024:00 you type pygame.QUIT, pygame.K_RIGHT, pygame.K_LEFT, pygame.KEYDOWN, pygame.K_DOWN, and pygame.K_UP. But on my PyCharm it says that these are unresolved reference, what do I do?

  5. Khaled Sharara April 30, 2019 at 6:39 pm - Reply

    for anyone who has many errors on for the code from pastebin, when you open the pastebin link, click on DOWNLOAD RAW then copy and paste it, if you copy and paste it just directly from the side, it doesn't copy the indentations.

  6. gpr90662b April 30, 2019 at 6:39 pm - Reply

    Choice of text and background color is not helpful for the demo, colored/grey/black text on white or light background would make the code more visible. I would have watched this video in entirety expecting to learn something, but this color combo is too strenuous to my eyes.

  7. Hazard 202 April 30, 2019 at 6:39 pm - Reply

    wh do I get a long string of errors?

  8. Myles Gmail April 30, 2019 at 6:39 pm - Reply

    TY, I tweeted this

  9. Adrian Garcia April 30, 2019 at 6:39 pm - Reply

    wow, thanks for this

  10. حلا العمر April 30, 2019 at 6:39 pm - Reply

    Where pictures that you use in this game?

  11. Javier Acevedo Acevedo (student) April 30, 2019 at 6:39 pm - Reply

    who else here from STEM ?

  12. MseeF April 30, 2019 at 6:39 pm - Reply

    Where else can I download this video other than YouTube as I'm on limited internet?

  13. Abbishek Rajh April 30, 2019 at 6:39 pm - Reply

    whats the format for shapes in visual studio code… I'm getting many errors for this format

  14. Praveen Kumar April 30, 2019 at 6:39 pm - Reply

    Thank you so much 👌👌👌👌😀😀

  15. Klannahar April 30, 2019 at 6:39 pm - Reply

    Is not it better just to clear the row and shift down all value in cells above that row, instead of deleting and adding new?
    Probably ur way is faster. Long ago i made a "ravcensburger labyrinth table game" in code, and i used that shifting technique, insted of deleting and adding parts. Dunno which one is more elegant and more efficient.

  16. Jiwon Kim April 30, 2019 at 6:39 pm - Reply

    thank you so much for uploading this. however I do notice that the final code and the tutorial are different. is there any way we can see the final version? (i think the score portion is not included)

  17. Matthieu Cuadrado April 30, 2019 at 6:39 pm - Reply

    Can you port it for mobile easiy or its completly another way to do ? Thanks

  18. Roro Rima April 30, 2019 at 6:39 pm - Reply

    Thanx

  19. Kyle April 30, 2019 at 6:39 pm - Reply

    ACTIVATE WINDOWS

  20. Tech With Tim April 30, 2019 at 6:39 pm - Reply

    If you enjoyed the video and want see more python tutorials like it check out my channel! http://www.youtube.com/techwithtim 🙂
    FULL CODE AVAILABLE HERE: https://techwithtim.net/tutorials/game-development-with-python/tetris-pygame/tutorial-4/

  21. T&NW April 30, 2019 at 6:39 pm - Reply

    keep uploading such videos. they are gold for us.
    we we'll support…

  22. Rohit Tanwer April 30, 2019 at 6:39 pm - Reply

    Looking for it

  23. Rohit Tanwer April 30, 2019 at 6:39 pm - Reply

    Wowoww

  24. البر مجة April 30, 2019 at 6:39 pm - Reply

    3

  25. Deanna Henry April 30, 2019 at 6:39 pm - Reply

    Third

  26. Texture tree April 30, 2019 at 6:39 pm - Reply

    Second 😁

  27. venkatasai samudrala April 30, 2019 at 6:39 pm - Reply

    First

Leave A Comment

*