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

Поділитися
Вставка
  • Опубліковано 8 січ 2025

КОМЕНТАРІ •

  • @chrislaplante5040
    @chrislaplante5040 2 місяці тому +110

    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  2 місяці тому +22

      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 2 місяці тому +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 2 місяці тому +8

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

    • @JamieBainbridge
      @JamieBainbridge 2 місяці тому +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  2 місяці тому +1

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

  • @rogerpalsgrove9678
    @rogerpalsgrove9678 2 місяці тому +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 2 місяці тому +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 Місяць тому

      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 2 місяці тому +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 2 місяці тому +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 2 місяці тому +8

    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 2 місяці тому +13

    Excellent video, as usual, cheers Kari.

  • @Aberusugi
    @Aberusugi 2 місяці тому +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 2 місяці тому +1

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

  • @maineroad
    @maineroad 2 місяці тому +6

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

  • @rowlandspear4061
    @rowlandspear4061 2 місяці тому +21

    Writing Snake in Python? Sssssssssensational! 😀

  • @Drew-Dastardly
    @Drew-Dastardly 2 місяці тому +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 2 місяці тому +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 2 місяці тому +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 2 місяці тому +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 2 місяці тому +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 2 місяці тому

      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.

  • @jetpropulsionlabrador3615
    @jetpropulsionlabrador3615 2 місяці тому +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!

  • @gvetech
    @gvetech 2 місяці тому +8

    Awesome, well done!

    • @karilawler
      @karilawler  2 місяці тому +4

      Thanks for the kinds words, it's appreciated👍

    • @gvetech
      @gvetech 2 місяці тому +3

      @@karilawler you are welcome!

  • @domramsey
    @domramsey 2 місяці тому +4

    Love the more technical videos!

  • @adisimpson1981
    @adisimpson1981 2 місяці тому +1

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

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

    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!

  • @awall1701
    @awall1701 2 місяці тому +12

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

    • @karilawler
      @karilawler  2 місяці тому +6

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

    • @EgoShredder
      @EgoShredder 2 місяці тому +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 2 місяці тому

      ​@@EgoShredder 😂😂😂😂😅

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

    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!

  • @venomhemi3914
    @venomhemi3914 2 місяці тому +3

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

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

    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

  • @DerekTurtleRoe
    @DerekTurtleRoe 2 місяці тому +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! 😊❤

  • @Retroguyuk75
    @Retroguyuk75 2 місяці тому +3

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

    • @karilawler
      @karilawler  2 місяці тому +1

      thank you ... it was fun to make👍

  • @RicardoK-ng5ch
    @RicardoK-ng5ch 2 місяці тому +3

    Kari ! You rock

  • @Rockythefishman
    @Rockythefishman 2 місяці тому +1

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

  • @TheDistur
    @TheDistur 2 місяці тому +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  2 місяці тому +2

      thank you, it was a fun exercise👍

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

    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?"

  • @jonyak1221
    @jonyak1221 2 місяці тому +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 2 місяці тому +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??"

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

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

  • @apoxuponme9575
    @apoxuponme9575 2 місяці тому +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  2 місяці тому +1

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

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

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

  • @sohatyi
    @sohatyi 2 місяці тому +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  2 місяці тому +4

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

  • @Zedclassic
    @Zedclassic 2 місяці тому +4

    I want the super kari land wallpaper! 🥰

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

    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.

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

    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  2 місяці тому +1

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

  • @stevesgaming7475
    @stevesgaming7475 2 місяці тому +1

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

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

    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  2 місяці тому

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

  • @burgek1
    @burgek1 2 місяці тому +4

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

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

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

  • @salmon85
    @salmon85 2 місяці тому +9

    The micro usb is bigger than the thumby

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

    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.

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

    Brilliant! Great shirt!

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

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

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

    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!

  • @Ultra-Violet
    @Ultra-Violet 2 місяці тому

    That's so cute Kari 👍🏻💜

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

    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  2 місяці тому +1

      check out 12:27 in the video

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

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

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

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

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

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

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

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

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

    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!

  • @fruitloop831
    @fruitloop831 2 місяці тому +3

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

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

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

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

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

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

    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  2 місяці тому

      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👍

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

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

  • @thomasvenables2795
    @thomasvenables2795 2 місяці тому +2

    Imagine Elden Ring on the Thumby

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

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

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

    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!

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

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

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

    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  2 місяці тому

      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 :)

  • @ДмитрийШпаков-о3н
    @ДмитрийШпаков-о3н 2 місяці тому +1

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

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

    That's a fun community!

  • @Adam_22-k3e
    @Adam_22-k3e 2 місяці тому

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

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

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

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

    I love your TRON shirt!!

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

    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.

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

    This reminds me of the Dreamcast vmu games.

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

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

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

    That's not the only thing switched on! 🥵

  • @graemepatterson
    @graemepatterson 2 місяці тому +1

    We need a Thumby Colour 🤣

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

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

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

    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  2 місяці тому

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

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

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

  • @FC9k
    @FC9k 2 місяці тому +1

    That's a tiny computah

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

    "Playable" is a strong word 😅

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

    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  2 місяці тому +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 2 місяці тому

      @@karilawler Awesome, ta. ❤️

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

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

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

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

  • @CommanderKlag
    @CommanderKlag 2 місяці тому +1

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

  • @3dhYT
    @3dhYT 2 місяці тому

    I am impressed.

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

    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  2 місяці тому

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

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

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

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

    No soldering today :(

  • @80s_kid.
    @80s_kid. 2 місяці тому

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

  • @Allen-by6ci
    @Allen-by6ci 2 місяці тому

    very cool Kari

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

    Super ! You are amazing

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

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

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

    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

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

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

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

    So cool!

  • @HorizonOfHope
    @HorizonOfHope 2 місяці тому +1

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

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

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

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

    Volfied?

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

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

  • @Urko2005
    @Urko2005 2 місяці тому +2

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

    • @karilawler
      @karilawler  2 місяці тому +3

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

  • @Kolor-kode
    @Kolor-kode 2 місяці тому

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

  • @909crime
    @909crime 2 місяці тому

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

  • @terry-
    @terry- 2 місяці тому

    Great!

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

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

  • @PrinzMidas
    @PrinzMidas 2 місяці тому +1

    Please write GameBoy-Games!!!🥰

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

    You can probably run pac-man with two ghost on it.