<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Valentin Briukhanov on Medium]]></title>
        <description><![CDATA[Stories by Valentin Briukhanov on Medium]]></description>
        <link>https://medium.com/@bryukh?source=rss-777cd182afcf------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*UPtUhnzznOLHUGFTVcpL2g.png</url>
            <title>Stories by Valentin Briukhanov on Medium</title>
            <link>https://medium.com/@bryukh?source=rss-777cd182afcf------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 01 Dec 2026 16:21:34 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@bryukh/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Back to Writing… Myself]]></title>
            <link>https://medium.com/@bryukh/back-to-writing-myself-101dde056ea2?source=rss-777cd182afcf------2</link>
            <guid isPermaLink="false">https://medium.com/p/101dde056ea2</guid>
            <category><![CDATA[llm]]></category>
            <category><![CDATA[thoughts]]></category>
            <category><![CDATA[writing]]></category>
            <dc:creator><![CDATA[Valentin Briukhanov]]></dc:creator>
            <pubDate>Fri, 03 Apr 2026 08:57:23 GMT</pubDate>
            <atom:updated>2026-04-03T09:01:27.363Z</atom:updated>
            <content:encoded><![CDATA[<p>I started to use LLMs for writing before GPT got Chat- prefix. As English is the second language for me, AI helped me a lot to improve my writing and style. It was a huge boost to get your “personal editor”.</p><p>However, the more I used LLMs less I enjoyed writing. Hobby became routine and boring work, where I don’t create but some “layer”. So I slowly lost interest in writing blogs and articles. And I’m going to change it and return to writing, but only myself.</p><p>I’m not an anti-AI guy. I’m using it a lot in work and daily life; however, I prefer to use it for tasks that I don’t enjoy or where LLM can save me a lot of time on boring repetitive stuff. Like processing tons of JSON/spreadsheets, finding certain information in “too watery documentation”, collecting data about the required topic, and so on. However, the most “tasty” parts I leave for myself as writing Game Design ideas or doing some tricky algorithm, otherwise you can burn yourself out too fast. Well, even for such tasks, LLM can be useful — for example, I use it as “talking rubber duck” (extending classic rubber duck debugging) to brainstorm ideas and criticize and review myself — I found such usage doesn’t “drain fun” from my work.</p><p>So what Im going to do next? I’m going to write blogs, articles, and just silly thoughts. I know it will probably drown in the ocean of AI-slop content which flooded the internet nowadays. Ok. I don’t care. I’m going to write because I enjoy this process, not for likes.</p><p>Of course, it’s enjoyable to get some appreciations, but IMHO it should not be the goal — side-effect maybe. So the first step is to disable Copilot and AI-helper for markdown files. Ok, grammar checker still here, but “style it to…” — disabled. Let’s return some joy to our hobbies, which we can share with other human beings.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*czX8H9uqhjWjCtxK5S4y8A.jpeg" /></figure><p>P.S.: The picture is Alan Wake, as for some reason this story comes to my mind here, no idea why.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=101dde056ea2" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Uncomfortable Games]]></title>
            <link>https://medium.com/@bryukh/uncomfortable-games-c2ed0e65ea76?source=rss-777cd182afcf------2</link>
            <guid isPermaLink="false">https://medium.com/p/c2ed0e65ea76</guid>
            <category><![CDATA[videogames]]></category>
            <category><![CDATA[gamedesing]]></category>
            <dc:creator><![CDATA[Valentin Briukhanov]]></dc:creator>
            <pubDate>Mon, 06 Oct 2025 07:33:38 GMT</pubDate>
            <atom:updated>2025-10-06T07:33:38.381Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*DPG9a88gTYoi1ICmZBV-Ew.png" /><figcaption>Dark Cyber Punk Illustration (AI Generated)</figcaption></figure><p>Choosing a game to start when completing the previous one is not always an easy task. What about taking something AAA and trying to play it? Especially when it’s in your backlog for years?</p><p>Ok, this one looks interesting and looks very polished after many patches. Futuristic setting, RPG mechanics, and a deep story. Sounds good. I love complex RPGs, sci-fi books were always under my pillow, and the graphics look very polished.</p><p>So, let’s start! A few hours later, I got to the story, completed a few missions, got my first gear, and upgrades. Everything looks good, and I should love this game, right?</p><p>But, I don’t, I just feel uncomfortable, too many things remind me of the unpleasant side of reality and the future. It’s the case when “the problem is not you but me”. I know, it sounds like a bad cliche for a broken relationship. However, sometimes it just happens. You feel the game setting or the story is uncomfortable for you. Maybe it’s because of your previous experience or personal life traumas. It just happens.</p><p>There are many games that I am not playing even if I know they are really good. But I know I won’t enjoy them, just because some elements are uncomfortable for me. I don’t want my personal subjective “uncomfortableness” to put the great game as something not good in my game designer toolbox,</p><p>But I can’t ignore it, I need to learn from the best game designers and developers, and make my own decisions. Usually, in this case, I have to go to “soulless reviews” and deconstructs of these games. And leave these games in my special “maybe later” list.</p><p>I hope someday I will be able to play them and enjoy them.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*DPG9a88gTYoi1ICmZBV-Ew.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c2ed0e65ea76" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[AI, Absurdity, and Learning Faster]]></title>
            <link>https://medium.com/@bryukh/ai-absurdity-and-learning-faster-2fdea0e9648e?source=rss-777cd182afcf------2</link>
            <guid isPermaLink="false">https://medium.com/p/2fdea0e9648e</guid>
            <category><![CDATA[productivity]]></category>
            <category><![CDATA[learning]]></category>
            <category><![CDATA[ai]]></category>
            <dc:creator><![CDATA[Valentin Briukhanov]]></dc:creator>
            <pubDate>Mon, 10 Feb 2025 16:08:30 GMT</pubDate>
            <atom:updated>2025-02-10T16:08:30.433Z</atom:updated>
            <content:encoded><![CDATA[<p>Imagine a fox standing in the doorway on the roof of an English manor, gripping the frame with all its limbs as the strongest wind blows. Or picture a certain green ogre (you know who, but let’s dodge copyright paranoia) standing in front of an igloo, trying to weigh the sun against a one-pound weight, just to figure out what time it is. Weird, right? If you can’t easily imagine this, maybe some text-to-video AI can help. In fact, the weirder, the better. Oh, wait — I haven’t told you why yet. Here’s a hint: 风 (wind) and 时 (time).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/480/1*HH3kyA2CvffLmvsKTVwgqw.gif" /><figcaption>AI generated gif — green ogre standing in front of an igloo, trying to weigh the sun against a one-pound weight.</figcaption></figure><p>About six months ago, I started learning Chinese and passed the HSK1 exam in just three months. However, I quickly realized that I needed to memorize many characters, and my learning speed was painfully slow. Even worse — keeping them in my memory wasn’t as easy as I had thought, especially the tones. That’s why I researched memory techniques and chose the Memory Palace method. After adapting it to my needs, my learning speed skyrocketed. Even better, I could retain the characters in my memory for much longer.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/320/1*cKLLt-UVY0X0v_4LPomegg.gif" /><figcaption>AI generated gif — a fox standing in the doorway on the roof of an English manor</figcaption></figure><p>To use this technique, you must first create a spreadsheet with initials, finals, and tones and learn how to use it. It just takes time and patience — you can do it in a week, easily. But the next step is where imagination and visualization come in. That was never a problem for me — I’ve spent years immersed in video games, so my brain naturally builds wild, colorful scenes. But the more I talked to others, the more I realized that not everyone finds it easy to picture absurd, detailed scenarios packed with vivid elements. And in memory techniques, the crazier the scenario, the better it works.</p><figure><img alt="Dall-e — Futuristic cybernetic librarian" src="https://cdn-images-1.medium.com/max/1024/1*sV6lzHd8XTx7M4yZa1dZvA.jpeg" /></figure><p>So, what if we had a tool that could instantly create absurd, animated scenes for us? And I think you’ve already seen plenty of these short videos recently. Yes, I’m talking about AI-generated videos — text-to-video AI models. Just type your scene as a prompt, and you’ll have a bizarre, memorable short video in seconds. The best part? You don’t need perfect visuals. Artifacts, distortions, weird object blending — these imperfections make the video even more memorable. More anchors mean easier recall.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*X0736LYHr6w-jytVIlel3g.jpeg" /><figcaption>Dall-e — Robot builds memory palace</figcaption></figure><p>We often think of AI as a tool for creating polished visuals. But what if we used it for something messier that thrives on imperfection? Like how we use LLMs for brainstorming and idea generation, crazy “broken” stories can feed our brains better than perfect ones. Sure, AI pulls from existing knowledge, but the story is still ours. Maybe AI can be our crazy muse.</p><p>#productivity #ai #memory #learning #texttovideo #aiart #edtech #gamersmind</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2fdea0e9648e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Video Recommendation — Deep Dive into LLMs like ChatGPT]]></title>
            <link>https://medium.com/@bryukh/video-recommendation-deep-dive-into-llms-like-chatgpt-3f26fda3084f?source=rss-777cd182afcf------2</link>
            <guid isPermaLink="false">https://medium.com/p/3f26fda3084f</guid>
            <category><![CDATA[llm]]></category>
            <dc:creator><![CDATA[Valentin Briukhanov]]></dc:creator>
            <pubDate>Fri, 07 Feb 2025 16:20:38 GMT</pubDate>
            <atom:updated>2025-02-07T16:20:38.642Z</atom:updated>
            <content:encoded><![CDATA[<h3>Video Recommendation — Deep Dive into LLMs like ChatGPT</h3><p>TLTR: Just this video</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2F7xTGNNLPyMI%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D7xTGNNLPyMI&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2F7xTGNNLPyMI%2Fhqdefault.jpg&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/d33557eea15a6923c1efe129f3d8d8eb/href">https://medium.com/media/d33557eea15a6923c1efe129f3d8d8eb/href</a></iframe><p>Most of us are using LLMs for work these days. Personally, I use them across multiple domains:</p><ul><li>Software Engineering — Tools like Copilot, Cursor, and Claude help streamline coding, debugging, and refactoring.</li><li>- Game Design — Perplexity is great for finding references, while GPT assists with documentation and game design documents and acts as a “brainstorming companion.”</li><li>- Art Direction — My ugly sketches paired with DALL-E or MidJourney help me create better references and make clearer art requests for artists.</li><li>- Data Analysis — Here, my choice is Claude while still in the process of testing.</li><li>- Language Learning — Let’s be honest, HSK textbooks are dry and outdated. GPT + DeepSeek makes learning Chinese and Serbian much more interactive and engaging.</li><li>- Social Media — I still prefer to write texts myself, but I need a good editor to help with grammar and style.</li></ul><p>Since we rely on these tools so much, it makes sense to understand them better. You don’t need to be an LLM researcher, but knowing basic concepts like tokens, context windows, or fine-tuning can significantly improve your use of them.</p><p>It’s like understanding steel types when choosing the correct hammer or knowing about shoes to adapt your running technique for different weather or road conditions.</p><p>For those interested, I highly recommend Andrej Karpathy’s latest video, “Deep Dive into LLMs like ChatGPT.” 🚀 Warning: it’s 3.5 hours long, but trust me, it’s way more interesting than a Hollywood blockbuster (at least for me — I usually fall asleep 30 minutes into any action movie, but here, I couldn’t stop watching).</p><p>I’d love to hear your recommendations for other videos, books, or podcasts on LLMs!</p><p>#AI #LLM #Productivity #GameDev #AIforWork #DeepLearning</p><p>Deep Dive into LLMs like ChatGPT by Andrej Karpathy</p><p><a href="https://youtu.be/7xTGNNLPyMI?si=a5CwTlscxjqcDze6">https://youtu.be/7xTGNNLPyMI?si=a5CwTlscxjqcDze6</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3f26fda3084f" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Lua needs more love]]></title>
            <link>https://medium.com/@bryukh/lua-needs-more-love-e8c52669e2ed?source=rss-777cd182afcf------2</link>
            <guid isPermaLink="false">https://medium.com/p/e8c52669e2ed</guid>
            <category><![CDATA[game-development]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[lua]]></category>
            <dc:creator><![CDATA[Valentin Briukhanov]]></dc:creator>
            <pubDate>Tue, 04 Feb 2025 16:18:59 GMT</pubDate>
            <atom:updated>2025-02-04T16:18:59.105Z</atom:updated>
            <content:encoded><![CDATA[<p>Three years ago, I became familiar with Lua for an interview test task. Before that, I had no experience with it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*vaLzLDU8TMBFH0-Irl1HVg.png" /></figure><p>So, my first surprise was how easy it was to learn and start using it. Yes, complained a little about the “continue” statement, but it was easy to get used to.</p><p>The next time I got to Lua it was when we started to work on CodeCombat Worlds — Educational Game on the Roblox platform to teach kids programming. So yes, we used Luau. Luau is an extension of Lua with some improvements, such as type-checking and other features. I already have experience with interpreting languages, so getting used to Luau for game development was easy. When I started to use it, I was a little skeptical that we could use it for our ambitious project. I was wrong, and I was happy to be wrong. Lua is an excellent language for game development and scripting. I like its simplicity and straightforwardness.</p><p>When I recently decided what game engine to play with, I found that Defold is using Lua. It’s an excellent choice for this game engine as it highlights its simplicity. I’m not sure I would use Defold for big projects; however, it’s an excellent choice for small projects, especially educational games, because it is easy to make HTML5 games with it (Hello Chromebooks in schools!).</p><p>If you are interested in more technical details, I would recommend the article <a href="https://nflatrea.bearblog.dev/lua-is-so-underrated/">“Lua is so underrated” by Noë Flatreaud</a>, which inspires me to write this post.</p><p>#GameDev #Lua #Defold #Roblox #CodeCombat #EducationalGames #HTML5Games #Chromebooks</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e8c52669e2ed" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Let’s Return to Indie Gaming]]></title>
            <link>https://medium.com/@bryukh/lets-return-to-indie-gaming-cdc10e869122?source=rss-777cd182afcf------2</link>
            <guid isPermaLink="false">https://medium.com/p/cdc10e869122</guid>
            <category><![CDATA[indie-game]]></category>
            <category><![CDATA[videogames]]></category>
            <category><![CDATA[game-development]]></category>
            <dc:creator><![CDATA[Valentin Briukhanov]]></dc:creator>
            <pubDate>Mon, 06 Jan 2025 18:31:34 GMT</pubDate>
            <atom:updated>2025-01-06T18:31:34.037Z</atom:updated>
            <content:encoded><![CDATA[<p>There’s something special about indie games — a spark of creativity, a touch of charm, and a refreshing sense of freedom that big-budget titles often lack. Recently, I’ve felt the need to step away from the usual gaming grind and find that joy again. I’m taking a break and heading back to the roots of gaming, where indie games shine the brightest. That idea is not mine — it was from the youtube channel <a href="https://www.thebestindiegames.com/">Clemmygames</a></p><figure><img alt="AI Generated — Dall-e — a boy enjoy videogames" src="https://cdn-images-1.medium.com/max/1024/1*QHj-3ayKYr1f9N8aigoHdA.png" /></figure><h3><strong>Taking a Break from Freemium and Multiplayer</strong></h3><p>Freemium games and competitive multiplayer titles seem to dominate gaming these days. They can be fun and rewarding, no doubt. I’ve enjoyed my fair share of both. But lately, they’ve started to feel more like work than play. Freemium games bring endless dailies, weeklies, and events designed to keep you hooked, while multiplayer games often come with pressure and, let’s be honest, a fair amount of toxicity.</p><figure><img alt="AI Generated — Dall-E — Gamer tired of FOMA" src="https://cdn-images-1.medium.com/max/1024/1*xDs2PbZxgaoWOYGSW8Z-PQ.png" /></figure><p>I don’t judge — after all I have been making as freemium as multiplayer competitve games too. These games have their place, and they can be amazing. But every now and then, it’s good to take a step back. Just like we need breaks from work, we need breaks from certain kinds of games to remember why we started playing in the first place.</p><h3><strong>Why Indie Games?</strong></h3><p>Indie games bring something different to the table. They’re often made by small teams or even solo developers, and they’re all about creativity, storytelling, and unique ideas. Without the pressure of giant budgets or market demands, indie developers can take risks and create games that feel deeply personal.</p><figure><img alt="AI Generated — Dall-e — game developer create a world where display as window" src="https://cdn-images-1.medium.com/max/1024/1*0QSMks7QBT0MpzN90732SQ.png" /></figure><p>Think about the calming beauty of <em>*Journey*</em>, the heartfelt story of <em>*Celeste*</em>, or the strategic fun of <em>*Slay the Spire*</em>. These games remind us that gaming isn’t just about winning or climbing leaderboards — it’s about exploring, creating, and connecting with something bigger.</p><h3><strong>Shining a Light on Educational Games</strong></h3><p>One area where indie games truly stand out is in education. Most of the best educational games come from small, passionate teams who pour their hearts into making learning fun. Games like <em>*CodeCombat*</em>, <em>*Human Resource Machine*</em>, and <em>*Kerbal Space Program*</em> show how much potential there is when gaming meets education.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ccIQ0Mu6yqbWrNFZ0JI2Gg.png" /></figure><p>These games don’t always get the attention they deserve, but they’re changing how we think about learning. By blending gameplay with educational goals, indie developers are showing that learning doesn’t have to be boring. They’re paving the way for innovative approaches in classrooms and beyond. These games deserve more love — not just from players, but from educators and schools looking to inspire.</p><h3>Rediscovering the Joy of Gaming</h3><p>For me, going back to indie games isn’t just about playing different titles; it’s about finding that pure, simple joy in gaming again. Indie games cut through the noise and offer experiences that stay with you long after you’ve put down the controller. They’re perfect for quiet nights, moments of reflection, or just a break from the hustle of today’s gaming trends.</p><figure><img alt="AI Generated — Dall-e — relaxed video games" src="https://cdn-images-1.medium.com/max/1024/1*9Ne_OS-aTHh7YyeoWDcyvw.png" /></figure><p>So, if you’re feeling burned out from the constant grind of freemium or multiplayer games, give indie games a shot. You might just fall in love with gaming all over again.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=cdc10e869122" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Hidden Risk of the Bus Factor in Game Development]]></title>
            <link>https://medium.com/@bryukh/the-hidden-risk-of-the-bus-factor-in-game-development-970fc9b391ac?source=rss-777cd182afcf------2</link>
            <guid isPermaLink="false">https://medium.com/p/970fc9b391ac</guid>
            <category><![CDATA[teamwork]]></category>
            <category><![CDATA[game-development]]></category>
            <category><![CDATA[management]]></category>
            <dc:creator><![CDATA[Valentin Briukhanov]]></dc:creator>
            <pubDate>Fri, 03 Jan 2025 17:28:48 GMT</pubDate>
            <atom:updated>2025-01-03T17:28:48.956Z</atom:updated>
            <content:encoded><![CDATA[<p>A few years ago, I came across the term “bus factor” — the number of people on a team who could be hit by a metaphorical bus before a project comes to a halt. At the time, one of my colleagues jokingly called me a “bus factor of 1,” and I didn’t think much of it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*sF_Pxk2nPaGuQxIvTROWFQ.png" /></figure><p>But as I reflect on my career, especially my experiences in small and medium-sized teams, the weight of that term becomes clear. In retrospect, I can see how often our teams unknowingly operated with a bus factor of 1 in key areas. It’s not just about the obvious risks like illness or unexpected absence; it’s about the fragility of relying too heavily on any one person to carry a critical part of the project.</p><p>Health is unpredictable, and game development is fast-paced, often chaotic, and highly specialized. A single person’s expertise might be the glue holding together a critical system, feature, or tool. When that happens, the entire project is vulnerable. Relying on “the one” might seem efficient in the short term, but it’s a ticking time bomb for the long-term health of both the project and the team.</p><h3>The Hidden Costs of Being “Irreplaceable”</h3><p>Being labeled as “irreplaceable” might feel flattering at first, but it’s a double-edged sword. For the individual, it’s a source of constant stress. You’re always on call, always the go-to person, and the weight of that responsibility can feel overwhelming. For the team, it’s a bottleneck waiting to happen. What if you’re unavailable? What if you leave the company? Suddenly, the “irreplaceable” status becomes a liability rather than an asset.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*FFUB3_l_lGLmU--dS3QIOQ.png" /></figure><p>Over the years, I’ve learned that the healthiest and most successful teams are those that actively work to reduce their bus factor. Sharing knowledge isn’t just a nice-to-have; it’s essential for a resilient workflow.</p><h3>Strategies to Mitigate the Bus Factor</h3><p>Here are some steps I’ve found useful in reducing the bus factor on my teams — though I’ll admit, I’m not perfect at following them myself. I’ve broken these rules before and each time, I’ve regretted it:</p><ol><li><strong>Document Everything</strong>: Create clear, accessible documentation for key processes, systems, and workflows. If someone needs to step in, they shouldn’t be starting from scratch.</li><li><strong>Encourage Knowledge Sharing</strong>: Regularly hold knowledge-sharing sessions. Let team members present their work, explain their tools, and walk others through their processes.</li><li><strong>Cross-Train Team Members</strong>: Encourage team members to learn each other’s areas of expertise. Cross-training creates flexibility and ensures continuity even if someone is unavailable.</li><li><strong>Delegate and Mentor</strong>: Actively delegate tasks and responsibilities to juniors or less experienced team members. This not only reduces reliance on one person but also builds the skills of the entire team.</li><li><strong>Foster a Collaborative Culture</strong>: Create an environment where collaboration is the default. Teams that freely exchange ideas and support each other are naturally more resilient.</li></ol><h3>Why This Matters in Game Development</h3><p>Game development is unique in its blend of creativity and technical expertise. Every project brings a mix of new challenges, tools, and workflows. It’s easy to fall into the trap of relying on “the expert” for a particular system or feature. But the very nature of game development — with its iterative processes and tight deadlines — makes a low bus factor critical. A delay in one area can cascade across the entire project, impacting everything from gameplay to delivery timelines.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ovnbXkJeAwEezIbT1anhiA.png" /></figure><p>Moreover, the high-pressure environment of game dev often leads to burnout, making it even more important to ensure that no single individual feels the weight of the entire project on their shoulders. A balanced workload and a collaborative, knowledge-sharing culture benefit everyone.</p><h3>Final Thoughts</h3><p>In the end, a high bus factor is a risk not just to projects but to people. Sharing knowledge, delegating tasks, and fostering collaboration are more than just management practices — they’re a way to ensure that teams are healthy, projects are resilient, and individuals can grow without the constant stress of being “irreplaceable.”</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=970fc9b391ac" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Camouflage of Cards: My Thoughts on Voice of Cards as a Game Developer]]></title>
            <link>https://medium.com/@bryukh/the-camouflage-of-cards-my-thoughts-on-voice-of-cards-as-a-game-developer-e073f3752d8e?source=rss-777cd182afcf------2</link>
            <guid isPermaLink="false">https://medium.com/p/e073f3752d8e</guid>
            <category><![CDATA[video-games-industry]]></category>
            <category><![CDATA[game-design]]></category>
            <category><![CDATA[videogames]]></category>
            <dc:creator><![CDATA[Valentin Briukhanov]]></dc:creator>
            <pubDate>Mon, 04 Nov 2024 11:48:11 GMT</pubDate>
            <atom:updated>2024-11-04T11:48:11.748Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*eBWF1FY0DV0Z7qAJHgmm-Q.jpeg" /></figure><p>I tried Voice of Cards: The Beasts of Burden this weekend, a turn-based RPG with a card-based battle system. Initially, I assumed it was purely a card game because of how cards are integrated everywhere. I didn’t know it was part of a series — I hadn’t even realized there was one.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*yyC2Y5r4zVEuSSURWeM22g.jpeg" /><figcaption>Steam Screenshot Voice of Cards: The Beasts of Burden</figcaption></figure><p>As for the game itself, it’s decent. If you’re into narrative-driven experiences, you might really enjoy it. It felt too slow and easy for me, almost like an interactive novel. The art, though? Absolutely stunning — beyond praise, really. But after playing for a few hours, I couldn’t shake the feeling that it’s just a classic JRPG underneath all the cards. Yep, the cards feel more like a disguise.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*b7Z9L424xtrZtO-s6-5LDw.jpeg" /><figcaption>Steam Screenshot Octopath Traveller</figcaption></figure><p>Strip the cards away, and the gameplay remains familiar, akin to what you’d find in the Final Fantasy series — right down to the battles and world exploration. So, why include cards at all? In actual deck-building games like Slay the Spire, the card mechanics — drawing, discarding, shuffling — are integral. They add strategic depth and randomization, influencing decisions like how thick your deck should be. But in Voice of Cards, this card layer quickly starts to feel redundant, more of a drag on the game’s pace than an enhancement. If it’s purely for aesthetics, that’s fine. Another theory is that some initial mechanics were cut during development, leaving only the remnants of a grander idea.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*d0RMbyXT_niapQNyzS9DSA.jpeg" /><figcaption>Steam Screenshot Slay the Spire</figcaption></figure><p>But what if this is just my professional bias as a gamer and game developer? Maybe I’m overanalyzing the “artificial” use of cards, while most players don’t notice or mind. I get that this could be an attempt to market a JRPG to a different audience without competing with the hundreds of other titles out there. But that strategy can backfire. On Steam, ratings often hinge on meeting player expectations, not just game quality. If I buy what I think is a deck-building game but get a traditional JRPG instead, there’s a good chance I’ll leave a negative review simply because “I expected something different.”</p><p>What are your thoughts on using mechanics as “cosmetic” game features? I can understand blending mechanics or adding mini-games, but this feels like pure “mechanic cosmetics.” It reminds me of the edufication of games to make education games (a topic I’ve written about before)</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e073f3752d8e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Rewind and Redo: How Tactical Breach Wizards Brings Puzzle Mechanics to Tactical Games]]></title>
            <link>https://medium.com/@bryukh/rewind-and-redo-how-tactical-breach-wizards-brings-puzzle-mechanics-to-tactical-games-364665cce4c1?source=rss-777cd182afcf------2</link>
            <guid isPermaLink="false">https://medium.com/p/364665cce4c1</guid>
            <category><![CDATA[puzzle-game]]></category>
            <category><![CDATA[game-design]]></category>
            <category><![CDATA[education]]></category>
            <dc:creator><![CDATA[Valentin Briukhanov]]></dc:creator>
            <pubDate>Mon, 28 Oct 2024 07:36:48 GMT</pubDate>
            <atom:updated>2024-10-28T07:36:48.047Z</atom:updated>
            <content:encoded><![CDATA[<p>This weekend’s game is Tactical Breach Wizards. I’m not going to dive into a full review here, but if you’re a fan of puzzles, tactical games, and a delightfully crazy narrative, this game might be for you. While it looks like a standard tactical game, similar to XCOM, Tactical Breach Wizards offers something unique that feels more like a puzzle experience, along the lines of Into the Breach. Here’s why.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*DoWL3H-XOUrq6w0E" /><figcaption>Tactical Breach Wizards level screenshot. Credits: Steam page, <a href="https://store.steampowered.com/publisher/suspicious?snr=1_5_9__2000">Suspicious Developments</a></figcaption></figure><p>Unlike many tactical games, Tactical Breach Wizards uses deterministic rules, meaning there’s no randomness involved. This design choice, combined with features like infinite rewinds, foresight options, special goals, and handcrafted levels, turns the game into a true puzzle experience. Sure, you can approach it purely as a tactical game, but the puzzle mechanics encourage you to plan, try, and replay until you master each challenge.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*Y82vqhg3HxAsJfdc" /><figcaption>Tactical Breach Wizards level screenshot. Credits: Steam page, <a href="https://store.steampowered.com/publisher/suspicious?snr=1_5_9__2000">Suspicious Developments</a></figcaption></figure><p>Let’s talk a bit more about the rewind mechanic. I’ve been enjoying other games with similar “undo” features, like Monster Expedition and A Good Snowman Is Hard to Build. These games, inspired by “Sokoban-style” puzzles, allow you to undo your last moves, encouraging experimentation without the fear of failure. I love this feature because it promotes trying out different strategies, learning from mistakes, and going again — something that’s also highly effective in educational settings. Plus, the rewind mechanic takes a lot of the stress out of puzzle games, making them perfect for a morning warm-up or a relaxing evening activity.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*Dw_6Pn2VOBLZ467g" /><figcaption>Monster Expedition screenshot. Credits: <a href="https://store.steampowered.com/app/1052990/A_Monsters_Expedition/">Steam page</a></figcaption></figure><p>Tactical Breach Wizards blends tactical and puzzle mechanics in a way that keeps players strategizing, rewinding, and replaying. It’s a unique experience for anyone who loves combining logic with tactics. But what about you? Do you enjoy games with rewind features, or do you prefer the thrill of high-stakes, no-turning-back gameplay? How do you feel about puzzle elements in tactical games — do they enhance the experience or make it too predictable? Share your thoughts in the comments below!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=364665cce4c1" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Python for Game Designers: Simulating a Simple 1v1 Fight]]></title>
            <link>https://medium.com/@bryukh/python-for-game-designers-simulating-a-simple-1v1-fight-c246bee09e28?source=rss-777cd182afcf------2</link>
            <guid isPermaLink="false">https://medium.com/p/c246bee09e28</guid>
            <category><![CDATA[game-design]]></category>
            <category><![CDATA[game-development]]></category>
            <category><![CDATA[python]]></category>
            <dc:creator><![CDATA[Valentin Briukhanov]]></dc:creator>
            <pubDate>Mon, 14 Oct 2024 10:16:05 GMT</pubDate>
            <atom:updated>2024-10-19T09:10:20.449Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*lrI1_nYWm5gszNmEO4GtYA.png" /></figure><p>In <a href="https://medium.com/@bryukh/why-python-for-game-designers-bfa7d813f661">the previous article</a>, I explored why game designers should consider using Python. Now, we’ll dive into a simple example of a game simulation to show how Python can be useful for balancing mechanics. This article demonstrates a straightforward 1v1 fight simulation, highlighting how simulations can help refine gameplay and test balance in a controlled environment.</p><h4>Game Mechanics Overview</h4><p>In this example, we’ll simulate a simplified 1v1 fight mechanic — a concept I’ve used in balancing for AILeague Arena. This type of mechanic is common in games where players summon units to defend a tower or attack an enemy. To keep things straightforward, we’ll assume the game is 2D, with units moving along a single axis toward enemy towers. Each unit has an attack range and cooldown; when an enemy enters its range, it will attack. Since damage is processed simultaneously, ties are possible, making this simulation particularly useful for understanding balance and unit interactions. Another example of a similar game mechanic is “Swords &amp; Soldiers” by Ronimo Games.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*kmNOaYEJegaog3qGyPR3dw.jpeg" /></figure><h4><strong>Getting Started</strong></h4><p>To follow along with this example, you’ll need access to Jupyter notebooks. You can install Jupyter locally by following the instructions on <a href="https://jupyter.org/">Jupyter’s official site</a><a href="https://jupyter.org/install.">.</a> Alternatively, you can use an online tool like <a href="https://colab.research.google.com/">Google Colab</a>, which lets you start coding immediately without installation.</p><p><strong>The code for this article is available </strong><a href="https://github.com/Bryukh/python-for-game-design/tree/main"><strong>on the GitHub repository.</strong></a></p><h4><strong>Overview of Units and Attributes</strong></h4><p>Let’s take a classic set of fantasy units: soldier, knight, archer, goblin, ork, and axe-thrower. This gives us two factions with a mix of melee and ranged units. Each unit is defined by specific parameters essential to combat simulation. We start with health, which tracks the unit’s current state. For attacks, we have attack_damage, determining how much damage each strike deals, and attack_cooldown, which defines the time between attacks, ensuring units don’t attack every frame. Ideally, this cooldown should align with the game’s frame duration for smoother timing. attack_range is also crucial, as units move toward each other, and even melee units need a defined reach. Finally, we have speed, representing movement in meters per second (or another distance unit), allowing us to simulate their approach and positioning in combat.</p><h4><strong>Data Structure for Units and Attributes</strong></h4><p>To manage units and their attributes, we’ll use classes to allow direct access to properties with dot notation. While there are other options, such as named tuples or pandas dataframes, this example focuses on using basic Python structures to keep things accessible. The core attributes for each unit type are stored in a dictionary (UNITS_ATTRIBUTES), making it easy to read and modify initial stats as needed. Global constants are written in uppercase (UNITS_ATTRIBUTES and UNIT_TYPES), while unit names use hyphen style.</p><pre>UNITS_ATTRIBUTES = {<br>    &#39;soldier&#39;: {&#39;health&#39;: 100, &#39;attack_damage&#39;: 10, &#39;speed&#39;: 1.5, &#39;attack_range&#39;: 1, &#39;attack_cooldown&#39;: 0.7},<br>    &#39;knight&#39;: {&#39;health&#39;: 150, &#39;attack_damage&#39;: 15, &#39;speed&#39;: 1.2, &#39;attack_range&#39;: 1, &#39;attack_cooldown&#39;: 1},<br>    &#39;archer&#39;: {&#39;health&#39;: 50, &#39;attack_damage&#39;: 20, &#39;speed&#39;: 1, &#39;attack_range&#39;: 10, &#39;attack_cooldown&#39;: 2},<br>    &#39;goblin&#39;: {&#39;health&#39;: 50, &#39;attack_damage&#39;: 10, &#39;speed&#39;: 1.5, &#39;attack_range&#39;: 1, &#39;attack_cooldown&#39;: 0.5},<br>    &#39;ork&#39;: {&#39;health&#39;: 100, &#39;attack_damage&#39;: 15, &#39;speed&#39;: 1.2, &#39;attack_range&#39;: 1, &#39;attack_cooldown&#39;: 1},<br>    &#39;axe-thrower&#39;: {&#39;health&#39;: 50, &#39;attack_damage&#39;: 20, &#39;speed&#39;: 1, &#39;attack_range&#39;: 10, &#39;attack_cooldown&#39;: 2}<br>}<br>UNIT_TYPES = list(UNITS_ATTRIBUTES.keys())</pre><p>UNIT_TYPES is a list of unit names that we’ll use frequently, so it’s initialized once to avoid repeatedly accessing the keys of UNITS_ATTRIBUTES.</p><p>To encapsulate attributes, the UnitAttributes class gives us dot access to properties instead of needing to use dictionary keys. Here’s the implementation:</p><pre>class UnitAttributes:<br>    def __init__(self, unit_type: str):<br>        self.unit_type = unit_type<br>        self.attack_damage = UNITS_ATTRIBUTES[unit_type][&#39;attack_damage&#39;]<br>        self.speed = UNITS_ATTRIBUTES[unit_type][&#39;speed&#39;]<br>        self.attack_range = UNITS_ATTRIBUTES[unit_type][&#39;attack_range&#39;]<br>        self.attack_cooldown = UNITS_ATTRIBUTES[unit_type][&#39;attack_cooldown&#39;]<br>        self.health = UNITS_ATTRIBUTES[unit_type][&#39;health&#39;]</pre><p>The Unit class stores additional data to manage each unit’s state during combat, including:</p><p>- x — the unit’s position.</p><p>- max_health and current_health — to track health changes separately (useful if healing is introduced).</p><ul><li>current_attack_cooldown — to track the remaining time until the unit can attack again.</li></ul><pre>class Unit:<br>    def __init__(self, unit_type: str, x=0):<br>        self.type = unit_type<br>        self.attributes = UnitAttributes(unit_type)<br>        self.max_health = self.attributes.health<br>        self.current_health = self.max_health<br>        self.current_attack_cooldown = 0<br>        self.x = x</pre><p>This structure keeps the code readable and efficient for simulating combat and tracking each unit’s state. In future we move to more complex but more flexible data structures like pandas dataframes and interactive spreadsheets.</p><h4><strong>Functions for Core Mechanics</strong></h4><p>Before starting the simulation, we’ll define some constants that help control game balance.</p><p>- DT — DeltaTime, or the frame duration for our simulation. A value of `0.1` works well for our needs, though you can adjust it to fine-tune the simulation.</p><p>- FIELD_SIZE — The starting distance between units, set to match or exceed the longest attack range in our example.</p><pre>DT = 0.01<br>FIELD_SIZE = 15</pre><p>Now, let’s introduce some helper functions. These functions support repeated operations and make the main simulation logic easier to follow.</p><p>To simplify unit creation, create_unit acts as a wrapper for initializing units. Units starting on the left have x = 0, while those on the right start at FIELD_SIZE.</p><pre>def create_unit(unit_type: str, x=0) -&gt; Unit:<br>    return Unit(unit_type, x)</pre><p><strong>Distance calculations</strong> are essential in any game, even non-combat ones (Levenshtein distance for word games), so we define `distance_between` to measure the separation between two units.</p><pre>def distance_between(unit1: Unit, unit2: Unit):<br>    return abs(unit1.x - unit2.x)</pre><p>The function enemy_in_range checks if an enemy is within a unit’s attack range, which is crucial for deciding when ready to reduce the health of an opponent.</p><pre>def enemy_in_range(unit: Unit, enemy: Unit):<br>    return distance_between(unit, enemy) &lt;= unit.attributes.attack_range</pre><p><strong>Timing for attacks</strong> is controlled by unit_can_attack, which verifies if a unit’s attack cooldown has reset, allowing it to attack again.</p><pre>def unit_can_attack(unit: Unit):<br>    return unit.current_attack_cooldown &lt;= 0</pre><p><strong>Handling attacks </strong>is done by process_attack, a function that changes the state of its arguments — decreasing the enemy’s health and resetting the attacker’s cooldown. Using state-modifying functions requires caution, as they alter properties of other objects directly.</p><pre>def process_attack(unit: Unit, enemy: Unit) -&gt; bool:<br>    if not unit_can_attack(unit):<br>        return False<br>    enemy.current_health -= unit.attributes.attack_damage<br>    unit.current_attack_cooldown = unit.attributes.attack_cooldown<br>        return True</pre><p>Finally, move_unit adjusts the unit’s position as it advances toward an opponent. Its name reflects its purpose, though it’s also a state-modifying function.</p><pre>def move_unit(unit: Unit, direction: int):<br>    unit.x += unit.attributes.speed * direction * DT</pre><p>With these constants and helper functions, we’re ready to move into the simulation logic. They provide a solid foundation, improving readability and reducing repetitive code.</p><h4><strong>Simulating Combat Mechanics</strong></h4><p>With our helper functions in place, the core fight simulation becomes straightforward and readable. In designing simulate_fight, I prioritized code clarity over complexity, avoiding nested conditionals or list comprehensions. This function takes two unit types as input, initializing two units — one starting on the left and the other on the right. Since both units act simultaneously, their positions offer no inherent advantage.</p><p>The fight begins by setting time to zero, and a while loop runs as long as both units have health remaining. Inside this loop, we check if each unit has an enemy within attack range. If a unit is in range, process_attack is called, where attack cooldowns are enforced, and enemy health is reduced. Notably, we only check health at the beginning of each loop, meaning a “dead” unit can still deliver a final strike if attacked during the same cycle.</p><p>When units are out of range, they advance toward each other with move_unit. At the end of each loop cycle, we decrement each unit’s attack_cooldown, ensuring it doesn’t drop below zero, and increment time by DT to track the fight duration.</p><p>Once the fight concludes, simulate_fight returns three values: the duration, the remaining health of unit1, and the remaining health of unit2.</p><p>A note on the while loop: This approach works well for a simple fight, but if we added mechanics like healing or incorrect speeds, the loop could theoretically run indefinitely. A time-based stopping condition might be a helpful addition for future versions, though it’s beyond this article’s scope.</p><pre>def simulate_fight(unit_type1: str, unit_type2: str):<br>    unit1 = create_unit(unit_type1, 0)<br>    unit2 = create_unit(unit_type2, FIELD_SIZE)<br>    time = 0<br>    while unit1.current_health &gt; 0 and unit2.current_health &gt; 0:<br>        if enemy_in_range(unit1, unit2):<br>            process_attack(unit1, unit2)<br>        else:<br>            move_unit(unit1, 1)<br>        if enemy_in_range(unit2, unit1):<br>            process_attack(unit2, unit1)<br>        else:<br>            move_unit(unit2, -1)<br>        time += DT<br>        unit1.current_attack_cooldown = max(0, unit1.current_attack_cooldown - DT)<br>        unit2.current_attack_cooldown = max(0, unit2.current_attack_cooldown - DT)<br>    return time, unit1, unit2</pre><h4><strong>Running the Simulation</strong></h4><p>With our combat logic in place, we can now run a full tournament to observe outcomes across all unit pairings. By adjusting UNIT_ATTRIBUTES, we can easily re-run the tournament to test balance changes (remember to re-run the cell after any updates to constants to apply them). The loop below initiates a series of 1v1 matches, where each unit type faces off against every other unit type.</p><pre>results = []<br>for unit_type1 in UNIT_TYPES:<br>    for unit_type2 in UNIT_TYPES:<br>        t, u1, u2 = simulate_fight(unit_type1, unit_type2)<br>        results.append((t, u1, u2))</pre><p>Since there’s no randomness in this simulation, each match has a consistent outcome, so we only need one match per pairing. However, in future iterations, we may introduce randomness to simulate variations in combat, at which point we can analyze average outcomes or use medians to gauge balance across multiple rounds.</p><h4><strong>Displaying the Results in a Table</strong></h4><p>To analyze our simulation outcomes, we need a clear way to view the results. This is where Python notebooks and data visualization tools can shine, making analysis far more flexible than traditional spreadsheets. However, for simplicity in this article, we’ll use plain ASCII tables and text to display the outcomes. To help with formatting options for our printed results, I used GitHub Copilot to streamline the code and mix formatting styles easily.</p><p>The print_results function provides a quick summary of each fight, showing which unit won, how long the fight lasted, and the remaining health of the winner. This function makes it easy to follow the outcome of each individual match.</p><pre>def print_results(results):<br>    for time, unit1, unit2 in results:<br>        print(&#39;-&#39; * 50)<br>        time = round(time, 1)<br>        print(f&#39;Fight between {unit1.type} and {unit2.type} lasted {time} seconds&#39;)<br>        if unit1.current_health &gt; 0:<br>            print(f&#39;Winner: {unit1.type} with remaining health {unit1.current_health}&#39;)<br>        elif unit2.current_health &gt; 0:<br>            print(f&#39;Winner: {unit2.type} with remaining health {unit2.current_health}&#39;)<br>        else:<br>            print(&#39;Draw, both units died&#39;)</pre><p>The print_results_table function organizes results into an ASCII table, showing the remaining health or fight duration for each unit pairing. This structure makes it easy to spot which units tend to win or lose against others. Rows and columns represent unit types, and cell values display the selected metric (either remaining health or time). Color coding is applied, with green indicating units that survive and red for those defeated.</p><pre>def print_results_table(results, cell_type=&quot;health&quot;):<br>    # first we need to find all unique unit types<br>    INTENT = 12<br>    unit_types = set()<br>    for _, unit1, unit2 in results:<br>        unit_types.add(unit1.type)<br>        unit_types.add(unit2.type)<br>    unit_types = sorted(list(unit_types))<br>    # print header<br>    print(&#39; &#39; * INTENT, end=&#39;&#39;)<br>    for unit_type in unit_types:<br>        print(f&#39;{unit_type:&gt;{INTENT}}&#39;, end=&#39;&#39;)<br>    print()<br>    # print rows<br>    for unit_type1 in unit_types:<br>        print(f&#39;{unit_type1:&gt;{INTENT}}&#39;, end=&#39;&#39;)<br>        for unit_type2 in unit_types:<br>            # find result for this pair of unit types<br>            for time, u1, u2 in results:<br>                if u1.type == unit_type1 and u2.type == unit_type2:<br>                    break<br>            else:<br>                raise Exception(f&#39;No result for {unit_type1} vs {unit_type2}&#39;)<br>            hp = max(u1.current_health, 0)<br>            if cell_type == &quot;health&quot;:<br>                cell_data = hp<br>            elif cell_type == &quot;time&quot;:<br>                cell_data = time<br>            else:<br>                raise Exception(f&#39;Unknown cell type: {cell_type}&#39;)<br>            if hp == 0:<br>                print(f&#39;\x1b[31m{cell_data:&gt;{INTENT}.0f}\x1b[0m&#39;, end=&#39;&#39;)<br>            else:<br>                print(f&#39;\x1b[32m{cell_data:&gt;{INTENT}.0f}\x1b[0m&#39;, end=&#39;&#39;)<br>        print()</pre><p>To display both health and fight duration results, use these commands:</p><pre>print(&quot;-&quot; * 40 + &quot; Health: &quot; + &quot;-&quot; * 38)<br>print_results_table(results, cell_type=&quot;health&quot;)<br>print(&quot;-&quot; * 40 + &quot; Time: &quot; + &quot;-&quot; * 40)<br>print_results_table(results, cell_type=&quot;time&quot;)<br>print_results(results)</pre><p>These functions let us see at a glance which units prevail and the typical duration of each fight, providing insights into balance and performance for each unit type. Here is how it looks in the notebook:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Y8_aE2pcieWhE17nbfYXMA.png" /></figure><h4><strong>Analyzing and Interpreting Results</strong></h4><p>With these results in hand, we can start adjusting unit attributes, game logic, field size, and more to fine-tune the balance. Even in its simple form, this simulation provides a clearer picture than basic formulas in a spreadsheet. For example, the current setup shows that knights are overpowered while goblins struggle as basic cannon fodder. Of course, we’re not yet factoring in costs, crowd dynamics, or abilities that would affect real gameplay balance — topics we’ll explore in future articles. This method is a practical starting point for understanding balance in turn-based combat, offering game designers an accessible way to test and iterate on mechanics.</p><h4><strong>Conclusion</strong></h4><p>This example illustrates how Python can be a powerful tool for simulating game mechanics, even in a straightforward combat model. By creating a simple 1v1 fight simulation, we gain insights into unit balance and interactions, providing a foundation for more nuanced adjustments. As we continue in this series, we’ll explore more complex mechanics, adding layers such as costs, abilities, and group dynamics to refine and deepen our simulations. Python’s flexibility and readability make it ideal for this iterative approach, allowing game designers to test ideas efficiently and make data-driven adjustments.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c246bee09e28" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>