3D Snake Game

3D Snake Game Used AI

4 devlogs
4h 6m
•  Ship certified
Created by Codegirl

Classic Snake Game but 3D using A-Frame.
The snake grows when it eats the food Game ends if the snake hits itself or the world border.

Timeline

Ship 1

0 payouts of shell 0 shells

Codegirl

about 1 month ago

Codegirl Covers 4 devlogs and 4h 6m

Made some final fixes to the game and shipped it!

Update attachment

Ok so i have been cooking:
The snake now grows! When you eat the food, a new segment is added to the tail. If you don't eat, the tail segment is removed as the head moves forward
I went with a clean, bird's-eye-view instead of what every i was trying to do previously
Then you crash, a GAME OVER message pops up, and the game loop stops
Finally, made the food placement smart so it does not placed on top of the snake!

Basics of the code done!!
- Currently, the snake in the game is just one block with four dimensional movement - front, back, right & left.
- Random food blocks on surface
- Game over if it goes outside the grid line

The goal:
Classic Snake Game but 3D using A-Frame.
The snake grows when it eats the food Game ends if the snake hits itself or the world border.
For the #fraps YSWS

Update attachment