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?
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.
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 🤔
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
😭 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?
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'
Very nice! Setting the timer is the boldest thing I have seen in a tutorial.
Keep uploading. Your channel deserves more!
You've made here one inspiring video!
Thank you for that.
Waiting for the part 2)
I'm glad you like it, thanks 🙂
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?
I really loved your video! I got an A+ because of that thanks alot :)
I absolutely love videos like this. great job!
raxmat, sog bolas
It's alive! big thx bro👍
After two years of studying Kotlin, i continue to be amazed by this project
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.
try Random().nextInt(BOARD_SIZE - 2) + 1 instead of Random().nextInt(BOARD_SIZE)
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 🤔
Wow, it's a demonstration but we need teachers
very cool.. waiting for part 2
Thank you!
What about a Dr Mario kind of game? It's similar to Tetris but without the shapes.
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
nice video tbh
This would have taken me a month to implement. 😅😭😭😭
congrats !
😭 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?
Snake can move to opposite direction without dying - this needs to be fixed.
Right now it just resets snake length to 4
Can u teach me? 😬
I can't import the mutableState.update { } in kotlin 203-1.6.10-release-923-AS7717.8
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'
I love you
☀️ ᴘʀᴏᴍᴏsᴍ