Coding a game for the Worlds Smallest Console // in Micro Python

Поделиться
HTML-код
  • Опубликовано: 25 янв 2025

Комментарии • 224

  • @chrislaplante5040
    @chrislaplante5040 3 месяца назад +111

    When you think she is about to say "The Nokia phone version of snake" and then she says "Google Chrome Browser" If you need me I will be coffin shopping. Great job!

    • @karilawler
      @karilawler  3 месяца назад +23

      a Nokia 6110/or 3310 is one thing I would love to add my collection some day ... so, trust me if I had one I would of shown it lol

    • @jussikuusela7345
      @jussikuusela7345 3 месяца назад +3

      I had a few of the mid-00's tiny Nokia phones... one of them had a very interesting bouncy ball game... and the cross button was positioned JUST under the Navi button, hitting of which quit the game without any further ado... after a few times I had to really try to keep myself composed and not smash the damn thing with a sledgehammer... the next model that had a WAY better keypad design, didn't have that game. F! Later on I thought that I might glue a small stud on the cross button to have kind of a joystick... but then I would be schlepping two phones with me, one for just a game.

    • @matt92hun
      @matt92hun 3 месяца назад +8

      I've never been as old as I am right now.

    • @JamieBainbridge
      @JamieBainbridge 3 месяца назад +8

      Oh that'll be because by the time Kari was old enough for a phone, there were... only... only smartphones... Yeah buy a coffin for me too 😅

    • @karilawler
      @karilawler  3 месяца назад +1

      @@JamieBainbridge yep, although I never had one, Blackberry phones were the rage when I was in Junior school

  • @rogerpalsgrove9678
    @rogerpalsgrove9678 3 месяца назад +38

    Your scientists were so preoccupied with whether or not they could, they didn't stop to think if they should. I love the Tron t-shirt.

  • @PeteSimpson
    @PeteSimpson 3 месяца назад +10

    As a self employed desktop software and mobile app developer in multiple development languages, I must say that your coding is nice and clean as well as simple to follow. Nice work.
    What an absolutely excellent video you've created. Keep making the interesting retro content that you've been creating and this channel will blow up and become huge.

    • @derekjc777
      @derekjc777 2 месяца назад

      Modern languages make implementing something like snake really easy. The difficulty in snake was deleting the end of the snake as you move forward one block, and doing it efficiently. Essentially using a FIFO makes it much easier, and computers are so fast now! But it seems the Nokia phone screen resolution was only 84 by 48 pixels, and each segment of the snake was 4 by 4 pixels, with 4 rows/columns used for the border plus 8 lines for the score, producing a grid of 20 by 9, which means that only 180 bytes were required to hold the screen. Knowing where the head and tail is and moving along the snake would reduce the search time.

  • @AlbertKefka77
    @AlbertKefka77 3 месяца назад +4

    Not gonna lie, I was lost a couple of times during the video, but you are truly an inspiration for someone who wants to learn to code! GJ.

  • @rockaholictom
    @rockaholictom 3 месяца назад +14

    I was losing my mind soldering teeny components so thank you so much for the 15 min break 😂 looks like loads of fun to tinker with

  • @martin-uz1py
    @martin-uz1py 3 месяца назад +9

    I thought it was bonkers when they ported Doom onto my MP3 player but that is insane. Great video, thank you for doing a bit of coding.

  • @ca.m.572
    @ca.m.572 3 месяца назад +13

    Excellent video, as usual, cheers Kari.

  • @rowlandspear4061
    @rowlandspear4061 3 месяца назад +22

    Writing Snake in Python? Sssssssssensational! 😀

  • @Aberusugi
    @Aberusugi 3 месяца назад +7

    I bought one of these on kickstarter a few days after they first announced it, really nice piece of cute engineering.

  • @Rich.Newell
    @Rich.Newell 3 месяца назад +1

    I have no idea about anything you are doing, but your enthusiasm for doing it is very infectious 😊

  • @gvetech
    @gvetech 3 месяца назад +8

    Awesome, well done!

    • @karilawler
      @karilawler  3 месяца назад +4

      Thanks for the kinds words, it's appreciated👍

    • @gvetech
      @gvetech 3 месяца назад +3

      @@karilawler you are welcome!

  • @maineroad
    @maineroad 3 месяца назад +6

    Brilliant video Kari, way beyond my technical ability but enjoyable nonetheless. Your fast becoming one of my favourite RUclipsrs 👍

  • @Drew-Dastardly
    @Drew-Dastardly 3 месяца назад +5

    What I like about MicroPython is it reminds me of coding in 8 bit BASIC back in the day and you can easily just change the code on the fly. It is great for testing hardware/software interface concepts on the fly, with a web browser or serial interface. But I would then use what I learned to code the ultimate project properly in C/C++ because there are inevitable speed issues with running an interpreter like Python or BASIC.
    The same as I would go to assembler on the 6502 or Z80.
    Love this channel and Kari is an absolute angel.😍

    • @TheDotBot
      @TheDotBot 3 месяца назад +1

      Only back in the day you'd have been peeking and poking into the display memory for drawing and collision detection, do there's that. Mapping the display into an array without running out of memory... hmm yes I guess things have changed a bit lol

    • @Drew-Dastardly
      @Drew-Dastardly 3 месяца назад +2

      @@TheDotBot Honestly I have coded worse on a Z80. If it works in BASIC it will also run 20x faster and take 5x less precious RAM. (by doing it in assembler)

    • @TheDotBot
      @TheDotBot 3 месяца назад +2

      @@Drew-Dastardly I programmed my own game on a PET (6502) and dabbled in a bit of assembler because it was relatively easy (but time-consuming), then rewrote it on a Sinclair ZX81 - more complicated without the display page, but somehow it worked? All I can remember is that the screen addresses started at 32767. Which can't have been an actual byte address so... no clue how that worked! Never got into Z80 assembler though.

    • @Drew-Dastardly
      @Drew-Dastardly 3 месяца назад +1

      @@TheDotBot Yes I did raw hex on my MZ-80A when it came to machine code. I want to get it out my loft and do an 80 column mod and then design a ROM filing system with a RP2040.
      Z80 I literally coded on paper and got it to work using pokes. 6502 was so much easier on the BBC Micro with it's assembler.

    • @MightyGimp
      @MightyGimp 3 месяца назад

      How did you learn to code? I’m absolutely lost with talk of assembler, byte addresses, etc. I’ve never known how people became so knowledgeable back in the day.

  • @domramsey
    @domramsey 3 месяца назад +4

    Love the more technical videos!

  • @RicardoK-ng5ch
    @RicardoK-ng5ch 3 месяца назад +3

    Kari ! You rock

  • @derekjc777
    @derekjc777 2 месяца назад

    Good to see this video. I've backed the Thumby Color on Kickstarter back in September and it appears they are entering production now so hopefully I'll see what they look like very soon! It's got a whopping 128x128 16-bit colour IPS display and the new Raspberry Pi RP2350 processor!

  • @jetpropulsionlabrador3615
    @jetpropulsionlabrador3615 3 месяца назад +1

    Wait I’m so excited about this, I didn’t realize it used Python! That’s the language I know most about cause I do data analysis sometimes. Thanks for going into detail about the code!

  • @adisimpson1981
    @adisimpson1981 3 месяца назад +1

    When i see a new Kari video, iam always excited. Well done Kari :)

  • @venomhemi3914
    @venomhemi3914 3 месяца назад +3

    Super Mario land 1 and 2 was some of my favs for GB, I still have the og gameboy!

  • @awall1701
    @awall1701 3 месяца назад +12

    Blimey!!! I know I would lose that console in seconds!!! 🤣🤣🤣

    • @karilawler
      @karilawler  3 месяца назад +6

      trust me ... it's near impossible to find when you misplace it lol

    • @EgoShredder
      @EgoShredder 3 месяца назад +1

      I'd be waiting nervously upon the next toilet visit for a number two... Not sure if there is a log file with that download! 🤣

    • @israelagalaba5493
      @israelagalaba5493 3 месяца назад

      ​@@EgoShredder 😂😂😂😂😅

  • @louroboros
    @louroboros 3 месяца назад

    Very nice little port of snake, but I was most impressed with how easy you made it look to play the game on the real hardware!
    I’m a big fan of Tiny Circuits, especially their attention to friendly developer tools. Thanks for showing the process!

  • @Rock_a_ho
    @Rock_a_ho 3 месяца назад +2

    At first glance at the thumbnail for this vid i thought this was going to be about the Arduboy. Tiny circuits makes some cool devices

    • @joeblow229
      @joeblow229 3 месяца назад +1

      I was thinking that the code could probably be ported to other devices with minimal effort. I like the size of the Arduboy a lot better than the Thumby. "What is this, a console for ants??"

  • @Rockythefishman
    @Rockythefishman 3 месяца назад +1

    Great video, just what I needed to unwind on a Sunday night

  • @TheDistur
    @TheDistur 3 месяца назад +2

    My eyes hurt just thinking about playing on that thing but it is cool. Good job putting a game on it too!

    • @karilawler
      @karilawler  3 месяца назад +2

      thank you, it was a fun exercise👍

  • @thebytespider
    @thebytespider 3 месяца назад

    great tutorial, clear and concise. Nokia snake was played an awful lot by me as a younger person. it's also a game I've never considered to make before so your video has been insightful

  • @Zedclassic
    @Zedclassic 3 месяца назад +4

    I want the super kari land wallpaper! 🥰

  • @john_amend_all
    @john_amend_all 3 месяца назад

    The console reminds me of the gag in the 'Professor Branestawm Returns' TV movie where we think Connie's going to invent a tablet computer -- except that it comes out the size of the sort of tablet you swallow.

  • @notnowmike_
    @notnowmike_ 3 месяца назад

    This is great! It's another entry into programming. I bet this inspires more people. 😊

  • @Retroguyuk75
    @Retroguyuk75 3 месяца назад +3

    You always pic awesome subjects Kari 😄! Fabulous video as always 🎉🕹️🎮🎯

    • @karilawler
      @karilawler  3 месяца назад +1

      thank you ... it was fun to make👍

  • @flukadamus
    @flukadamus 3 месяца назад

    Great video as always! I'm of the era of playing online Shockwave games back in the day and wanting to learn to code my own Flash games. Ended up learning Java without creating games for that, but this brings a whole big case of "What If?"

  • @sohatyi
    @sohatyi 3 месяца назад +2

    Tiny Tanks - a tanks/worms/angry birds style game where you have to use your aim to defeat another tank on a simple terrain that is destructable.

    • @karilawler
      @karilawler  3 месяца назад +4

      on a similar note, I think Atari 2600 Combat might port well🤔

  • @apoxuponme9575
    @apoxuponme9575 3 месяца назад +4

    Had an Adam computer as a kid. You could load games by ColecoVision cartridges or cassette tape. It sucked and was awesome

    • @karilawler
      @karilawler  3 месяца назад +1

      neither of which I own yet ... but hopefully one day I get to experience them👍

  • @DerekTurtleRoe
    @DerekTurtleRoe 3 месяца назад +1

    I thought you were going to make a game for the Game Boy, but awesome project! 😮
    If you made a video about making Game Boy games using GB Studio or gbdk, I'd love that as well. 😊
    Your videos are always entertaining and informative, thank you! 😊❤

  • @Ultra-Violet
    @Ultra-Violet 3 месяца назад

    That's so cute Kari 👍🏻💜

  • @integerofdoom69
    @integerofdoom69 2 месяца назад

    I'm not even sure my ancient eyes could see this thing. Still cool as hell.

  • @TRONMAGNUM2099
    @TRONMAGNUM2099 3 месяца назад

    Brilliant! Great shirt!

  • @salmon85
    @salmon85 3 месяца назад +9

    The micro usb is bigger than the thumby

  • @TheJaguar1983
    @TheJaguar1983 3 месяца назад

    I love that the Thumby is barely wider than it's own usb port 😂. Also, needed to use the microscope camera to film it. What a cool little device.

  • @jasonschubert6828
    @jasonschubert6828 3 месяца назад

    Would love to see the option for 2 button (clockwise and anti-clockwise) play. I'm sure that's how the old Nokias used to have it!

  • @streetmagik3105
    @streetmagik3105 3 месяца назад

    It's so ridiculous... I love it!

  • @ViridianGames
    @ViridianGames 3 месяца назад

    I adore the concept, but I think it would be too small to actually play comfortably on it. Still, love seeing people making games!

  • @TheGreyBaron
    @TheGreyBaron 3 месяца назад

    This would be an awesome prop for scale toys/models. Makes me wonder what other retro platforms could be reasonably replicated to add realism to scenes/dioramas.

    • @karilawler
      @karilawler  3 месяца назад

      I’ve just said the very same thing to Theo of @slimehousetv fame

  • @burgek1
    @burgek1 3 месяца назад +4

    What game have I gone for, drumroll please..... Tetr... Snake?! Id have bet my house youd go for tetris after recent videos 😅

  • @fruitloop831
    @fruitloop831 3 месяца назад +3

    Really cool, bit too small of a screen for me to play around with though

  • @stevesgaming7475
    @stevesgaming7475 3 месяца назад +1

    is there anything you can't do? ..very impressive! (btw, love the T-shirt!)

  • @tonybennett7145
    @tonybennett7145 3 месяца назад

    Fun video Kari. Wow that is small, I think my thumb would cove the hole console lol.
    Good job you have petite hands Kari! Great Stuff! Keep em coming.

    • @karilawler
      @karilawler  3 месяца назад +1

      ha ... trust me, it's still to tiny for my small hands lol ... but fun nevertheless to make something for it :)

  • @techrestoread
    @techrestoread 3 месяца назад

    Great video and fantastic content here keep up the good work you are smashing it 🎉

  • @CommanderKlag
    @CommanderKlag 3 месяца назад +1

    I enjoy all these videos, easy on the brain and the eyes. Thanks.😊

  • @CodyShell
    @CodyShell 2 месяца назад

    Appreciate the link to the keyboard you're using in your bio. Love it! :D

  • @thomasvenables2795
    @thomasvenables2795 3 месяца назад +2

    Imagine Elden Ring on the Thumby

  • @pixelfingers
    @pixelfingers 3 месяца назад

    Loved this! New series / channel - Kari makes games!👾

  • @LBenjamin81
    @LBenjamin81 3 месяца назад

    Even at the reduced size, it's still clearer than the og Gameboy with that magnifying glass add on.

  • @silverian
    @silverian 3 месяца назад

    I noticed that you can also use Arduino for connecting and programming. I actually used Arduino Micro few years ago for different application. I probably need magnify glass + mini sticks to play with this one 🙂The way, how you explained how code works, was nice!

  • @jurgenkruger3932
    @jurgenkruger3932 3 месяца назад

    "Honey, I have shrunked my Gameboy!" 😂 Really mad. 😊

  • @alexandrufloricica1435
    @alexandrufloricica1435 3 месяца назад

    like the t-shirt :) one of my favourite movies

  • @trance_trousers
    @trance_trousers 3 месяца назад

    I used to 'code' back in the 80s (or program as we used to cal it then) using various dialects of BASIC (BBC Basic being my favourite) and some 6502 machine code. I didn't really understand some of the Python code you'd written, so I think I'll stick with BASIC instead!

  • @ДмитрийШпаков-о3н
    @ДмитрийШпаков-о3н 3 месяца назад +1

    I think Nintendo's Tanks can be written for such a game console. Bomber man should not be very complex.

  • @pseudotasuki
    @pseudotasuki 3 месяца назад

    They recently finished a Kickstarter for the Thumby 2. It has a color display, an RP2350, and is shaped like a Gameboy Advance. Hopefully I'll be getting mine in a few weeks.

    • @karilawler
      @karilawler  3 месяца назад +1

      check out 12:27 in the video

    • @pseudotasuki
      @pseudotasuki 3 месяца назад

      ​@@karilawlerWhoops! That's what I get for not watching to the very end.

  • @Electronzap
    @Electronzap 3 месяца назад

    That's a fun community!

  • @EdwardianTeaChest
    @EdwardianTeaChest 3 месяца назад

    A game that would be perfect for this tiny console is the Commodore VIC-20 game Blitz (a Canyon Bomber clone). It's very easy to write and only requires a single key/button to play it.

    • @karilawler
      @karilawler  3 месяца назад

      just checked it out and 100%, yes that would work perfectly (very similar to City Bomber that I've played on the ZX Spectrum)... might even be easier to play, as it only requires one button👍

  • @TravisGarnett
    @TravisGarnett 3 месяца назад

    @11:58 - Breakout, and Falldown [from TI graphing calculators].

  • @rrivillox
    @rrivillox 3 месяца назад

    That's a great coding, Kari. Congratulations. You're so cool. Greetings and let's go for a new tiny game. :8[

  • @bryandrobny7690
    @bryandrobny7690 3 месяца назад

    That's not the only thing switched on! 🥵

  • @sonnyc3826
    @sonnyc3826 3 месяца назад

    i wonder where she learned to repair this stuff..itd be a rpetty neat hobby and probably profitable too. itd jsut be neat resotring stuf flike this buying old broken stuff and being able to fix them you can probabyl start quite a collection of every game and console for dirt cheap.

  • @Adam_22-k3e
    @Adam_22-k3e 3 месяца назад

    Wow the snake game is very cool. Got me thinking that I could make something simple for my Miyoo mini ❤

  • @cmar4076
    @cmar4076 3 месяца назад

    I love your TRON shirt!!

  • @theburntcrumpet8371
    @theburntcrumpet8371 3 месяца назад

    This looks like fun! I made snake in go with raylib recently

  • @johnybitmap2559
    @johnybitmap2559 3 месяца назад

    Whoaa... so tiny! Bet you've got to play it under some kind of magnifier.

  • @metronome8471
    @metronome8471 3 месяца назад

    This reminds me of the Dreamcast vmu games.

  • @patrickcardon1643
    @patrickcardon1643 3 месяца назад

    Now you need to 3D-print little fingers to be able to play more easily

  • @MartyTull
    @MartyTull 3 месяца назад

    Absolutely love Kari's tshirt game always on point. Have you ever played or used the nokia n-gage used to love mine back in the day especially having tomb raider on the go!.

    • @karilawler
      @karilawler  3 месяца назад

      I do in fact own one of those and have a sealed copy of Tomb Raider for it👍 twitter.com/KariLawler/status/1499097567682080779

  • @bearonatinybike
    @bearonatinybike 3 месяца назад

    Good stuff, thanks! I've been doing a little playing around with the Playdate and its API recently, which has is similarly graphically limited. I'd be interested to see the complete code for your Snake implementation, if it's something you're happy to share.

    • @karilawler
      @karilawler  3 месяца назад +1

      no problem with sharing the code ... for which, will see what I can do and prob. put a link up to it in the video description in a few days👍

    • @bearonatinybike
      @bearonatinybike 3 месяца назад

      @@karilawler Awesome, ta. ❤️

  • @Allen-by6ci
    @Allen-by6ci 3 месяца назад

    very cool Kari

  • @3dhYT
    @3dhYT 3 месяца назад

    I am impressed.

  • @suvetar
    @suvetar 3 месяца назад

    So cool!

  • @voodoomotion5855
    @voodoomotion5855 3 месяца назад

    Awesome work. Wonder if you could attach a little stick the the d pad so it works like a joystick and be easier to control? Would the code work much faster if you check the x and y values to see if the head hit the border, and compare the head x and y values with the body values to see if it hit itself? First time I played snake was in QBasic on a 386sx, not sure how the code worked. The benefit with your code is it's easier to add extra walls and bonus items 😉

    • @karilawler
      @karilawler  3 месяца назад

      To detect if outside bounds, the code does just use the head coords ... Regards checking for body collision, yep, you could just run though the body array to see if there is a match and then do a food check thereafter as another way to achieve the same. But your right, using the playing area array does open the game up to adding other features, like walls :)

  • @ASoulphoenix
    @ASoulphoenix 3 месяца назад

    Good to have a working micro computer. Bad that you need a microscope and stylus (or something) to use it. Also nice explanaition and t-shirt, Kari

    • @karilawler
      @karilawler  3 месяца назад

      yep, fully agree it's a bit to small for everyday use

  • @graemepatterson
    @graemepatterson 3 месяца назад +1

    We need a Thumby Colour 🤣

    • @karilawler
      @karilawler  3 месяца назад

      here you go www.kickstarter.com/projects/kenburns/thumby-color 🤓

  • @jceggbert5
    @jceggbert5 2 месяца назад

    Ben Heck's ATTINY10 console: am I a joke to you?

  • @80s_kid.
    @80s_kid. 2 месяца назад

    i want to get my hands on a hand held that will play Play Station 1 games

  • @FC9k
    @FC9k 3 месяца назад +1

    That's a tiny computah

  • @YanLipavsky
    @YanLipavsky 2 месяца назад

    Super ! You are amazing

  • @rockosgaminglogic
    @rockosgaminglogic 3 месяца назад

    No soldering today :(

  • @terry-
    @terry- 3 месяца назад

    Great!

  • @jbullen82
    @jbullen82 3 месяца назад

    "Playable" is a strong word 😅

  • @kevintappminville195
    @kevintappminville195 3 месяца назад

    Woah!
    Okay the console is tiny but... Is Doom REALLY playable?
    Dpad to move check.
    A Button Fire check.
    B open doors and operate switches check.
    How to you cycle your guns?
    The answer to that question will decide wether or not i make an impulse buy XD

  • @Kolor-Kode
    @Kolor-Kode 3 месяца назад

    Does it come with the worlds strongest contact lenses so I can play?

  • @HorizonOfHope
    @HorizonOfHope 3 месяца назад +1

    It’s a little bulky. Do they make a smaller version?

  • @spectrefate
    @spectrefate 2 месяца назад

    TBH, I'm just here for the t-shirts

  • @VoyeurOfMisfortune
    @VoyeurOfMisfortune Месяц назад

    Ima put a custom rom hack of Pokémon on it and play with a fraction of the visible area.

  • @wolfzrat
    @wolfzrat 3 месяца назад

    Hi, how did you make your wallpaper i like it and wanna make one like it

  • @mikeivoyloff1656
    @mikeivoyloff1656 3 месяца назад

    Man, if the PSP looks small in your hands - I wonder how you're gonna hold this brick?

  • @ErrorMessageNotFound
    @ErrorMessageNotFound 3 месяца назад

    Space invaders. Maybe the simplified Atari 2600 version of it.

  • @TheRealCelerate
    @TheRealCelerate 2 месяца назад

    My fingers are too big for the thumby. It's a shame they don't have a bigger version.

  • @Urko2005
    @Urko2005 3 месяца назад +2

    Nice novelty, but i wouldnt like playing games on it for long.

    • @karilawler
      @karilawler  3 месяца назад +3

      yea, more of a fun little novelty to experience and add to the ever growing collection lol

  • @B.von.Bentzen
    @B.von.Bentzen 2 месяца назад

    What a doll

  • @bengineer_the
    @bengineer_the 3 месяца назад

    Volfied?

  • @azmansell6597
    @azmansell6597 2 месяца назад

    Stuff Samuel L Jackson... Kari COULD get Jurassic Park back online!

  • @909crime
    @909crime 2 месяца назад

    I bought one of these and it was so small they lost it in shipping

  • @Domo22xD
    @Domo22xD 3 месяца назад

    Hey great content as always. Wish there was more channels like yours with such interesting and fun topics. 👍

    • @karilawler
      @karilawler  3 месяца назад

      Than you for the kind words, it’s appreciated 👍