No libraries, no other people involved.
I think that everything can be done without libraries, although it's more difficult, but not impossible.
It's difficult for me but I like it.
No libraries, no other people involved.
I think that everything can be done without libraries, although it's more difficult, but not impossible.
It's difficult for me but I like it.
Nesse jogo da cobrinha, o fim da partida ocorre corretamente quando a cobra toca na borda superior ou inferior.
Problema:
Quando a cobra encosta na borda direita ou esquerda, o jogo não termina. Em vez disso, ela atravessa a tela e reaparece do lado oposto:
Se estiver indo para a direita, ao atingir a borda, reaparece na esquerda e desce uma linha, continuando o movimento para a direita. Esse ciclo se repete até que chegue à borda inferior e o jogo acabe.
Se estiver indo para a esquerda, o processo é semelhante, mas a cada retorno ela sobe uma linha, até alcançar a borda superior e terminar a partida.
Esse comportamento torna o movimento da cobra previsível e pode ser explorado pelos jogadores. Por exemplo: se a comida estiver posicionada na parte inferior, basta deixar a cobra bater na borda direita para que ela siga sozinha, linha por linha, até alcançar a comida, sem esforço do jogador.
A ideia parece ter sido implementada como uma forma de evitar que, caso o jogador pare de jogar, a cobra fique indefinidamente presa nas laterais. Assim, o jogo garante que ela acabe eventualmente ao tocar a borda superior ou inferior.
Porém, essa mecânica abre brechas para atalhos e estratégias fáceis, o que reduz o desafio e compromete a dificuldade original do jogo da cobrinha.
Comentário adaptado com ChatGPT
Please add Left, Right and Up, Down buttons for controlling Snake because it is not easy to play by touching the screen
Update: v1.1.
Oct, 04 2025
Thanks You Very Much Sir
Tested the new Snake Game (v1.1) works perfectly!
The speed, color, and collision updates are all fixed and smooth.
If your old version gives errors, just remove it first before adding this one.
Great job, everything’s running fine now!
Please Check Speed Block Not Work Propper . I Want Slow Speed=10 But Not Work .
It would really help if you provided a screenshot of your relevant blocks, so we can see what you are trying to do, and where the problem may be.
To get an image of your blocks, right click in the Blocks Editor and select "Download Blocks as Image". You might want to use an image editor to crop etc. if required. Then post it here in the community.
Taifun
Trying to push the limits! Snippets, Tutorials and Extensions from Pura Vida Apps by Taifun.
Hi I Am Testing Your Provided .aia file Please Check Speed Control Block Not Work Propper please
Thank you.
If you put smaller numbers, you will get more speed, if you want the snake to go slower you must put a larger number.
Oooooooo
Snake Game Extension — Feature Request / Update Suggestion
Hi @Joejsanz,
First of all, thank you so much for creating this amazing Snake Game Customizable extension .
I’ve tested it in my project and it’s working great. But I have a few feature improvement suggestions that can make this extension even more powerful and flexible:
1. Boundary Wrap Feature (Like Old Nokia Snake Game)
Currently, when the snake touches any boundary, the game ends.
I want to suggest an option where:
2. Speed Control Fix
Right now, even when the speed is set to 0, the snake moves too fast.
Please make the speed truly adjustable from very slow (0) to fast — gradually increasing.
This will allow better difficulty control in the game.
3. Custom Game Over Conditions
Currently, Game Over happens automatically on boundary touch.
Instead of forcing game over on first boundary touch, please give developers control to:
4. Optional Game Over Behavior
There can be a block like:
SetGameOverBehavior ( "Boundary" / "Manual" / "Wrap" )
or
SetMaxBoundaryTouches ( number )
This will make the extension much more flexible for game developers.
These changes will make the Snake Game extension feel much more like a real classic snake game and give full control to the developer.
Thank you again for your hard work .
Best Regards,
[@Kabir_Khan]
These are good ideas that could be added, thank you for the suggestions.
Ok Thanks I use 0 to 100 only
I have proven that the snake can collide by touching its tail.
In the previous version, the snake passed through the sides without colliding, but I will be looking at the suggestions you have given, they seem good to implement.
Yes I know Only update Boundary toch to Out System And add ( Call to Game Over Block ) and Also Add Boundary Touch Event when Boundary to Developer Count Boundary touch Developer have full control to Game Over = 1 toch or 2-3 touch .
You can do this if you want to use numbers from 0 to 100. In this example, I used a timeout of 1000 milliseconds.
In the blank space, you can enter your number, from 0 = slower speed to 100 = faster speed.
Update: v1.2