<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/i-like-game-programming-kfmmrwt2c" -->

---
title: I like Game Programming | daily.dev
description: ThePrimeagen shares progress on a tower defense game built in Odin, covering two main topics: a custom stack-based UI framework with flex layout support, and a...
canonical: https://daily.dev/posts/i-like-game-programming-kfmmrwt2c
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: I like Game Programming | daily.dev
og:description: ThePrimeagen shares progress on a tower defense game built in Odin, covering two main topics: a custom stack-based UI framework with flex layout support, and a...
og:url: https://daily.dev/posts/i-like-game-programming-kfmmrwt2c
og:image: https://api.daily.dev/og/posts/kFmmrwT2C.png
og:image:alt: I like Game Programming
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# I like Game Programming

**[YouTube](https://daily.dev/sources/youtube)** · 8 min read · 7 upvotes · 0 comments

## Summary

ThePrimeagen shares progress on a tower defense game built in Odin, covering two main topics: a custom stack-based UI framework with flex layout support, and a snapshot-based visual regression testing system. The UI system uses a tree-building approach where elements can be configured inline, including animations and positioning. The testing system records mouse interactions and UI states as 'golden' reference images, then replays them deterministically to catch regressions automatically. This approach combines unit tests for logic with integration-style screenshot comparisons, integrated into a CI-like task runner that also cross-compiles for Windows, Mac, and ARM. The project is at 13,000 lines of code with plans to add tower placement and enemy movement next.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://www.youtube.com/watch?v=G8vdu30EEfw>

---

Tags: [#game-development](https://daily.dev/tags/game-development)

[View this post on daily.dev](https://daily.dev/posts/i-like-game-programming-kfmmrwt2c)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"I like Game Programming","url":"https://daily.dev/posts/i-like-game-programming-kfmmrwt2c","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/i-like-game-programming-kfmmrwt2c"},"datePublished":"2026-07-18T22:33:52.548Z","dateModified":"2026-09-14T08:02:17.950Z","description":"ThePrimeagen shares progress on a tower defense game built in Odin, covering two main topics: a custom stack-based UI framework with flex layout support, and a...","image":"https://i.ytimg.com/vi/G8vdu30EEfw/sddefault.jpg","thumbnailUrl":"https://i.ytimg.com/vi/G8vdu30EEfw/sddefault.jpg","isAccessibleForFree":true,"articleSection":"YouTube","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"YouTube","logo":"https://media.daily.dev/image/upload/s--W5zMumpP--/f_auto/v1725350181/logos/youtube","url":"https://daily.dev/sources/youtube"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/i-like-game-programming-kfmmrwt2c","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":7},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"game-development","timeRequired":"PT8M","video":{"@type":"VideoObject","name":"I like Game Programming","description":"ThePrimeagen shares progress on a tower defense game built in Odin, covering two main topics: a custom stack-based UI framework with flex layout support, and a...","thumbnailUrl":"https://i.ytimg.com/vi/G8vdu30EEfw/sddefault.jpg","uploadDate":"2026-07-18T22:33:52.548Z","duration":"PT8M","url":"https://api.daily.dev/r/kFmmrwT2C","embedUrl":"https://www.youtube.com/embed/G8vdu30EEfw"}}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"YouTube","item":"https://daily.dev/sources/youtube"},{"@type":"ListItem","position":3,"name":"I like Game Programming"}]}
```

