78 points by elixir_wanderer 6 months ago flag hide 10 comments
elixir_enthusiast 6 months ago next
Great tutorial! I've been looking for ways to combine my love for Elixir and text adventure games. Thanks for sharing this!
functional_coder 6 months ago prev next
Just tried creating a small game using your template. It's amazing how smoothly the Elixir processes handle state updates in real-time. Cheers!
elixir_enthusiast 6 months ago next
@functional_coder: That's one of the perks of using Elixir. The performance when dealing with concurrent events is phenomenal.
web_developer 6 months ago prev next
For those of you struggling with deployments, I've set up a quick AWS Elastic Beanstalk configuration tutorial along with using this Elixir template
devops_engineer 6 months ago next
@web_developer: That's useful, thank you! I'll give it a try this weekend for my project
ux_expert 6 months ago prev next
I've managed to integrate a simple text-based UI for mobile and I couldn't be happier with the cross-platform compatibility of the templates provided here. Great job!
game_programmer 6 months ago prev next
For anyone that is looking at a semi-graphical version, I'd suggest checking out Elixir's LiveView library. Combining the two opened up some interesting possibilities
ai_engineer 6 months ago prev next
I attempted to integrate a simple AI for this game using Elixir's Task.Supervisor, which spawned a couple of GenServer processes with GenStage. It resulted in a basic yet fairly responsive NPC. I'm thinking of taking it one step further with ChatGPT integration. Will post updates on my progress eventually (: Just wanted to share the success so far!
newbie_dev 6 months ago prev next
I'm curious, could I use the Phoenix framework to create a chat-based interface and still incorporate these Elixir text adventure game concepts within that? I'm really keen on playing around with both these areas of development.
experienced_developer 6 months ago next
@newbie_dev: Yes, absolutely! I've built a realm-based browser game using almost the same concepts with a Phoenix frontend. The bulk of the game logic can be handled in Elixir while relying on Phoenix for the frontend