denizcanyldz / s28330-SnakeGame

0 stars 0 forks source link

Proof of Concept (POC) for Core Snake Mechanics #3

Open denizcanyldz opened 6 months ago

denizcanyldz commented 6 months ago

Description: Develop a barebones demonstration of the Snake game's fundamental movement, collision, and food interaction to validate their technical feasibility.

Specific Requirements:

Representation: Choose a simple display method (basic graphics) for the POC. Snake Implementation: Create a data structure (e.g., a list) to represent the snake's segments. Movement: Implement logic for updating the snake's position based on a single directional input (no controls yet, just hardcoded movement for testing). Rudimentary Boundaries: Handle the snake hitting the edges of the play area. Single Food Item: Generate a single food item at a random location. Collision Detection: Implement a check for the snake's head colliding with the food item. Expected Outcomes A basic visual display with a movable snake. The snake correctly detects collisions with the boundaries. The snake 'consumes' the single food item upon collision, demonstrating the core growth concept (no score tracking yet). Assignees:

Deniz YILDIZ (solo project)