Mikh Ahmed joins me to talk about SWARMMO, a massively multiplayer online browser game he's building entirely with Elixir and Godot. After experiencing burnout from AWS Lambda and serverless tooling at a Canadian fintech startup, Mikh discovered Elixir and realized it was exactly what he'd been looking for to build his dream game project. We explore how the BEAM's actor model maps perfectly to game architecture, with individual player processes, hierarchical AI units that form squads and platoons, and a simulation where NPCs actively compete for territory. Mikh shares his experience going from zero Elixir knowledge to building a game server that can handle a thousand concurrent AI units while using only 4GB of RAM and 50% CPU. The conversation covers the realities of indie game development: failed crowdfunding campaigns that led to private support, the challenge of marketing when you'd rather be coding, and plans for a Steam release and version 1.0 launch. We also discuss the potential for LLM-powered NPC personalities, why minimal dependencies matter, and how game design psychology from board games applies to digital experiences. Connect with Mikh: - X: https://x.com/SWARMMOOFFICIAL - SWARMMO: https://swarmmo.games/?lang=en SUPPORT ELIXIR MENTOR - Elixir Mentor: https://elixirmentor.com/?utm_source=elixir-mentor
Audio and video play straight from the show's own hosting. PodSubs stores and serves no media.
Transcript
From the show. Tap a time to play from there.
Hey, I'm Kimberly with Elixir mentor Jacob recently added recruitment services to help companies hire pre bedded Elixir devs. I help with company outreach, so if you're hiring, I may be reaching out or you can connect with us anytime at elixirmentor.com. Secure your Elixir apps with paraxial IO. From code analysis and bot defense to dependency checks, they've got you covered. Elixir first design with GitHub integration. Elevate your security at paraxial dot IO testing. What's up?
I'm Jacob Litzo, your Elixir mentor. Welcome to another exciting episode of the Elixir Mentor podcast. This is where we discuss everything related to Elixir, from interviews with enthusiasts, pioneers in the community, to innovative projects and libraries shaping Elixir's future. Mick, creator of Swarm MMO, joins me today to talk about a multiplayer browser game from the ground up with Elixir. Welcome Mick. I'm excited to have you on today. Hey, yeah, hey, everyone. I'm excited to be here. You want to go ahead and just
kind of introduce yourself and give like a brief background like where, where you came from technology wise and what brought you to Elixir. Yeah. So I started I guess my elixir journey two years ago now. It was the end of 2023. Prior to that, I had been working at a Canadian fintech startup and that startup they specialized in like payments processing and they kind of targeted like the nonprofit, like vertical. That was their whole thing. And that that job, you know, I
was the first full time developer they hired after, you know, besides the founder and I was a back end of there. And they were, they were like all in on AWS. That was their stack. They were all in on like AWS serverless and AWS Lambda, which it, it, it fit their use case very well. But I found myself near the end of that job kind of like fatigued with, with the tooling
and you know, the technology choices. Not that you know, I thought it was a good choice for them, but personally, as an engineer, it was getting a bit tiring. It was hard to like monitor and you know, debug the system in production, it's payments. A lot of things go wrong and I found myself, you know, wanting to try something new, try, you know, some sort of new language or tool that kind of like resolved a lot of my issues I had with with the AWS tooling we
had. And that kind of led me down to Elixir looking into it and it was like, wow, this is amazing. This is kind of what I wanted. This is like if I, if I had, I was like, I had some ideas of how I'd want like my ideal kind of environment for this type of like building these types of systems. And you know, Elixir, I looked at it. I was like, holy crap, this is kind of what I wanted. And that, you know, I also had this interest in games. So, you know, I quit my job at
end of 2023 and I didn't really have much of A plan. And the, you know, the next day I was like, hmm, you know, I, I could, I was thinking about like how a game would work, like how to make a multiplayer game. And I was like, wait, I, I think I know how to do this. And then I was thinking about like, oh, what technology should I use? And then I was like, oh, maybe Elixir would be a good fit. And that's kind of led me down this whole path. I like that. That was like, that's kind of my story. I had a product that I knew
Alexa was perfect for, but I only knew like on paper. I was like, I read it right. I didn't actually fully understand the power of Yeah, the BMVM until like I was like a year and a half in probably. Yeah, yeah, yeah, I, I had, I'd read about it on like Hacker News, you know, I'd see some posts about it, but yeah, I didn't really understand it. Like what? What it looked like, you know what programming and it looked like I read a lot about like hot reloading and things like that. But yeah, I wasn't until I kind of really started to work at this that oh, OK, kind of made
sense. Did you consider any other stacks before before starting? Yeah, actually, so originally, so I was before my last job, I was like AC plus plus guy. I was, you know, I was interested in like low latency, like low level stuff. And I was thinking about doing C++ because generally games and high performance stuff is done in that. But I was like, I haven't done C in three years and I don't want to learn. Like I've probably forgotten most of it.
And after I worked in web, like my last job was like no JS web dev. And before I would have like hated it, but I've come to like a lot of things about it. And then I was like, yeah, I'm not, I'm not doing C++. I. Do not miss no JS, I will tell you that. Yeah, that's not. Yeah, that's fair. And the other one I looked at was Rust. People talk a lot about Rust, and that's kind of like the C successor. But it also felt like, I don't know, it just felt like I was gonna relearn another language for something I already knew C,
why should I learn Rust? And yeah, I don't know, it just didn't seem, it didn't seem as appealing. And Elixir, the thing was, I googled it like, are there any games running on Elixir, like Erlang? Are there any games out there? And I couldn't find much. And yeah, like people online, you'll find people say like you have to make your game server in this language or something. It's mostly gamers who are saying that. Which is wild, right? Like it's.
It's. Cuz Elixir seems like the perfect fit for a game server. Yeah, yeah, exactly. And I think a lot of it comes down to like people are using whatever tools the like game engine they build their game in provide. So those are written in like C + + C# or like a like a, like a legacy or older company. They wrote something in like C++ back in the 2000s and they built on top of it. And then that's what they use their own like custom framework. So yeah, I couldn't find
anything about Elixir. And I think I found I, it didn't seem like a, a scary thing. It just seemed like, oh, OK, it's just no one's really done it yet, so maybe I should try that. And yeah, that was that was a big fit. Like reason too. What are you using on on the front end for the? Yeah, so the, the front end, the game rendering is all done in Gadot, which is a open source game engine. It's interesting because I, I mean, like Gadot is also pretty
new. There's not, you know, it's kind of only blew up in the past two years. There's no big Gadot games out there right now, so Elixir's like a new technology. Godo Gadot is like a new technology. And yeah, the both of them were a good. Fit. I have heard good things. I don't know much about game engines, but I have heard good things about Gadot. Yeah, yeah. And yeah, you're right. I see this project very much like a full stack web project. I sorry to interrupt you. Can you just like shift like
towards the center a little more? Yeah, perfect. That's great. OK, awesome. Cuz I kinda have. I have the edges of our videos cropped but. The oh, I see you won't be cut off. OK, perfect. Good to know. Yeah. So I very much see this like a full stack project, except you know, you have your back end which is taking data input, processing it and then returning it like a result. And then here, I guess instead of like an HTML, like a website front end, your game is the front, like the game client is the front end, right?
And that's taking data and rendering it. And really I find actually like, I most of my work, 80% of my work is actually on the Elixir side. The back end side, 20% of my work is front end, which I, that's a good split for me. I I I'm not a front end guy in general. Same. Yeah, and I think a lot of that is just cuz I, I don't face a lot of resistance in Godot. Like I, I know what I want to do and it doesn't, it doesn't fight me on what I want to do.
That's awesome, right? And yeah, yeah. And Godot is just taking the data it gets and, you know, rendering it. So a lot of it is just designing your data in the back end. And Godot is just like putting those into UI containers or something. All of that before we like get more nerdy. Do you wanna, would you be able to give us like a, an elevator pitch of just like what Swarm is so like yeah, listening kind of understand the concept and. Yeah, So Swarm is a massively
multiplayer online game that you can play in your browser. It's kind of reminiscent of like browser Mmos of the 2000s. So games like Runescape or like Altima, which isn't a browser game, but same kind of concept. And the appeal of Swarm I, I want to say is it's browser based, very easy to jump in and try. And also the part of the game, the simulation where it's kind of advanced is the AIAI units.
So like the monsters on the map or like the allies on the map, they're all kind of like, I want to say they're smart. They're they're like networked together and they are actively like moving around the world trying to gain land and resources. So it's kind of like a dynamic simulation you can jump into and play. That's pretty cool. I like that. So like, let's say I I want to play.
Am I able to sign up and play right now? I can go to your website and. Yeah, yeah, so you can go to the website swarm O dot games and you can there's like a play button you can play it. So right now the game the the release out there is the the pre alpha, I want to call it. There's no sign up right now. It's more of a you know, you can hop in, test out some of the mechanics and just kind of see the work in progress. So yeah, you're free to jump in right now and and try it. I'm working towards like a full
release in the next few months, which is when the game enters alpha. And I think that's when there's going to be like an account system and it's going to be a bit more featured, yeah. Nice, like I think people underestimate how much work is put into a game. And are you the sole developer? Do you have any anyone helping? Yeah, I'm the I'm the sole developer. I've gotten some help over the past year from friends, I guess through like in the form of like music and assets. And I've also some community members, people who've played
the game and liked it. They've helped with like organizing like projects, doing project management stuff. But yeah, the development's all been be. OK, nice. Yeah, it's a big undertaking. Yeah. You're you're competing with like AAA studios out there that take years to put something together and they have a team of like 100. Yeah, it's, that's a good point. But it's interesting because it seems like there's this whole shift in the industry right now where a lot of the big AAA companies are, you know, they
have duds or yeah, they're, you know, they're kind of their output has slowed down and very much stuck in, you know, whatever they were like, designed to make. So trying new things is hard for them. So yeah, it it is interesting because you'll see a lot of indie games right now just come out of nowhere. And yeah, it's really cool when you see an indie game go like super viral. Yeah. And I think it's more and more common, especially like like keeping an eye on like Kickstarter and like the the
creative ways of crowdfunding for. Yeah, yeah, yeah. No, definitely. Have you done any crowdfunding or are you just all bootstrapped? I, I, I did an initial crowdfunding round last year and it wasn't successful, but I kind of got some private support out of that. OK. And it was, it was a decent amount and but it's, other than that, it's been bootstrapped. Yeah. OK, nice. Yeah, dude, I, I like getting traction on anything is the
hardest thing, right? Like especially when you're an engineer and you're building something building, building the product is the easiest thing you're going to do. Yeah, I definitely learned that in the past year and that yeah. Like, I like, it took me a long time to figure that out. And I always was like, I was convinced, you know, like if you build something really good. People will. Come. Yeah, people will come. It's not true. No, it's not. Yeah, I learned that, too. You know, the first year I
worked on this, I was like, oh, it doesn't matter, but the product's good, people will love it. But the second year it's like, no, that, you know, this is a whole different ball game. And yeah. It's hard. What what kind of channels are you using to like grow support and get in front of people? Yeah. Yeah, I've been. The big one actually for me was Reddit. I would occasionally just post on Reddit and get a lot of people. Discord is the other big one. A lot of gamers use Discord these days like they, they want
to join your Discord and like give their feedback there. And I those have actually been pretty like good advertising for me. The other two of you tried is TikTok and YouTube and you can actually pull in quite a bit of views on that. It's just hard to trend. I find. It's very random, like you might blow up one day and you might get nothing the other day next, yeah. I haven't figured out the YouTube algorithm that's for. Yeah, yeah, I have no clue the
short. But also, like I, I only do Elixir and I feel like it's such a niche topic. Yeah, you know, the people looking for it probably find me, but that's about it. Yeah, yeah. You need like the like the Subway Surfers or something in the bottom. Yeah. There we go, Family Guy. Exactly. So yeah, that's I've always heard like good things about Reddit and I always wondered if it's like still relevant. But you always I look at Reddit as just like the brutal place to
get beat up. Yeah, yeah, yeah. People are assholes. Yeah. Especially games and gamers. Tough crowd, but I don't know, I, I don't get too engaged in it. I I you know, I post and the response to whatever. Post and ghost or do you actually, yeah, do you respond to I guess relevant probably comments? Yeah, yeah. Relevant comments or DMS I'll address and anything else you know, ignore it.
Fair enough. Yeah. I'm a good poster and ghoster. I honestly just like hate like forum based communication. I'm horrible. Like I'm not horrible with it. I just like don't want to put the energy into it. Like there's so much like whenever people want to like ask questions in my Discord, I'm really bad at it and I'm so nice. But like I have awesome community members that will jump in and give detailed, yeah, that's awesome. But it's almost like I'd rather just like create a video and
talk about the problem than like create a blog post essentially in Discord. But that's just me. Yeah, yeah. I, I, I, I I'm a fan of text communication, but yeah, I don't like repeating myself. And it's, you know, yeah, post that one time and get it over with. I don't know, maybe it's like ADHD. It's just like I can't do. This Yeah, yeah, yeah, it's hard XI like X Twitter, but it's I find that one tough to trend on too.
Yeah, it's hard. I I love like the chaos of X. Yeah, it's funny. It's it's. It's it's. It's not good for your brain. But no, I don't know. I love it. I love it. Yeah, I think X is probably my favorite platform. I like, I do enjoy YouTube but like I feel like it's a completely different thing. Yeah. I'm on YouTube to like learn something and then if I'm on X, it's kind of to get a macro vision of what's happening in the.
World. Yeah, yeah, yeah. From all the crazy vantage points of everyone, right? Yeah, and it's like what's trending today? Like, holy crap, everyone's talking about this one thing suddenly and you're like, we're gonna. Be pretty wild. Yeah. One of these so I started building a product called Kill Switch. Yeah, I saw it. And it's like exciting, but like I'm at that point now where I had to like, leave building a product and work on traction and
getting on people's radar. And so like, I'm really curious about all like, like I'm trying to bring on like more product builders on the podcast because I think it's like, it's more interesting. Like, yeah, I love talking technical Alexa, but it's also, it's way more interesting to me, like all the channels people use to just like get eyeballs on their products 'cause I think that's the hardest part coming from like a technical back background.
And yeah, so I don't know, like you always think of like Hacker News or Product Hunt Reddit and I don't know, like AdWords, I guess with Google, but I don't know. Have you ran any ads for Swarm? Not yet. I I do want I've been like holding off, you know, you don't wanna like I wanna release at a perfect time where there's enough for people to play and get hooked on.
So I'm still waiting a few more months, kind of with this next alpha release. I wanna, I'll try more ads and paid, paid marketing. I think I'll do a bigger push. I guess my question to you was, when did like, did you know when you wanted to shift into marketing, was there like a like a point you had or did it just happen? Well, I've, I've been like really obsessed with Rob Walling lately. He wrote the the SAS Playbook. I don't know if you're familiar. I've heard of that book, yeah.
Like I highly suggest, like he he recommends like getting traction and starting to work on like funneling people to your website and e-mail. Sign up before you even start building your MVP. Oh, interesting. OK. I didn't do that because I'm an engineer and I, I had my idea and I was like, this is awesome. I want to build it because it's like something I wanted. So I was like, I'm going to build it and then I need to start figuring things out. But I will say it's like the first product I've properly done beta testing with.
And I don't have like a huge beta testing group, but I have like 20 people. I feel like, I feel like it's decent. Like I've gotten a lot of really good feedback and like people that are actually using the product and telling me what they like, don't like or expectations. And so I feel like that's, that's been really good. But yeah, now it's more like, how do I grow my e-mail list? And like, how do I, where do I go from here 'cause I feel like I'm in the state where a lot of
engineers dry up and die. Yeah. Yeah, yeah, I feel you. I definitely hit that in the in the past year. That's kind of where I was. A lot of the high was like, oh shit, no, the reality sinks. I. Wish it was as easy as building a really sweet product. Yeah, yeah, right. And you just post it once and everyone loves it and comes. You just go viral and you kick it. You kick your feet up on your yacht and enjoy life. Yeah, no, life's not easy. No it's not.
Yeah, the the feedback is a big part. I I found it's hard to get feedback. It's really hard. It's hard to get honest feedback. Yeah, yeah, yeah. Like friends and family, they'll tell you it's good. Yeah, no, yeah. And yeah, I don't know. I want, like the real feedback. And I thought with games, you know, gamers are very vocal. But even with gamers, I find it's hard to get. You know, there's like a fans who will give you good feedback, but most people will just play and leave and they'll never tell you if they liked it or they didn't like it. Yeah, that's the hard part,
right? Yeah, I I'm trying to. I try to bribe beta testers with a discount for. Oh nice. The first subscription year, and I don't know if that works or not because I honestly feel like the people that give me the best feedback are actually just very interested in the product, which is cool. That's what you want, right? Yeah, yeah, whoever your power user is going to be and just make it easy as possible to use. Yeah, 100%. Even with games, I find that
because you'll get people who aren't fans of like a particular game genre and they'll be like, oh, this game sucks and it's like, well, you're not my target. Yeah, it's like, well, I'm. Not well, because I don't like this kind of game. Like, yeah, it's like, no, there's no guns. What is your what's your monetization strategy? Because I feel like games are a hard one. Yeah, it is. And I, I think a lot of games monetization fortunately comes down to like gambling mechanics, especially online games.
I haven't had to think too deeply about that. It's it's in the back of my head, you know, like selling cosmetics. That would be my main strategy. I think in the future people do like having like exclusive hats and things like that. For now, I haven't thought too deeply about it and I should, but I, I don't know. I. So like gameplay will be free and then like, you know, customizations and. Yeah, I think, I think initially I'd want, I'd, I'd make the game
free, get as many people up to try it and see if I could get some sort of like funding, like donation, Patreon to do like another year of development to really flesh things out, maybe get some help. And then I think I would think about more deeper monetization. What does what does your road map look like like? So you just did like another year of development would, Would that look like like version 1 release? Yeah, version 1 release, so, you know, fully fledged game with like an account system and
enough content for you to play for, you know, every day for like a month or so. Yeah, and also doing a Steam release, that would be in the cards. Steam is a big one too, yeah. Steam is a big one to get on for sure. I, I'm, I'd, I always wish I got into video games. So I used to, I used to be super into video games like college and before that. And. Now I just am weirdly obsessed
with just building. Yeah. Solutions. Yeah. Like, I was like, you know what? I'm going to have, like, downtime. And I bought like a Steam Deck and I was like, I'm going to play video games. Yeah. And I never use it. That's that's funny because I'm the same way. I was a big gamer when I was a kid, when I was younger, older I've gone, I've played less and then since developing this game full time, I haven't played games I. Just don't feel it was developed. Right. Yeah. It's like I look at this shit all day and I, you know, I wanna close my computer. Yeah, my problem is like my
downtime is building kill switch, and then like I'll be testing things and I'll think I was like, oh, you know what? I think I've gotten every single bug and then I find a bug and ADHD, I have to go fix it immediately. Yeah. And so the cycle just rinse and repeat and that's my free time. Yeah, fair. That's fair. Same way for me. I just don't play games much anymore on my downtime. Yeah. Go exercise.
Go walk, Yeah. Yeah, that's so I make sure I exercise. I feel like it's so important, especially when we're behind a screen all day. Yeah. I make sure I balance it up and you're, you're in the mountains as well. So yeah. Do you enjoy camping, hiking and. Oh yeah, yeah, I love all of that stuff. And I'm I'm like an hour away from the mountains, OK, So it's perfect. Yeah. I started swimming in the past year and a big fan of that. That's awesome. I it's been like 12 years, but I used to do like Iron Man and
triathlons. Oh, nice. And I was a big swimmer, but I haven't done it for 12 years. But it's a good exercise. It is, yeah. I think it might be one of the hardest things to like cuz it's cardio. It's cardio and like strength I feel like. Yeah, it's both. And then there's like the breathing aspect to it too, the technique aspect. It's, it's, it's it's tough, yeah. Yeah, it's good. All right, I'm gonna, I kind of feel like I want to get nerdy now and like talk about so I I forget the name of the book.
Let me pull it up real quick if I have it. I don't remember. I bought like a, a really old, like back end architecture, like how game servers should be like architected. Yeah. And there's like so much complex like ideas behind it. And I kind of feel like the actor model and just like the way Jen's servers are and everything that we get out-of-the-box with the Beam is like ideal for a game server, right? Yeah, 100, yeah, 100%.
I'm curious like how did you sit down and like begin to architect like spinning up your processes And like how do you like handle like you said that a lot of your like MPCS are like AI related game players. Are they? Do they all have their own like Genservers? How are you handling that? Yeah, Yeah. Good questions. One SEC I think I have that book you're talking about. It's.
It's a really old book and. I started off reading this book. It gets multiplayer online games. OK, that is that is one of them. Let me, it's driving me nuts and it's probably buried in my drawer because, oh, here it is. Multiplayer game programming by Joshua Glazer. Oh yeah, I've seen that one too. It's really. Good. And I feel like a lot of it we
solve out-of-the-box, like just building an elixir. Yeah, yeah, that's the thing. So I guess the first thing I kind of read and understood was like how a lot of multiplayer games work is usually there's like the, there's like a game server and the game server is running on like a tick. So every like X milliseconds it, you know, looks at all the input it's gotten from all the connected clients. It takes that input and then it basically uses that input to
update the state of the world based on what's coming in. And then it updates the world and then publishes a new state to all the clients who then take that state and render it and they see if their player move or attacks something. OK. So there's they run on a tick rate and that's kind of tied to like how fast they update. Is there a concept of multiple games on Swarm or is it one game? It's. One map I guess right now 1 map. So right now I have one Gen.
server runs the the map for that region. But yeah, in the future I think when we add more maps, we might do some multiple servers per map or something like that. You might have to just kind of by region for like latency and things. Right. Yeah, yeah, yeah, yeah. Big part of multiplayer games too is like this whole bandwidth optimization because you're taking in updates every X seconds and then you're publishing updates every X second. So it's, it's important that you don't constantly send updates
that don't need to be sent. You know, if someone's super far away from like this big battle, they don't need to know about that, especially if they can't even see it. So there's this idea of like, you know, all your connected clients, how do you like separate them? Like how do you group them into interest zones that define what they see? And then the other side of bandwidth optimization is like the the packets, the data you send out. You know, that should be very like compact. You know you want to send just
deltas of what's changed so you don't send everything at once, right? Yeah, I feel like like you're, you're making it sound like it's like that simple that. Yeah, it's, it's tough that. Sounds like really complicated to me how like cuz I'm guessing like player location changes like how do you update? Like if I move from one region to another, is there like a set border or is it always like a radius off me? Yeah. So this is like this is interesting topic.
So there's there's like a lot of research on how you do this. The easiest way to do is borders, right? There's set borders and you divide the world up into like little squares, and then squares that are adjacent to each other can see each other, right? OK, cuz I was just gonna say then there's an edge case of if I'm on one side of the border, someone else is on the other side of the border. Yeah, yeah. So you make it so I guess everyone in an adjacent square can see what's going on. I see. OK. So yeah, that's the generally the easiest way, and that's the
way I do it too. And then how are you handling like OK cuz I'm guessing like a region is a Gen. server then right? For home like state, how am I just connecting to the next to the region Gen. server like? Yeah, yeah. So there's a, there's a server selection when you like boot up the game. And then that's kind of just choosing which Gen. server you're connecting to. So you you don't initially join the Gen. server right away. Actually, there's a, there's a queue, you join a player queue, which is another process which
kind of holds you in in line. And then when you're ready, it'll move you, it'll move your process into the main Gen. server process. And that's when you start. You subscribe to the topic and you start. Getting OK I see. And then like once you're like you're on a main game server and then you're also connected to like a region game server or Gen. server as well. Yeah, yeah, OK. And then is like the individual user, a Gen. server. Yes.
So the individual user their own Gen. server process and that holds all their state. So you know everything associated with like their character and like you know their items and stuff. And also that process holds multiple prop like it has a link to their communication process, the the channel they, you know, send messages to OK web socket in this case. So there's like a cowboy web socket. They they hold a process link to
and then when that sends messages the the their client Gen. server takes that message and then sends it to the the game Gen. server. OK. And then, like, have you done any like, limitation testing where you just throw tons of clients at like, your game server and like how many people can yeah, a game at once? Yeah, So the close, so I I haven't had a mass of people, but the closest I do is so the AI units in this game, it's
you're right. So the actor model is a really good fit for this type of thing. And the way an AI unit is modeled is they're basically the same as a player. That makes sense, yeah. They're just players, but they have, you know, some algorithm running to depend, like determine what input they send next, right? So I can spawn in like tons of NPCS and just see how that works. And I've been able to spawn like 1000 and that's OK. Yeah. And I can check in like the like the Erlang Observer like the performance and really like the like your RAM will go up to like
4 gigs I've seen with 1000 OK 4 gigs of RAM and then the the scheduler, the CPU usage is like 50% OK so yeah it it runs pretty well. I think the the limiting factor really ends up being like the game client. How many can? How much can the client render at once? That makes sense, yeah. Before that starts lagging, I'm. Curious like what do you like? I like. I have no idea 'cause this is this is as far as I know. Yeah, I know. Fair. Like how to structure things?
What what? How do you handle like latency between players? Yeah, so this was a big one, especially when I first did my initial release, a lot of people weren't even playing. Like they'd log out after like 10 seconds and they were telling me it was way too laggy. And the latency part, a big of it, big part of it is the region, right? You need to have regions where players are. The other side of it is. So my game is, is it's not necessarily a fast-paced game, right? So it, it doesn't, the main tick
doesn't update super fast. There's I think like 100 milliseconds between each tick. So actually that is pretty good for a lot of latency. I find most players have like 100 milliseconds. So as long as you can push out updates in that time frame, players don't see much lag. OK, that's. Good. Yeah, Yeah. Is there anything you're doing on top of that though? Other than that, I saw in the the hosting infrastructure, you know, the the VM or whatever it
runs on, it's just kind of setting the right like TCPIP settings in Linux I find. And then it seems to it's fine for the purposes of the game, yeah. Is it kind of like, forgive me, I haven't checked it out. Yeah. Is it like a? Is it like turn base or? It is it is turn base, so it's not super reaction twitchy. So that also helps you know, it's, it's not as important to be like have the latest info right away. Right. OK. So it's just important to kind
of have everything updated state needs to be. There, when it's your turn, when it's your turn exactly and you have some time. So in a in like a battle, the game is turned based and you have like 10 seconds to take your turn and do what you want to do. So that gives you, yeah, as a player you have some leeway. Yeah, I like that Casey has a question, he said. What's your what's your approach to making the MPCS slash mobs intelligent with motives deciding like when to attack, etcetera? Yeah, this is fun. This is where a lot of my work has been spent.
So the big thing, I guess they're they do and get like there's lots of research into this type of stuff. So the big thing they call, they call it hierarchical task networks. So basically you have these, the AIMPCS organized in under hierarchies, in groups, right? And it's kind of similar to like real life for the military where where you might have like, you know, at the ground level you have grunts, right? And grunts form like a squad. And then, you know, multiple squads form a platoon, right?
So here, you know, you have individual units who form a squad and they get, you know, squad goals, right, which is like, go here, you know, occupy this area. And then their squad controller is getting higher level goals from like a commander, you know, like the general who has this higher level view of the world. And he's like, well, I want you. He picks like where you want like where squad should go. So there's like this hierarchical level of tasks
where at the highest level you give like a broad level goal and then that gets passed on to like a lower level controller who disseminates that into like smaller unit goals that. Yeah. Kind of like, well, pot like swarms. Yeah, exactly like swarms. Yeah, the name comes from that, Yeah. I like that and like you're just describing Alexa, the actor model. Exactly. Yeah. So I you know the processes,
right, you have at the lowest level, the grunt level is just individual processes and then you know, they were launched from a, a like a parent process who's like their higher level leader. Yeah. How do you, how do you put balance in like between like, you know, a real player and like the fairness of your MPCS? Yeah, I feel like there's advantage on the MPC side. Yeah, the MPCS are cheating. They have more like up to So you
can like give a little bit delay to when they get data. So they're maybe maybe they're a bit behind. Yeah. There's I guess a lot of like the the NPCS are really just seeing the same things the players see as well. Like they just focus on what they could like a player could see, but they. Probably don't miss anything. No, they don't miss anything and they're always sending their inputs. They're always on time. Yeah, yeah. Yeah, I feel like that's where like difficulty settings come
in, but it's probably not as simple as just like obviously it's simple on the player side. Like I want this to be easy, but like, what does that mean on your architecture side of like controlling that those things, just maybe adding delays for real time info. Is that usually enough? That yeah, that that seems to work in my case. And you know, like the more delay you add, the slower they are to reacting to things, and then if you want them to be like very sharp, you remove the delay.
Interesting. OK. Yeah. And then are you actually, are you implementing like any LLMS into this game or not quite? So it's an idea I, I do want to play around with that. I haven't done that yet, but I would be interested in doing like LLM, you know, like using LLMS to generate names or like back stories or something like that. I think there's some interesting ideas there. Yeah, I do want to. I just haven't gone to that point. But it's it's there, yeah.
Yeah, I always, I'm just always curious, 'cause like, I feel like the idea of like, like AI, at least in like the video game aspect has been like MPCS, like we've had that since forever. Yeah, yeah, yeah. And then like through the wave of LLMS and AI, it's like it's just, it's a different, it's different, It's not the same. It is different and it's kind of annoying because online it's like the search AI programming, you know, for games. And then you get LLM stuff.
Yeah. And it's kind of, it's hard to like find what's what. I think there is this interesting. I'd like space you can explore right now and kind of be a pioneer in where you merge like these classical ideas around AI units and PCs around like controlling them and then merging them with some sort of LLM to, you know, generate some sort of randomness or, you know, uniqueness. I think, I think, I think there's some ideas there. You. Could I think like it'd be kind of cool.
You could probably like use an LLM to kind of have what, what's the word I'm looking for? You can kind of have, of course I go blank. I blame being sick the last week. But yeah, no fair like like generating temperaments maybe like. Yeah. Or like almost even like MPC personalities. Yeah, yeah. And like you could be like, all right, I want you to act like this particular way. This is good behavior, like, and that could kind of be cool because you could have like more
cutthroat MPCS, more laid back ones. Yeah, yeah. And you could have. It's more of like strategies. Yeah, yeah, strategies is a big one, right, How they approach objectives. Yeah. And I think you could have some sort of like gradient as well. So it's not like a binary NPC thing, right? You know, this NPC suddenly hates like, humans or something. And yeah, yeah, yeah. And it just crushes all real players. It doesn't matter. Yeah, it's Terminator, right? Yeah, there's some interesting ideas. I do want to. When I first started this
project, I wanted to do that stuff right away. Then it's it's been getting pushed back and back, but. You have a lot of things to do for, yeah, just like the groundwork, yeah. But I think like implementing like an LLM at least is relative would be relatively easy once you have a like a good base structure. I think so, yeah. And a lot of things are kind of like built for that already, like AI processes, you know,
they run, they're their own things that run on their own time. You know, they don't slow down the main Gen. server ever. And you could have them do things like, you know, send async requests to, to an LLM service or something, right? And there's some opportunities there. And then you also have to like control costs and API costs. Yeah, yeah. Unless you run your own LLM. Yeah, I yeah. And I don't know the no the self hosted one seems to be that good. No, they don't.
Yeah. So you'd have to go through somewhat. Yeah, do you? So I know like like obviously latency matters how close you are to the server are. Do you have distributed nodes right now or do you not? No, I don't. I don't have distributed nodes. I think in the future that would be something I'd add if like the player counts grow higher and we want more players in a, in a root like server. Or if if you know, I did some sort of like sharding where there's like multiple instances of 1 area, I think that'd be a
good use case, but I haven't yet. It's like a level of complexity I want to think about later. Right. Well, yeah, I think like the second you start distribution and multiple nodes, you it, it's a different, you have different problems to solve. Yeah, yeah, exactly. I kind of feel like that's where I need another guy, like another person to help me with that, you know? Yeah. I guess. Yeah, yeah. There. I'm curious, what do you do currently? Like if if someone joins and
they're like their, their latency's just like horrible. Do you? Yeah. Do you cut them off? Yeah, you just kick them off. So whenever a player joins, I think a lot of games do this, there's this like loading period where really the the client and the server, they're just sending packets back and forth and they're just the server's trying to like measure the player's latency and kind of sync them up and so. If I don't hit the minimum requirements. Yeah, booted. Yeah, exactly. You have like 10 packets you got to send. And if you did, if I didn't get them, yeah, you're booted.
You're done. Have you ran into any problems like server location versus like someone on the other side of the world? The the, I mean the big, the hard one is Australia. Yeah, yeah, I bet. So Australia is hard and Asia is hard. You need to get Asia Pacific servers, whereas I find like Europe, it's pretty well connected. So if you have one server in Europe, that seems to be fine, and North America as well. I find North, like East and West doesn't really matter. Yeah, yeah, it's good.
And South Americans can connect to North American servers as well. I find it's pretty good, but it's really Asia and Australia it's a bit. Tricky. OK, Yeah, that makes sense. Yeah, I think Australia is the farthest you can get from us. Yeah, it's tough. If you're Australian, I can't help you. I'm sorry. But I mean, like, I love hearing like, because I think about all these problems like they're relatively complex. But then like the solutions are usually not that hard.
Like my latency thing, you're like, no, we just boot them. Yeah, like, yeah. And that's the thing about games I find where, yeah, you know, it's very up to you on how you want to do things. It's not like a SAS where there's client customer demands that you want to meet a game. You know, you kind of have your own vision and you can tell me what screw off or you know, just roll with something being broken for a while. Yeah, Do you, do you ever get an idea that you never thought about, but it's such a good idea you want to implement it immediately?
Oh yeah, tons of times. And it's, it's bitten me in the ass a lot because I find, yeah, you kind of want to reduce complexity. You know, you always want to reduce complexity. So yeah, there's the ideas that have come and I've done and it's burned me. So I'm a bit more conservative now where I really think it through. And I think about like, how does this work with what we have right now? I think like it's really hard and from like the SAS
perspective. So since I've been building kill switch, I'll, I'll get like really good ideas and some of them I'm like, I have to implement that right away. Like that's, that's an MVP thing. Like for instance, one of these like so the the point of kill switches like you can up, you upload, you know, documents their client side encrypted. No one can have access to them. But if you don't check in, they're released to beneficiaries. So you can release them to people you want to have them, right?
And then one guy, so one of my testers is like, OK, I, I really hate that I click this check in link in my, my text message and it takes me to the app. And if I'm not logged in, I have to log in and then I have to go check in. So it's like a 2 three-step process. It's like the link needs to be authed and automatically check in and that like obviously like I want to restrict or you know, remove all the friction in that process. And I was like, I have to just do this and I immediately did it
off blank. You immediately check in and it's like 1 tap and you're done. And you don't even have to go into the app now. That's awesome, yeah. Like the goal is like kill switch ideally is like you set it up right and you shouldn't have to go back into the app more than like once or twice a year. Yeah, Yeah, that's exactly, that's perfect. Yeah. So I have to think about it like I am building something that I actually don't want people to use frequently other than just staying checked in. That's interesting. Yeah, that's very interesting.
So I did that and it's like a huge, it's, it's amazing. Like it's something I didn't even think about because, you know, when you're testing your own app, you don't mind doing all these extra steps. Yeah. Yeah, and you're kind of just used to it after doing it. Right. And then you're like, Oh yeah, that is kind of stupid. Why am I doing that? I've had a lot of those moments and I find yeah, like the best, biggest wins come from like small sudden changes. Like just kind of like a small change of how something it was done before. Suddenly it's like, holy shit,
why didn't I think about that? Yeah, before, right. Yeah, exactly. Yeah. I like getting mileage out of like small wins. I think that's. Yeah, especially when it's so easy to implement like. Yeah, yeah. All I had to do is generate a new auth token and don't give them access to anything else in that account. Just checking in. Just checking in. Yeah, yeah. And so many times there's like a fatigue because it's like I have to develop a whole new feature for this, a whole new service. And it's like, you know what? There's there's a lot of low hanging fruit you can go for.
And it's, it's crazy. What you know, what might be a big impact for users, for games, even. Yeah, controls or UI big part. Yeah, I'm curious with you. So like, I've been like a power user of Tidewave in the browser, like freaking nailed. Like I'm not a front end developer and now I can develop live views and things so quick using Tidewave it's insane. And I'm curious like are you leveraging like LLMS in your daily development or does it not
work well with Goodo? Yeah, I want to, but I haven't. It doesn't work well with Goodo and then on the back end as well, a lot of the times I don't know what I'm looking for, right? Like what is fun. So I find it's hard to use LLMS for that. Yeah, if there was something that I found, like if there was something, I would use it, but so far I'm not. That helpful? Yeah, yeah, yeah. And I don't know like I think it's cuz I started like kill
switch is relatively a pretty simple idea. It's like a, it's a, you know, I'm using open O band workers and just scheduling things, right? And then I just have to make sure everything's just reactive. But you get that with live view and channels and pub Subs. So like it's not that complicated, but the hardest thing is making sure everything's consistent and works. And like, so I've been like focusing so heavily on tests, like I'm trying, I'd like to hit
80% test coverage. I'm not quite there. I'm at like 76%. But yeah, right. When you're above 70%, it's so hard to write good, meaningful tests. Yeah, I I found that on my SAS job. Yeah. Like being able to write meaningful tests is huge. Yeah. And it's, it's it's a scale, right? It's with games, I find it's more like iteration speed. Being able to iterate fast is the the benefit, so testing is not always ideal.
It's more about like trying being able to change things quickly and. Yeah, yeah. Seeing that feedback and trying it out, is it fun? Makes sense, and is it fun is a hard question. I it's tough. That is a hard question, yeah. I'm curious, like, is, is it fun to you? Like, do you know when something's gonna be good or not? Or do you need other people to jump into it? It's a bit of both. I did. I do find that if I'm playing the game more each session then people, it's the same for
players. Like the latest round of release I did, I actually play the game now like I'll kind of get sucked in when I'm testing and I see that. I see that reflected in the in the user usage too. People are playing for like 20-30 minutes now, whereas before, yeah, before they would play, it started out as like they'd play a minute and leave and then it got kind of got up to 5-10 minutes and, and now seeing 30 minutes is it's like, OK, well, I'm doing something right. Yeah, that's awesome. That's got to be fun to see analytics like that growth, that linear line.
Yeah, yeah. And it's like, it's like, you know, it's real, right? You see it and you're like, OK, people are playing. What kind of metrics are important to you like as your test, like as you're tracking uses? Is it just game time right now or do you have other things? I see game time and then I check like are they fighting monsters right? Like, how many monsters did they kill? Are they engaging with that side of the game? There's events in the game where you get rewards, so I see if they participate in events. And that kind of directs me
towards like, should I make events better? Should I scrap events? Yeah, you kind of want to see what they're interacting with. Do you like kind of use like heat map style, like analytics to see like what parts of the game are being used and touched? I I'm not like, I don't use any like framework for that, but I would love, love to actually, that'd be pretty good because I I. Like it like to see if people are actually using the game the way you thought they would. Like I think that's like such a,
yeah, a cool thing to see. Yeah, I think that would be awesome. And you could tie it into the like map of the game to see where things are hot and how all that correlates. Yeah. Like yeah, is there a particular part of the map that everyone clusters to? The spawn area, because that's where everyone is you. All start in the same spot. For now, yeah, you do. Just just so people find each other. But people who play longer go farther out into the world. And I see.
Yeah. That's cool. I'm gonna have to check it out. You know, maybe, maybe this is the one. This is the game that'll click with me and I'll enjoy playing it. That would, yeah. That'd be sweet. Is there like any like OK, so you don't have like accounts or anything, but is there any like state management? Like if I come back is my gameplay saved or am I starting over? You're starting over. OK. Fortunately. Yeah. It's it's you play for a session right now. I see.
Yeah. But yeah, these are all things kind of in the next release we're trying to get. Yeah, that's cool, though. What is the, what's the timeline on the next release? You might have said, but I don't remember. Oh, no, fair. I'm, I'm looking for April this year. So four more months. I find that's enough time. So that's enough time where I get the feedback and do my own thing and integrate everything. And yeah, I'm, I'm kind of optimistic for that. And I know we we talked about
this before we went live. This is like building this full time. Yes, yeah, yeah, yeah. So it's been like it's been 2 years now, 2 1/2. And it's interesting because the first year was fun. The first year was like building systems and just experimenting. And, you know, it wasn't, I wasn't thinking about what's fun. It was like just trying to build something cool with, you know, how AI working, AI working combat. But then the second year is kind of where it's like, OK, well, now I have to make a game and
the focus is more on like, what's fun versus what's like fun to build, you know? What is that? I'm curious like, yeah, did you build like a like a game design PDF, like lay everything out or? What no, I wish I I wish I did. A lot of this was just vibes based on vibes. And you know, I had these ideas about like, I want why aren't games having better like AI and PCs? You know, I had, why aren't games having more players? The internet's better. So I had these like ideas, but I
didn't know how to tie them together. So it's, it's, I would say it's not ideal. It's taken a while to really find a vision for the game. So I wouldn't recommend it. I think if I had like a, if I worked with a team or there was like financial resources, I would definitely use some design document just to keep everyone on track, keep myself on track. Yeah, I feel like there's just so much to a game. Like there's still like, storyline flow, yeah, like player experience.
Like what do I see when I join the game? Yeah, like. What's my goal? Right? Like you have to kind of deliver all that stuff. Yeah, it's crazy. And it's like, this is like the whole field of game design. And originally I didn't really get what a game designer would do, but now I do. And it's like, yeah, it's you need a game designer or like if you played like tabletop games or card games, all of that is very like useful experience I've seen. Right. Yeah. I, I I'm not a big tabletop guy
or card game guy. I didn't design games when I was younger. So it's been, it's been a challenge. It's been a learning experience. My my, my game design kind of comes from playing games, but playing games versus building games, totally different skills. I went to GDC one year. It was like almost 10 years ago now. Yeah. But I remember one of my favorite, like, talks that I watched, it was like this board game company. And it wasn't like, you know, you're at a gaming conference, right? So you're thinking, yeah, you know, Xbox, you know, console games, whatever it may be.
Yeah. And this this one guy's talking about like redesigning board games to make them more like, like, you know, more addictive, whatever they'll pull you in. And he was talking about all these like little things that they do to like mess with the psychology, the player. And it was the coolest talk I've ever heard. And I was like, wow, that's wild. Like they go into like the they even went into like a thing where like if you lifted like the tray out-of-the-box there,
there was an envelope that said do not open. Yeah, and if. They and if they open it, it's like, and then it was like a sticker that they had to permanently put on the board and it negatively impact the game for the rest of their life. Like they would just do things like that. And I was like, Oh my gosh, like, like just like his approach to games. It was the coolest talk I've ever heard. That's really cool. I yeah, it's crazy 'cause you think board games and card games are different from video games, but it's really video games that are taking things from board
games and card games, so a lot of that skill kind of transfers over. Yeah, cuz like you still have like your user experience. Yeah, you know, in a physical game versus a digital game. Yeah, and even in like RPGs you're doing things on the back end like dice rolls, like mechanics for like 6 sided dice rolls and things like that. And just to do like how do I determine how much damage to calculate, you know, right. And it's you can look at board games and tabletop how they do it.
And then do you ever find yourself having to like alter like randomize like cuz you always talk about randomization not feeling random enough? Yeah, yeah. And you, you can't make it totally random, right? Right. And like what random doesn't feel random a lot of the times. And then you get into this like normal distributions, right, where you want like a certain amount of probabilities to occur more. And then there's ways to like shifts your distribution so it leans like more above the curve or below the curve.
And yeah, there's a lot of ideas around that. I remember one of the first times that I thought about that, I was listening to a podcast and they were talking about Spotify. Yeah, their shuffle mode was truly random. Yeah. To the user, they're like, I don't like this. Like it was replaying songs that just played. It was like playing songs that they like were at the beginning of the playlist, and they thought random should only be like, moving forward random.
Yeah, yeah, yeah, yeah. They had to like completely not make it random to make the user experience enjoy a shuffle. Yeah, yeah, 100%. It's crazy, right? Like truly, randomness doesn't feel random, Feels wrong. Which is. It's just wild. It's wild when you think about that and cuz on paper you're like yeah, random makes sense. Yeah, it's like, OK, you know, there's a one out of six chance they fail, right? But then they could keep failing like 10 times in a row and
that's, that sucks. So then you you do mechanics for like, oh, if they fail twice, you know, give them the next one, they give the next one free, right? There's like some mercy mechanics you do. There you go. What a what is like kind of what's like the most difficult problem you encountered since like starting, like building, like systems, game mechanics, like what was like the biggest hurdle you encountered that you didn't really expect? I want to say the systems tying things together because I had, I built this whole AI, you know,
actor high like hierarchical task networks. I built that, but it's like what what actually should be the tasks? What should they be trying to do in the world? And that has been tough. So I guess it also ties with game design. Like what is fun? That is, that's consistently like very hard question for me. How many times have you kind of like started over? Yeah, there's been a few pivots like each. The first release I did, the
game was like real time. It wasn't turn based. It wasn't, yeah, it wasn't turn based. It was like an action game and it was, I don't know, it just it wasn't players weren't liking it too much. And then I had to do a pivot. I was like, well, what can we do? And people are like, oh, I like, you know, should make the game more tactical, you know, try turn base. So that was the next big pivot. And you know, originally there was like like the there was like armies moving around the world and play like players were like,
oh, it's it's just too chaos, right? I don't know where to go. Like there's fights going on everywhere. So then I have to dial that back and it's like, you know, you don't have full-fledged armies, you have small groups of people I see moving around the world. Yeah. Yeah, I like, I get it. Like the the real time thing. Like for me personally, I like more like strategic turn based things and I like it. And like when everything's real time, it's just like, that's when like I get frustrated because the 12 year olds and
their parents. Yeah, just. Kick my ass. Yeah, yeah. And, and the expectations I find are higher from players when it's real time because then they're like like why isn't the game 3D, right? Why isn't? Yeah, right. There's like a higher level of fidelity they're expecting where it's like a slower game, a turn based game. You can kind of be more abstract. And again, it's like kind of like a board game really. You know, there's pieces moving on the board and people will be, they'll forgive that if it's
turn based. Yeah. I'm like, I feel like turn based. Is turn based a simpler solution in your opinion or do you have just like different hurdles at that point? There's different hurdles because there's ideas around like who gets to take a turn? What's the turn order for a multiplayer game? It's like what if they disconnect suddenly? How does the turn order change? And then like how long am I waiting for my turn then? Yeah, you don't wanna wait too long, right? And yeah. And like, who gets to join, who
gets to be added to the turn list and who gets kind of rejected? There's different problems around that. Yeah. What do you like? How do you even start to approach that? Like how many people am I? Like if I were to play right now, yeah, how many people am I probably interacting with in my session? So the Max is you can have 100 players but when you enter battle that's when the game kind of becomes turn based. So it's real time until you enter battle are. Battles always just one-on-one? Or can it be 1 on many?
It's one on many or many versus many. And that was challenging to do cuz it's like who gets to join? And what I do is basically it's proximity based. So if there's a battle going around, there's like a, there's like a box around it. Basically, the players don't see, but if they get into a certain range they automatically join the. Fight. I was gonna say, can people just join a battle that's already under? Under, yeah, yeah, they can, but but they're further out and they're further in the turn list. And yeah, that's, that's how I kind of deal with it. That was a hard problem.
It's like where where do I set the bounds, you know, and what happens if two bounds overlap, right? Do I merge the events? I still right now I don't merge, kind of just. You keep them. Separate. Yeah, in one or the other. Person B in two. Not yet. No. No, that's that's yeah, I want to do that. But a double front war? Yeah, I want to do that, but no. And I mean, that's nice with games where you can just do stuff like that. Yeah, OK, whatever. It's cool, yeah. You know, things can be kind of goofy and people will be like,
oh, it's a game, whatever. Yeah, yeah. I just like that's so complicated. Like I'm so OK, 100 people could be in a battle potentially, potentially, yeah. So would it be turn based one at a time for 100? People, yeah. And yeah, it would be. And that's like a situation I'd want to avoid at all costs, right? From a game design perspective, I'd want to make the game so it splits people around so you don't have 100 people in a small area. Because yeah, that would be or.
I haven't tried that and I I'm sure it wouldn't be fun. Right. I'm curious, like what? What kind of like solutions do you have in place to kind of attract people away from clustering? Yeah. So the the AI groups, you know that they move in squads and the squads kind of distribute themselves evenly in an area. That makes sense. Yeah, yeah. So that way, you know, borders kind of don't overlap. But yeah, in the future, if, if,
if, if it ends up being a limitation, I'd look into like, is there ways to merge events, you know, merge criteria? I don't want to think about it right now, but. Yeah, yeah, a problem for another day. Yeah, a future problem. Yeah, right now it's it's a game design thing where I spread everything out. I see. And then so right now, like if there's a real player, a person, they're, they're prone to be more attracted to like the MPC squads moving around. Yeah, exactly. Exactly. That makes sense. OK. Yeah, yeah, that's, that's kind of their targets.
Or they'll see friendly squads moving around and they'll join them in and I see and friendly squads will leave them to enemy squads and then they'll get into a fight. OK. Which will stay reasonable like 10 people or so, right? Yeah, so there's strategy behind the squad movement then? And exactly. OK, Yeah, there's just. So many problems to think about. It is. And yeah, this kinda goes back to the tough problems. This was a very hard problem just getting to this point cuz now it feels like I have solutions, but for a long time it was like, I don't know what
the hell to do. Well, there's no way to. Even even now you have solutions, but not for everything. Not for everything, exactly. And there's no right answer, right? There's no definitive way to do it. It's kind of. Because at some point, like, like you, you were saying like 1000 people could potentially join a game. Yeah. And then you have to somehow. That means you have the potential of 1000 people being in a. Single, yeah, exactly. And it's like that's, that's right. So again, that's where the the player count really comes in from.
It's not based on I find the technical limitations. I think like the the the standard count. Everyone says 10,000 current users, right? Right and. A single node or a yeah, single process maybe? Yeah, yeah. And it's like, theoretically, yeah, this game could be 10,000 people, but right now it's designed around not 10,000, right? The map's not big enough. Yeah, all that. Growing pains, yeah. Is there like any like plans in the future for infinite maps?
Like yes, self generating like Minecraft style. Yes, yes, yes, yes, 100%. That's in the future you'd we'd have like some modularized environments that would just generate and people could just go in there. And then you have the difficult part of regenerating the same thing in the same spot after it's been generated the first time. Yeah, yeah. And that's tough. You'd have to save that, you know, some seed or something in a database. And yeah, that's those are things I tie in with accounts
and. I'm curious right now is like is your map just kind of like hard coded on the front end? Yes, it is. It's hard coded. I use this program called Tiled, which is like a like a 2D tile set. Yeah. And it's like a use painting, right? And you just paint your map and it's very hard coded and all the obstacles are kind of labeled. And it's not dynamic. It's just yeah, yeah. Well, I feel like the second you start making things dynamic, that's a whole. New yeah, it's a whole different problem and and players, they
want building. Building is like a huge thing. They're like, can you kind of build in this game? And it's like, well, maybe in the future. That would be cool, like you start leaning towards like a StarCraft or something. Like, yeah, yeah, yeah, yeah. It's in the cards. You know, You build up, you stay in an area long enough, it starts building up around you. Yeah, people want to build. People want to do like mining and crafting. One day they can. One day they'll be able to do. The appeal of Minecraft still is
like mind boggling to me. It's insane and I see now kids play Roblox and that one is massive. Yeah, I've seen. Yeah. Well, yeah, I I've seen it. I don't really know much about it. Yeah, I don't get it. But I've seen there's like the Roblox has like editing content tools all built in the browser. Like it's crazy just how big it is. Oh, you. Froze up on me I think. Oh crap, camera probably went to
sleep. Yeah. But like, yeah, my girlfriend's the Sun, like loves those kind of games and I just, I don't get the appeal. Let's see if we can get you showing again.
You might have your video turned off. Yeah, it is. My camera just disconnects all the time. That's. Annoying. Yeah, At least it's not me. I feel like I'm doing this long enough. I need to stop having technical difficulties and I. I don't. So yeah, it's like the Zoom meetings. Everyone's like, oh, can you hear me? Yeah. Yeah, always have the wrong mic selected.
If anyone hanging out and watching, if you guys have any questions, it'd be a good time to throw them in the chat and we can we can get to those before wrapping things up. But we're we're approaching that time. We might have lost Mick completely.
Are you still there? Oh, I see, but I don't hear you. Better. Can you hear me? Yeah, you're back. All right. Yes, scary moment. Well, you're back. I was just telling people if they have any questions for you
to get them in the chat and then we can kind of start wrapping this up. One thing, like I know we both shared a book. Do you have any like resources or recommendations for people that might be interested in building games? Yeah, 100%. So the the book I showed was the development and deployment of multiplayer online games. I think you can find that on Amazon. Honestly, you can find a lot on the Internet because I guess all the people who work on this stuff just post on the Internet. So there's some good websites
online, like I think like Gabriel, and he's the first link you'll get if you search multiplayer game design. He's really good. I had a book recommendation for Elixir, actually. I'm a big fan of what is it called, the one Sasha Jerrick. Elixir in action. Elixir in Action, that Yeah, my favorite book. Dude, Sasha's book is probably the best one out there for sure. Yeah. Especially like if you're just
starting with Elixir, I think it's a great. Yeah, it it kind of taught me all I needed to know, I found. And then from there I could mess around and do my own thing. Yeah, yeah, I would read. I would highly recommend that book and then get real comfortable reading documentation. Yeah, yeah, that's, that's for sure. I haven't, I haven't dipped my toes into like Phoenix and Live view. So I know that's a whole other beast. Dude I love, I love using even if I'm just building back ends. I think you should have Phoenix in the project.
Yeah, yeah, yeah. Just for just using plugs and just everything, yeah. It's good having everything in one repository, you know, just you don't have to go other places. Yeah, yeah, all your code, everything's just in one. Spot Yeah, I used to be against the the monolith projects of like front end and back end combined. And then like I want to say it was the first podcast episode I got Joe Zay on and he made a
really good point. He's like, when have you fully rewritten any of your apps? And if you are, you're probably doing a full rewrite anyways. And it doesn't really matter if you have your front end and back end because like we were talking about like a Ruby on Rails and then like live view and Elixir, like having them in the same, you know, umbrella project or whatever project you have. But yeah, you're you're really not going to ever do a full rewrite unless you're doing a full. Rewrite, you know, Yeah, yeah,
that's, that's a good point. You're not going to just swap out your front end like, well, you could, but it's less likely, yeah. No, it's. You'd think these things would change, but they don't. Yeah. And after a certain point, you don't want to change things, right? You want to stay kind of conservative. I just want to write Elixir everyday and write as simple as JavaScript as possible. Yeah, I just, you know, like 90% of my Elixir code is just enum dot reduce, like that's how it starts for enum dot map and like there's some atom or something.
And yeah, that's good enough. I don't want crazy features. Yeah, there you go. Do you write generic Genservers or do you use like? Yeah, I do generic gens. OK. For now, yeah, just generic Genservers I think and then, yeah. No, go ahead. I try to like dependencies I keep very minimum. I don't wanna add anything, I just kinda keep use the language features I would use. I think when I add databasing into the project that would be
the next set of tools I reach for like Ecto and Obon and. Things like that. Yeah. You definitely wanna use Acto. Yeah, yeah, Acto's an amazing library. Yeah. Like versus writing raw queries? Yeah. Yeah, yeah. I noticed that at my SAS job a lot of our problems we had were like data schema making sure everyone was kind of like on the same page because the front end would be like the fields would be wrong or something and then the back end would just die because of that.
Yeah, yeah, yeah, Ecto is a beautiful library. All right. Well, dude, Mick, thank you for joining me. Yeah, this is a. Lot this is a lot of fun. I'm I'm excited, I'm going to start following, following your project because I think it's cool. It's. Awesome. Thank you man. You know, the mass multiplayer, yeah, online game being built with Elixir. I think that's cool and awesome, man. I'm excited to watch you grow
and monetize and like, figure it, figure it all out, you know? Yeah. Thank you so much. Yeah, it was good talking to you. It's been nice. I haven't talked to much people about this, so it's, well, you're. Welcome to come back anytime like if you're about to make a big release, let's get you back on and let's chat about. It Oh, OK, yeah, I'll hit you up. Yeah, might as well, right? I got to support all these elixir companies. Yeah, got to support each other. Exactly. Well, thanks so much man. And for everyone else, I hope you guys had a good Christmas
and New Year's. And I think I have, I'm like booked out. I'm like, I think I have a podcast every Friday moving forward for a couple months. So that's pretty cool. It's kind of crazy. Apparently people like this podcast but alright. Thanks man. Any final words of wisdom for people? No, I have nothing. You have a Have a good year. Yeah. Yeah, exercise. Oh, and I have like your links.
I have your X, your X account, LinkedIn the description and then I also have the swarm MMO dot game URL. Awesome. Thanks. Thanks so much. Find you, but alright well thanks again man, this was a lot of fun and everyone else have a good one. Take care, see ya. Testing.
Francesco Cesarini, founder of Erlang Solutions, and Allen Wyma, hosts of BEAM There, Done That, join Jacob for a live crossover of both podcasts. They trade origin stories, compare what the Erlang and Elixir...
Jason Cohen, founder of WP Engine and Smart Bear, joins Jacob to talk about his new book Hidden Multipliers. They dig into why engineers avoid marketing, the onboarding math behind SaaS trials, finding your ideal...
Filipe Cabaço, team lead on Realtime at Supabase, returns after two years to talk about his side projects: Vitro, a browser for every AI agent with a replayable timeline of what each one did, and Ampoule, which packs an...
Peter Ullrich returns to talk about Pushin.eu, the European GitHub alternative he's building in Elixir. Five months in, it has about 700 confirmed registrations after going viral on Hacker News, and Peter walks through...
Nathan Hessler, organizer of ExMex and RBQ Conf, is back four weeks out from ExMex 2026 in Austin. We cover MCing Rails World, how he picks speakers and keynotes for a single track, what running a Ruby conference taught...