Snake Game Finished

Over the past 3 weeks we have been building the classic game snake in turbowarp

We first set up our snakes head to always be moving, we can change its direction with the arrow keys

We then setup our body to continually clone itself. But each clone will be deleted immediately

Every time we get a bit of food, we delay the length of time it takes to delete the body clones, this make our snake grow

We also set up a scoring system, so we get a point for each piece of food we eat

The last thing we did was set up how the game ends. We coded the tongue to attach to the snakes head and follow the exact direct it turns

If it touches the edge of the screen or its own body, the game is over

I coded in the bomb, every 5 - 10 seconds, a bomb character spawns in a random position, if we hit it, the game is also over

Test out the full game below along with download links to the project and turbo warp

Previous
Previous

Dino Jump Clone