Let's make Snake Android Game in 9 minutes | Jetpack Compose

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

КОМЕНТАРІ • 29

  • @ubersticks
    @ubersticks 2 роки тому +8

    Very nice! Setting the timer is the boldest thing I have seen in a tutorial.

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

    Keep uploading. Your channel deserves more!

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

    You've made here one inspiring video!
    Thank you for that.
    Waiting for the part 2)

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

      I'm glad you like it, thanks 🙂

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

    I really loved your video! I got an A+ because of that thanks alot :)

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

    I absolutely love videos like this. great job!

  • @АрсенийСтучинский-в1ъ

    Nice stuff! I would like to know what you think about Compose performance in these games. Is it good enough compared to XML? And also, is using StateFlow with an immutable game state suffucient for games? Would sharedflow be better suited for performance?

  • @bekad6135
    @bekad6135 Рік тому +3

    raxmat, sog bolas

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

    It's alive! big thx bro👍

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

      After two years of studying Kotlin, i continue to be amazed by this project

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

    Super great tutorial!!! A simple game to be a able to learn great things! Such as mutablestateflow and especially coroutines. One question, is this a practical way to make any video game. Or no 🤔

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

    Wow, it's a demonstration but we need teachers

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

    very cool.. waiting for part 2

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

    What about a Dr Mario kind of game? It's similar to Tetris but without the shapes.

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

    I couldn't find DarkGreen for the Box tho, that made me sad because I was hoping to recreating the same original game I used to play back in 2010 with the bros when we were eating chicken salad with bro's hot mom

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

    Could someone explain How i can make food not appear near the edges of the board? I tried change value of Random().nextInt and change values of Pair(5,5) food state, but It doesn't work. Maybe I do something wrong.

    • @kuso666
      @kuso666  2 роки тому +3

      try Random().nextInt(BOARD_SIZE - 2) + 1 instead of Random().nextInt(BOARD_SIZE)

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

    congrats !

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

    nice video tbh

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

    This would have taken me a month to implement. 😅😭😭😭

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

    Snake can move to opposite direction without dying - this needs to be fixed.

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

      Right now it just resets snake length to 4

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

    Can u teach me? 😬

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

    I love you

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

    ☀️ ᴘʀᴏᴍᴏsᴍ

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

    😭 no sir, no. This is not what I want 😭 is want to make my snake game on my mobile phone. How can I do it? What do I need? 🐛 I have a Samsung Galaxy A03s 😬. How can I do it?

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

    I can't import the mutableState.update { } in kotlin 203-1.6.10-release-923-AS7717.8

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

      I think it should be part of "kotlinx.coroutines" try to add this line into your build.gradle
      implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-android:1.6.0'