Create a Classic Tetris Game using MIT App Inventor: Step-by-Step Tutorial for Beginners

Поділитися
Вставка
  • Опубліковано 6 лют 2025
  • In this tutorial, we'll guide you through the process of creating a classic game of Tetris using MIT App Inventor. This tutorial is perfect for beginners who are new to programming and want to learn how to build games using a visual programming language. With the help of this tutorial, you'll be able to build a fully functional Tetris game in no time.
    We'll start by setting up an MIT App Inventor account and making sure you have all the necessary components to build the game.
    To keep the player engaged, we'll add a scoring system by creating a label component and updating the score each time a line is cleared. Finally, we'll add a game-over condition to end the game when a block reaches the top of the canvas.
    By the end of this tutorial, you'll have a complete understanding of how to build a Tetris game using MIT App Inventor. Whether you're a beginner or an experienced programmer, this tutorial is a great way to learn how to build games using a visual programming language. So grab your computer or tablet and let's get started!
    Regenerate response
    Join this channel to get access to perks:
    / @thecodingbus
    #MITAppInventor
    #TetrisGameTutorial
    #GameDevelopmentForBeginners
    #VisualProgrammingLanguage
    #ClassicTetrisGame #unitedstates #us

КОМЕНТАРІ •

  • @MarkWilder68
    @MarkWilder68 Рік тому +10

    WTF!!!!!!!!!!! This is still around? I was a BETA tester for this Years ago. I though they closed it down. Incredible! I think I still have an old file folders with some saved blocks in it somewhere on my PC. WOW!!!

  • @Duadoesarts
    @Duadoesarts Рік тому +12

    I did everything and followed step by step but still it gives some kind of runtime error

    • @TheCodingBus
      @TheCodingBus  5 місяців тому

      check this please ua-cam.com/video/-OT2QeBopyk/v-deo.html

  • @muhammadibnurafi5492
    @muhammadibnurafi5492 18 днів тому +1

    You're an Indian, I've followed it step by step but failed, you're an Indian.

    • @TheCodingBus
      @TheCodingBus  2 дні тому

      yes. please test this app with apk file in your phone

  • @txylor__
    @txylor__ Рік тому +1

    I did all of the steps and it says that the render is not initialized

    • @TheCodingBus
      @TheCodingBus  Рік тому

      try the aia file that i have published on app inventor gallery

  • @saudhasan4388
    @saudhasan4388 4 місяці тому

    You are one of the best ytbers i have ever seen!, you reply to every comment

  • @nengobtw
    @nengobtw 9 місяців тому +4

    I can't dowload the tetris blocks it says it does not exist when I go to the google drive

    • @TheCodingBus
      @TheCodingBus  6 місяців тому

      may be they have removed the extension.

    • @WarmCup-ds5nc
      @WarmCup-ds5nc 4 місяці тому +1

      So what we do when we can't download the blocks I'm so sad please

  • @sealKris
    @sealKris Рік тому +2

    Hello, everyone I want to ask. Do you know how can I download the TetrisAssetPack?

    • @Di3d24
      @Di3d24 11 місяців тому

      I don’t know. I’m trying to find out.
      Did you know how to download it?

    • @TheCodingBus
      @TheCodingBus  5 місяців тому

      yes. try this ua-cam.com/video/-OT2QeBopyk/v-deo.htmlsi=2YNfnv12WR-srYI6

  • @JonathanGiovanniSantoso
    @JonathanGiovanniSantoso 10 місяців тому

    When is start playing the game it crashes everytime do you have an explentaion

    • @TheCodingBus
      @TheCodingBus  10 місяців тому

      have to tried it after installing the apk?

  • @md.belalhossain7987
    @md.belalhossain7987 Місяць тому

    I give the Extension | Tetris view . So can I use it.

    • @TheCodingBus
      @TheCodingBus  Місяць тому

      Yes u can use it

    • @TheCodingBus
      @TheCodingBus  Місяць тому

      thecodingbus.info/create-tetris-game-in-mit-app-inventor-2/

  • @lauufox4150
    @lauufox4150 Рік тому +1

    mEEEN YOU ARE AMAZING

  • @kenchris4790
    @kenchris4790 Рік тому +1

    it worked good for me. thanks

  • @Umar-lq3gq
    @Umar-lq3gq 4 місяці тому

    I want to ask, mine is ready but when I click start the game doesn't appear but it exits the application 🙏

    • @TheCodingBus
      @TheCodingBus  4 місяці тому

      okay this because of the android version. build the APK then try. or try with different phone

  • @miftahurrohman0103
    @miftahurrohman0103 10 місяців тому

    where can i download the tetris asset, because no file in link G-drive

    • @TheCodingBus
      @TheCodingBus  10 місяців тому

      don't try this game having some extension issue on this game

  • @kuwakuwi2
    @kuwakuwi2 Рік тому

    I'm sorry sir, but when i try my app on mobile phone, it's say "renderer is not initialized, call create renderer() to fix this issue", can you tell me how to fix it?, i have use " CreateRenderer" block on the program

    • @kuwakuwi2
      @kuwakuwi2 Рік тому

      pls help me

    • @TheCodingBus
      @TheCodingBus  Рік тому

      make sure first call destoryrenderer then call create...

  • @stevencarlsadang9910
    @stevencarlsadang9910 4 місяці тому

    the score is not increasing when I gain score

  • @kavithaaditya158
    @kavithaaditya158 3 місяці тому

    the asset pack is not opening.Can you reply.

  • @meeiikaa
    @meeiikaa Рік тому

    The asset pack doesn’t exist anymore only the extension does

    • @TheCodingBus
      @TheCodingBus  Рік тому

      sorry for that

    • @pedrogomes7364
      @pedrogomes7364 Рік тому

      TheCodinBus, The score at the top is not working, could you create a video with the correction of the problem?

    • @axisinf634
      @axisinf634 9 місяців тому

      @@pedrogomes7364 have you solved the score problem ?

  • @raihan5182
    @raihan5182 11 місяців тому

    can you set how fast the block fall?

  • @anheokinh7366
    @anheokinh7366 Рік тому +11

    sorry but my code said the destroy instance has error like this invoke: unable to invoke method `DestroyInstance` in object of type boolean. Irritants: ()
    Note: You will not see another error reported for 5 seconds.
    can you explain and give me the solution please. Thank you very much!

    • @TheCodingBus
      @TheCodingBus  5 місяців тому

      try this one ua-cam.com/video/-OT2QeBopyk/v-deo.html

  • @Raggy11
    @Raggy11 Рік тому +2

    How do I get the cell images from files?

    • @quacksonja2147
      @quacksonja2147 Рік тому

      Go to paint and make the resolution 71x71 and fill in with colors.

    • @TheCodingBus
      @TheCodingBus  5 місяців тому

      here u go ua-cam.com/video/-OT2QeBopyk/v-deo.html

  • @joshuan.5465
    @joshuan.5465 Рік тому +2

    Hey The Coding Bus...
    I just want to ask, why everytime I use the button bottom and the blocks of the tetris already touched the bottom screen it just instantly crash and close the app inventor and another one is when I make a line to have a score it is do the same. It is just crashed instantly.
    Can you give an explanation for that issue or you guys having the same issue please tell me the answer or the solution of this problem.
    THANKS!

    • @TheCodingBus
      @TheCodingBus  5 місяців тому

      may be have some code issue. could u please check this aia file if it's work fine the please recheck u code. or still having issue then please comment i'll solve ur problem thank you
      ua-cam.com/video/-OT2QeBopyk/v-deo.html

  • @DavidTzoyuhua
    @DavidTzoyuhua Рік тому

    Hello, the tutorial is very good but I had a problem, it does not enable the right button, it leaves it opaque.

    • @TheCodingBus
      @TheCodingBus  5 місяців тому

      thank you
      try this video aia file ua-cam.com/video/-OT2QeBopyk/v-deo.htmlsi=2YNfnv12WR-srYI6

  • @JopingTv
    @JopingTv Рік тому

    why mine is not working. I just follow the all the step but still not working. I hope you'd answer it

    • @TheCodingBus
      @TheCodingBus  5 місяців тому

      try this aia file here ua-cam.com/video/-OT2QeBopyk/v-deo.html

  • @lvr3velyn
    @lvr3velyn 7 місяців тому

    the score doesnt change for me

    • @TheCodingBus
      @TheCodingBus  7 місяців тому

      really please check the blocks again. having some issue with variables or + sign

  • @fedlukalid7749
    @fedlukalid7749 2 роки тому +6

    i didn’t get the same thing

    • @TheCodingBus
      @TheCodingBus  5 місяців тому

      try this ua-cam.com/video/-OT2QeBopyk/v-deo.html

  • @gaspar1443
    @gaspar1443 Рік тому

    Hello, when I play, there is a format that when it is his turn, the game gives an error

    • @TheCodingBus
      @TheCodingBus  5 місяців тому

      try this video please ua-cam.com/video/-OT2QeBopyk/v-deo.htmlsi=2YNfnv12WR-srYI6

  • @kennethasuncion7553
    @kennethasuncion7553 8 місяців тому

    "The companion has disconnected" How to fix this problem?

    • @TheCodingBus
      @TheCodingBus  7 місяців тому

      Restart it. Or delete the cache of app

  • @sitinahbintiyugas6238
    @sitinahbintiyugas6238 6 місяців тому

    Hos to hide the component?😅

    • @TheCodingBus
      @TheCodingBus  6 місяців тому

      make ur component visible false

  • @MrAesthetic24
    @MrAesthetic24 9 місяців тому

    Brother it got struck at when click on tetris extension no option occur after procedure

    • @TheCodingBus
      @TheCodingBus  5 місяців тому

      try this video bro ua-cam.com/video/-OT2QeBopyk/v-deo.htmlsi=2YNfnv12WR-srYI6

    • @TheCodingBus
      @TheCodingBus  5 місяців тому

      try this video please ua-cam.com/video/-OT2QeBopyk/v-deo.htmlsi=2YNfnv12WR-srYI6

  • @viral_agent0
    @viral_agent0 2 роки тому +1

    Make Extension development video on exo player use in rush

  • @ВасилийЗадорин-ц4й
    @ВасилийЗадорин-ц4й Місяць тому

    Where download Tetris textures

    • @TheCodingBus
      @TheCodingBus  Місяць тому

      thecodingbus.info/create-tetris-game-in-mit-app-inventor-2/

  • @cristianlamoliatte7187
    @cristianlamoliatte7187 11 місяців тому

    Brothers, can somebody send the link of your project

    • @TheCodingBus
      @TheCodingBus  11 місяців тому

      Yes. here u go
      www.thecodingbus.info/create-a-classic-tetris-game-using-mit-app-inventor-step-by-step-tutorial-for-beginners

    • @Forger5610Skiptheflip0
      @Forger5610Skiptheflip0 5 місяців тому

      @@TheCodingBus says mo results found

  • @aiahai
    @aiahai 9 місяців тому

    May i have the link for the Tetris Assets Pack please..
    The link from the Recreation of 1980's is error..

  • @tirumalanarayana5443
    @tirumalanarayana5443 2 роки тому +2

    Bro tell us how to create a ludo game in MIT App inventor

    • @TheCodingBus
      @TheCodingBus  2 роки тому +1

      Sure bro

    • @karimarahman5642
      @karimarahman5642 2 роки тому

      @@TheCodingBus Can you please build an ai model that detects mood from what you are writing in a diary app? Please... I'm waiting for this video. Please I really need this.🙏

    • @TheCodingBus
      @TheCodingBus  10 місяців тому +1

      Done Please watch ua-cam.com/video/CFPQcqysb2c/v-deo.html

  • @jaysonzhin6008
    @jaysonzhin6008 Рік тому +5

    Hi, I followed all your steps on the video but when I tried testing it on the phone, it shows an error message box with no text on it and only has exit application button. What should be the problem?

    • @PedroHenrique-xy5ii
      @PedroHenrique-xy5ii Рік тому +2

      Isso acontece porque ele está tentando iniciar a musica e nesse caso não tem o arquivo. Então vá no design, click na extension e disable box music.

    • @TheCodingBus
      @TheCodingBus  5 місяців тому

      try this ua-cam.com/video/-OT2QeBopyk/v-deo.html

  • @dewiameliasari3042
    @dewiameliasari3042 4 місяці тому

    can i get a tetris image/ asset pack

    • @TheCodingBus
      @TheCodingBus  4 місяці тому

      Yes. download it from thecodingbus.info website

  • @aulianursifa790
    @aulianursifa790 Рік тому

    How to copy vertical arrangement 1 if using a hand phone?

    • @TheCodingBus
      @TheCodingBus  5 місяців тому

      click on that and again click on somewhere else u will get a option for paste

  • @s0l4r_woohoo
    @s0l4r_woohoo 10 місяців тому

    the teetris asset pack file didnt exist anymore :(

    • @TheCodingBus
      @TheCodingBus  10 місяців тому

      www.thecodingbus.info/create-a-classic-tetris-game-using-mit-app-inventor-step-by-step-tutorial-for-beginners
      download from here

    • @Forger5610Skiptheflip0
      @Forger5610Skiptheflip0 5 місяців тому

      @@TheCodingBus bro.. its says not found

  • @simba247-n6v
    @simba247-n6v 10 місяців тому

    tetrisAssetPack wher and how to download it

    • @TheCodingBus
      @TheCodingBus  10 місяців тому

      check this please
      www.thecodingbus.info/create-a-classic-tetris-game-using-mit-app-inventor-step-by-step-tutorial-for-beginners

  • @zoechin6352
    @zoechin6352 5 місяців тому

    CAN I HAVE THE TETRISASSETPACK FILE

    • @zoechin6352
      @zoechin6352 5 місяців тому

      THE LINK YOU GIVEN ALSO SHOW THAT PAGE NOT FOUND

    • @TheCodingBus
      @TheCodingBus  5 місяців тому

      aia file community.appinventor.mit.edu/uploads/short-url/hLLOqEkSCtC2wsxOuqAyvd8qJSe.aia

  • @hemalatha.n1933
    @hemalatha.n1933 Рік тому

    The asset pack is not wprking it says its not valid waste of time

    • @TheCodingBus
      @TheCodingBus  5 місяців тому

      try this ua-cam.com/video/-OT2QeBopyk/v-deo.htmlsi=2YNfnv12WR-srYI6

  • @skylordp
    @skylordp 5 місяців тому

    how to copy??

  • @codewithakul
    @codewithakul 2 роки тому +1

    sir i have an app idea for you @The Coding Bus
    ​a doctor prescription app in which we can upload prescription and doctor can comment on it

  • @v1ctoriagloria
    @v1ctoriagloria Рік тому

    Hey, im struggling for my final project, can u give me an idea??

    • @TheCodingBus
      @TheCodingBus  5 місяців тому

      try this ua-cam.com/video/-OT2QeBopyk/v-deo.html

  • @dragonnight_bg4550
    @dragonnight_bg4550 8 місяців тому

    How to copy

    • @TheCodingBus
      @TheCodingBus  8 місяців тому

      what to copy code? just use ctrl+c and ctrl+v

  • @AbiramDepa
    @AbiramDepa 2 місяці тому

    can anyone send tetris game assests

    • @TheCodingBus
      @TheCodingBus  Місяць тому

      thecodingbus.info/create-tetris-game-in-mit-app-inventor-2/

  • @ghvstml
    @ghvstml Рік тому +2

    so when i test the game the game doesnt actually show/work

    • @TheCodingBus
      @TheCodingBus  5 місяців тому

      try this ua-cam.com/video/-OT2QeBopyk/v-deo.html

  • @BalsaBazovic
    @BalsaBazovic 11 місяців тому

    I have a question, sorry... In the demo you showed at the beginning of the video the score is never updated during the actual game. Why doesn't the ScoreChanged event handler update it regularly? Thanks!

    • @TheCodingBus
      @TheCodingBus  5 місяців тому

      that worked, please check after update the score u need to set that updated value to variable also otherwise that will not update
      try this video ua-cam.com/video/-OT2QeBopyk/v-deo.htmlsi=2YNfnv12WR-srYI6

  • @magical-gaming3438
    @magical-gaming3438 Рік тому +1

    Bro i think you are mad i wasted my half hour for this non sens app at the end when I scan the code from my phone it showed app has an error you are making people fool sens less human

    • @skillers762
      @skillers762 Рік тому

      It works normally bro

    • @TheCodingBus
      @TheCodingBus  5 місяців тому

      try this ua-cam.com/video/-OT2QeBopyk/v-deo.html

  • @8amuhammadaudreenurpalaq623
    @8amuhammadaudreenurpalaq623 16 днів тому

    lets go

  • @8k_19_raihanasyakirahnajla7
    @8k_19_raihanasyakirahnajla7 Рік тому +5

    Hello sir i want to ask. How did you got the blocks for the tetris?

    • @Luiz_Med
      @Luiz_Med Рік тому +1

      the extension that he shows in the begging

    • @Luiz_Med
      @Luiz_Med Рік тому +1

      My bad, you can find it in the game assets, they're in the extension site

    • @8k_19_raihanasyakirahnajla7
      @8k_19_raihanasyakirahnajla7 Рік тому +6

      Thank you so much everyone. I was working for my school project. Just so you know, MY GROUP IS THE WINNER!!!

    • @Luiz_Med
      @Luiz_Med Рік тому

      @@8k_19_raihanasyakirahnajla7 Congrats!!!

    • @uploading....6284
      @uploading....6284 Рік тому

      @@Luiz_Med but it doesn't work

  • @Jiwon_-u-
    @Jiwon_-u- Рік тому +3

    Can you post the image in the comments? Pls I can't open that image file

    • @TheCodingBus
      @TheCodingBus  5 місяців тому

      i can't post the image here. here u can check how to find the images ua-cam.com/video/-OT2QeBopyk/v-deo.html

  • @Sara-tb2hk
    @Sara-tb2hk Рік тому

    Hello, the link that contains the blocks does not exist what can I do?

    • @reaxontv1574
      @reaxontv1574 Рік тому +1

      Use normal blocks from the internet, that's it :)

    • @Forger5610Skiptheflip0
      @Forger5610Skiptheflip0 5 місяців тому

      @@reaxontv1574 cant find one

    • @TheCodingBus
      @TheCodingBus  5 місяців тому

      try this now please ua-cam.com/video/-OT2QeBopyk/v-deo.html

  • @DavidTzoyuhua
    @DavidTzoyuhua Рік тому

    grasias ya pase con 10 informatica

    • @TheCodingBus
      @TheCodingBus  5 місяців тому

      try this ua-cam.com/video/-OT2QeBopyk/v-deo.htmlsi=2YNfnv12WR-srYI6

  • @tasyas1004
    @tasyas1004 Рік тому +1

    Hi, The Tetris asset pack on the link is can not access. How I can get that folder?

  • @the1luckydreamer
    @the1luckydreamer Рік тому +1

    The score on the game screen is not updating as a row is completed

    • @TheCodingBus
      @TheCodingBus  5 місяців тому

      check it ua-cam.com/video/-OT2QeBopyk/v-deo.html

  • @Zayan-qq3tj
    @Zayan-qq3tj Рік тому

    its error bruh

    • @TheCodingBus
      @TheCodingBus  5 місяців тому

      try this bro please ua-cam.com/video/-OT2QeBopyk/v-deo.htmlsi=2YNfnv12WR-srYI6

  • @fedlukalid7749
    @fedlukalid7749 2 роки тому

    bro can you do a website
    to me

  • @endrueliu6600
    @endrueliu6600 Рік тому

    Can I have your aia please ?

    • @TheCodingBus
      @TheCodingBus  5 місяців тому

      yes yes here u go ua-cam.com/video/-OT2QeBopyk/v-deo.html

  • @leonardodealmeidaribas7286
    @leonardodealmeidaribas7286 Рік тому

    WOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO MY GOD BRO!!!!

    • @TheCodingBus
      @TheCodingBus  7 місяців тому

      Glad you liked it! Stay tuned for more 😊

  • @bebekguuoreng
    @bebekguuoreng Рік тому

    Why, i don't use block in file?

    • @TheCodingBus
      @TheCodingBus  5 місяців тому

      u can ua-cam.com/video/-OT2QeBopyk/v-deo.html

  • @IhsanulRizkyMerdiansyah
    @IhsanulRizkyMerdiansyah Рік тому

    erorrrrrr

    • @TheCodingBus
      @TheCodingBus  5 місяців тому

      try this ua-cam.com/video/-OT2QeBopyk/v-deo.htmlsi=2YNfnv12WR-srYI6

  • @fedlukalid7749
    @fedlukalid7749 2 роки тому

    pls explain it to mepls🙏🏻🙏🏻

    • @TheCodingBus
      @TheCodingBus  5 місяців тому

      ua-cam.com/video/-OT2QeBopyk/v-deo.html

  • @fedlukalid7749
    @fedlukalid7749 2 роки тому +1

    hi

  • @gustavooldoniilnicki4527
    @gustavooldoniilnicki4527 Рік тому

    muito bom

    • @TheCodingBus
      @TheCodingBus  5 місяців тому

      ua-cam.com/video/-OT2QeBopyk/v-deo.html

  • @5B9tkogps-jr2lh
    @5B9tkogps-jr2lh 8 місяців тому +1

    ujyuhji

  • @psalmdelizo2320
    @psalmdelizo2320 9 місяців тому

    It DOESNT EVEN WORK GREAT WASTE OF TIME THIS IS

  • @5B13tkogps
    @5B13tkogps 8 місяців тому

    ...

  • @adityanugraha4438
    @adityanugraha4438 Рік тому

    Amak ang pantek, dk bisa di pakai do

    • @TheCodingBus
      @TheCodingBus  Рік тому

      community.appinventor.mit.edu/t/tetris-recreation-of-1980s-retro-game/51075

    • @bijik_1749
      @bijik_1749 8 місяців тому

      Hi everyone, I can't find the file with the assets of the game, anyone has??

  • @DrogenJunkie-u7d
    @DrogenJunkie-u7d Рік тому

    Jaaaaaaaaaaaa

    • @TheCodingBus
      @TheCodingBus  5 місяців тому

      ua-cam.com/video/-OT2QeBopyk/v-deo.html

  • @Victor-e8b3t
    @Victor-e8b3t Рік тому

    tutorial mas culero

    • @TheCodingBus
      @TheCodingBus  5 місяців тому

      try it ua-cam.com/video/-OT2QeBopyk/v-deo.htmlsi=2YNfnv12WR-srYI6

  • @Jiwon_-u-
    @Jiwon_-u- Рік тому

    Plsssssss

    • @TheCodingBus
      @TheCodingBus  5 місяців тому

      yes ua-cam.com/video/-OT2QeBopyk/v-deo.html

  • @saathvikthecuber777
    @saathvikthecuber777 2 місяці тому

    Whenever I click on Start Game it just exits the application and when I switched render and destroy it says render is not initialized.