← Back to Projects

Programming Project

snek_game

Classic snake gameplay with food collection, wall avoidance, and growth mechanics.

Role: Gameplay Programmer

Tools: SDL2, C++

Duration: 4 weeks

snek_game screenshot

Overview

Project Description

Use this page to describe the game loop, grid movement, collision checks, score handling, and how food placement avoids occupied snake tiles.

Replace this placeholder text with your final write-up, design goals, challenges, and what you learned.

Technical Block

Technical Focus

  • SDL2 window/input handling
  • Fixed-step movement on a grid
  • Self-collision and wall-collision logic
  • Score and growth systems
  • Linked list data structure

Picture Block

Screenshot / Render

snek_game screenshot

Use this block next to a technical or descriptive block when you want an image to explain the work visually.

Snippet Block

Code Snippet

// Example placeholder: replace this with your snake movement logic.
void updateSnake(Direction direction) {
    // move head
    // check collision
    // grow or remove tail
}

Description Block

What This Block Explains

Use this space to explain what is happening in the snippet or image beside it. This can be a short technical breakdown, a before/after explanation, a lighting note, a gameplay-system explanation, or a plain-language summary of your process.

You can duplicate these blocks later to pair more snippets, screenshots, and explanations together.

Gallery

Images