Write as much code as you can as black boxes so you can write unit tests for them. I've never written a class I then wrote unit tests for that I didn't find a bug or two in.
Yes there are plenty of places you can write unit tests in games! Almost all systems can be distilled into a manipulatable data structure. How your game code interacts with and uses them is testable.
For instance I have a heavily tested class that manages day/night/time progression. Also my item & inventory management.
I'm planning to write a simple game engine from scratch. Goal is to have as few dependencies as possible.
I think I finally know enogh math / cs to do it. I don't have any working code base yet. But I've already started to put things together, and it is going really well so far :--)
Wifey @alice started a new masto instance over at http://queer.town
It's a town for queers! Zero tolerance policy on dickheads. Why not help up build the gayest town around? I'm @Fiona@queer.town
My fun and/or #queer #recommendations in rough order - share yours with me
Comics: Giant Days, Lumberjanes, Goldie Vance, Unbeatable Squirrel Girl, Ms. Marvel
Webcomics: Scary Go Round, Paranatural, Dumbing of Age
Cartoons: Steven Universe, Gravity Falls, We Bare Bears, Star vs. the Forces of Evil
TV: My Brother, My Brother and Me; iZombie
YouTube: Polygon (shows: Monster Factory, Touch the Skyrim, Car Boys)
Only just started rewatching the rock aaaaand.. Is this the best/worst gravestone ever? There's no matching one! "her husband" is still alive!! https://mastodon.social/media/_Y4xkFmtAX_6YGdnfek
I've never loved magikarp more than i do right now https://www.youtube.com/watch?v=H3x3-22Gi3g #pokemon
when you really want a thing but have literally no idea what you'd do with it https://www.amazon.co.uk/gp/product/B01D32Y980/
I'm a game developer currently working on a futuristic cartoon-y farming sim.
Personal account: @Fiona