Snake Dash 11/10/25

I did my free friday that I missed , I decided to work on a pygame where its similar to the game snake

The first few codes are basically to make the window where the game is located

I made the window’s height and width into desirable lengths

I also put the caption with the code display.set_caption

I made the player and made it into rectangle shape

pygame.draw.rect(screen, (255, 0, 0,) player) puts the player on the window

if and elif loops helps the player move around

Leave a Reply

Your email address will not be published. Required fields are marked *