DEV Community

Cover image for Day 29 of My AI & Data Mastery Journey: From Python to Generative AI
Nitin-bhatt46
Nitin-bhatt46

Posted on

Day 29 of My AI & Data Mastery Journey: From Python to Generative AI

TODAY’S PROJECT
Project:-
Snake Game :-
It is a three day project :-
• CREATE A SNAKE BODY
• Move the snake
• Create snake food
• Detect collision with food
• Create a scoreboard
• Detect collision with wall.

Day 1 :- creating a snake body and move a snake.
Day 2 :- Creating a snake food and detecting collision with food.
Day 3 :- Creating a Scoreboard and Detect Collision with wall.

today is day 1 :-

Target#1 :- We will create a snake and move it in one direction.
Target #2 :- making this game into a oops concept.

output :-

Hints :-
• create three square.
• Try to use co-ordinate which help them to position in correct way.
• Movement must be last to first.

Top comments (0)