I like Game Programming
Video Overview & Insights
Twitch : https://twitch.tv/ThePrimeagen
Currently working on a mod for an old game. Someone have done a fantastic job creating lua bindings for the game. Lua is fine for small things, but my mod have many thousand lines of Lua, Which is a bit painful.
Discord: https://discord.gg/ThePrimeagen
Support me (by becoming a backend dev): https://boot.dev/prime
very cool
Get production ready SQLite with Turso: https://turso.tech/deeznuts
More User Perspectives
@ThePrimeagen ... when we can have beta testing version ... where to subscribe for it :)
@ikirachenDoes he use LLM?
@ooker777dude I love your content. You are the godzilla of social media
@WCArenaGolden master testing is a beautiful thing, having things deterministic, stripping the non deterministic stuff out. Has served me well over the years for many migrations projects. It really is a game changer.
@Mykezero1:24 The problem with building an UI system is that you're not building the game, lol.
It's a tower defense game sir, you can just "hardcode" the 5 UI elements, it's fine.
These are my favourite videos
@paxdriverSo he basically made acceptance tests, right?
@eric8788-g3gNice Eminem reference!
@nelsonchandler7048Deterministic end-to-end testing with CI gates = happy
@xormanaren't end-to-end walkthrough commons ?
@baptisteg4728Glad you are enjoying game programming. I remember saying you should challenge yourself and do some gamedev!
@distortions1I'd be happy with just 150 LoC everyday.
dude I heard you kinda talked about "why think so much, just code".
ya, I'm not 20 years coding serious job experience like you. so if I don't think, I don't know what to even code in the first place.
and it takes so long to just think about some simple things.
if I survive another 20 years, maybe I'll be able to code without thinking as much.
but who knows ?
I did something very similar but built it as visual invariants rather than per pixel checks. Lets me test if a statement is still true even when at a pixel level things actually are changing. Both have value but I have always found per-pixel checks tend to break often and hence be a significant maintenance burden.
@notapplicable7292If you calculate your ui without decimals, you goldens are platform independent, because your calculation is the same independent from hardware.
@p0r5ch3911Another comment about snapshot tests
@pixelfingersYou should skip the game and just build a web browser bro.
@oracleofwaterReal life human programming in based language very cool
@Awesomer5696Casey got him. RIP Frontend Javascipt-agen. RIP.
@bug5654Shhhh. Here we have a rare ThePrimeagen sighting in his natural habitat. Be very quiet so we don't scare him off.
@GhostOfSatoshiHonestly I love snapshot testing when working with compilers and things, but still coudn't figure out how to use it in ordinary work :(
@kamushekdevDidn't Casey say that he didn't think these snapshot based tests were very useful in his opinion, as it's pretty obvious when the UI breaks? Is there a reason why you disagree with him and decided to continue down this path?
@briankzimmerThis is a good idea, nice
@DH-oj2ruman wrote selenium for games
@maciej002Demo-Driven-Development
@thurston04Looks like so much fun
@DntSayGoodbyeToMeNo game done but game developer
@Arnioresfunny, all my projects are also 80% ready all the time
@joesryifyI've been doing a similar thing with my project at times, creating visual snapshots of things, however it's more just for debugging. Like I had a compute shader that I had to figure out, and it was too hard to think through the issue just in my head, so I had it print out the result of the shader every frame or so to a small image. Then I could compare each frame. The only difference is I compared it with my eyes instead of AI, lol.
@ZacChien1You've just created snapshot testing, but like, with REAL, LITERAL, snapshots
@MatheusAshtonyes me too bro but I'm stupid
@ArzuparretaFun fact minecraft kinda can have that
@Julienraptor01Yo who's doing the pixels I wanna know. Is it Prime himself? There's no way he's so talented also at art right? Those are real talented sprites and font choice.
@GroaznicReminds me of E2E and Jest snapshots. Could you please create an E2E for the Odin community?
@shots_of_leoTesting was the one thing that overwhelmed me and pushed me out of programming
@wallacesantos0YouTube sent me another title for the same video: In German “Ich mag Spieleprogrammierung“
@kahnfatmangame content is always good
more pls.
Still no game...
@poorlittlemonkeyQA Testers hate this guy because of one weird trick
@MrBreakstuffBro read an article saying llms understand images better than text and immediately created a test framework based on this.
Absolute DOAT.
Really? 😂😂😂😂😂😂
@littlebulliLet him cook.
@michag7163Why didn't you use yoga or clay?
@user-93fekod1oi'm doing a game engine (odin btw), and that way of testing gave me a pretty cool idea, imagine if the engine already did that for you? my engine is specialized so i think that would fit better compared to more generalist engines
@lokopetoI tried something like that for recording ghost cars in a racing game in Flash Actionscript 2, and it was NOT deterministic.
@xyzzy12345now implement rollback netcode
@vmarcelo49yeah sure but what if you want to change the visuals
your goldens are wrong now
and sure you can regenerate them but now you have to be extra sure they didn't f up something else in the layout