Snake Rewind: Building a Retro Snake Game in C with Raylib

Follow along as we rebuild the classic Snake game but with a retro twist. In this series we're coding Snake Rewind from scratch in C using Raylib, layering on everything from pixel perfect visuals to clone enemies, cinematic shaders and juicy arcade feedback.

Curated by: Let's Reinvent the Wheel (8 videos)


Currently Playing: Past Self, Present Danger: Clone Snake Mechanics [Snake Rewind Ep 4]

๐Ÿ In Episode 4 of *Snake Rewind* your past becomes your enemy. This episode introduces one of the most unique mechanics in the series: *clone snakes* that retrace your exact path with deadly precision. Every time you eat food, a new clone spawns and your own movement history becomes a trap waiting to happen. ๐ŸŽฎ What we cover: - Recording the player's movement path - Spawning clone snakes that replay that path - Using `player_path_idx` to time clone movement - Shrinking clones over time (and removing them) as the player eats food This is the turning point: Snake Rewind is no longer a remake; it's a retro arcade survival game with real spatial strategy. ๐Ÿ“บ Full Snake Rewind Series Playlist: https://www.youtube.com/playlist?list=PLI7p1zrAYQeUb67kPtsyduLk1aJChzIQZ ๐Ÿ“– Companion Blog Post: https://letsreinventthewheel.github.io/blog/snake-rewind-ep4/ ๐Ÿง  Source code: https://github.com/letsreinventthewheel/snake-rewind Snake Rewind isn't just a remake. It is Snake with a twist: - ๐Ÿ Clone snakes that retrace your path - โœจ Retro shaders: bloom, scanlines, chromasep - ๐ŸŽฎ Reactive UI, game feel, and juicy feedback - ๐ŸŽง Music and SFX polish (hopefully we can find free sounds) ๐Ÿ’ฌ Got questions? Drop a comment. ๐Ÿ‘ Like what you see? Hit the like button. ๐Ÿ“Œ Want more projects like this? Subscribe and stay tuned... 00:00 Previous episode recap 00:16 Episode goals 00:37 Saving player's path 02:25 Introducing SnakeClone 03:43 Spawning snake clone 07:30 Displaying the clones 10:00 Making clones move 13:34 Drawing player and clone overlap 17:25 Reduce clone size when food is consumed #programming #cprogramming #coding #gamedev #raylib


Tracks in this Playlist

โœ… Progress Tracking

Automatically track which videos you have watched. Your completion status is updated at a glance, preventing you from re-watching episodes by mistake.

โฏ๏ธ Resume Playback

Never lose your spot. Our custom player remembers your exact video and timestamp, allowing you to dive right back in seamlessly.

๐Ÿ“ฑ Cross-Device Sync

Sync your playlist states, watched progress, and premium preferences across your desktop, laptop, tablet, and mobile phone automatically.

Start Organizing Your YouTube Playlists

Simply paste any YouTube playlist URL or channel link in the application search bar to immediately generate a custom, sorted, and progress-tracked workspace. No registration required to start.

Explore Playlist Guides & How-Tos