Digital Gaming Arena Forum

Forum => The Locker Room => Topic started by: Ted on October 28, 2026 @ 11:28 PM

Title: Four Against Darkness Conversion
Post by: Ted on October 28, 2026 @ 11:28 PM
Four Against Darkness (https://www.drivethrurpg.com/en/product/550549/four-against-darkness-expanded-edition) is a pen and paper solo-rpg game that's been around since about 2018.  The link shows the expanded edition, but this digital conversion is based upon the old basic game's 4.0 rules revision so doesn't contain all of the added features of the expanded edition.

The basic premise of the game is you take a party of 4 characters into a randomly generated dungeon and search and hunt, room by room, for the final boss of the dungeon and then try to make it out alive. 

It took about 2.5 days to code with ChatGPT just using prompts and refining results.  It's coded in html and runs in your browser (only tested in Chrome).  This is the beta version.  It's feature complete except I'll probably add the ability to export the dungeon map to a pdf as well as add some more tool tips to help players. After that if I feel like revisiting it I may try to dress it up so it doesn't look like such a generic AI game.  However, my primary goal was to complete a project and even if I don't touch it again I consider this my first one across the finish line. 

I'm sure this is copyright infringement so please don't distribute, it's for personal use only.  I just thought you might enjoy a little browser based dungeon crawler.  That being said if you don't want something like that uploaded here feel free to remove and delete this post.  I'm headed out on a road trip vacation in the morning and I wanted to get it posted before we left.

Feedback is welcome!
Title: Re: Four Against Darkness Conversion
Post by: Jason on October 29, 2026 @ 08:28 AM
This sounds amazing! Looking forward to trying it out today.
Title: Re: Four Against Darkness Conversion
Post by: Ted on October 29, 2026 @ 08:53 AM
Looking forward to your feedback!  It might be tough to understand what you're supposed to do since you don't have the rulebook and I haven't implemented a tutorial, but maybe not.  You're a smart guy.  If you have any questions about navigating the interface or want help just post.  I'll be on the road but will prob be checking the forum regularly when done driving for the  day.  You can always text me too.
Title: Re: Four Against Darkness Conversion
Post by: Jason on October 30, 2026 @ 10:41 AM
You'll have to bare with me since I'm new to these types of games but I did complete a short expedition without any treasures.

While I'm not totally familiar with dice-based RPGs I can appreciate the depth of the game. The amount of options, characters and inventory management is really impressive. This far surpasses any of the text adventures I've made in the past. The user interface is very impressive too. If you told me this was a purchased game from a professional developer I would not question it for a second.

The one thing that dawned on me while playing was how this game can technically run on practically any system since it's HTML and runs in a browser. There's no reason I couldn't play this on my phone. I won't do because I know you're worried about copyright infringement, but this could easily be uploaded to any website (the entire game is less than 2.5MB) and could be played from anywhere on anything. 

I hope you continue developing it. If there's no digital version of this game, couldn't your game become the definitive version with the approval from the copyright owners?
Title: Re: Four Against Darkness Conversion
Post by: Ted on October 30, 2026 @ 11:20 AM
It probably could if I had the guts to approach them and ask.

I know it needs a tutorial or something helpful to get the player up and running.  Besides that was there anything else that you thought needed addressing.  Any quality of life stuff.  Anything at all?

When you developed your text based adventures did you write out a lot of narrative?  What was your process?
Title: Re: Four Against Darkness Conversion
Post by: Jason on October 30, 2026 @ 11:13 PM
Let me learn the game a little more before giving any quality of life opinions. Having never played these types of games, I don't really have anything to compare it to. The game currently does of nice job of detailing everything that is happening and I found the "Explain this Encounter" button to be extremely helpful for new users. I like the small touches like the animated dice too.

My text based adventures did not have a lot of narrative. I was finally able to convert the text based adventure game I made in Python back in 2019 into an executable file. I included simple PDF instructions (see below) with the layout of the map - it's a simple 5 x 5 grid with 25 rooms.

It's more of a foundation to get the basic functions working and is coded to be easily expandable, but I never got around to it.

Link to download game: Castle of Darkness (https://forum.digitalgamingarena.com/Castle_Of_Darkness.zip)

Title: Re: Four Against Darkness Conversion
Post by: Jason on October 31, 2026 @ 10:31 AM
I've included the source code if anyone is interested in seeing how it works.
Title: Re: Four Against Darkness Conversion
Post by: Ted on October 31, 2026 @ 12:59 PM
I won Castle of Darkness on easy!
Title: Re: Four Against Darkness Conversion
Post by: Jason on October 31, 2026 @ 02:03 PM
That was the game I told you about a while ago where I was thinking of adding a rock/paper/scissor aspect to the game instead of just a random number generator for battles.
Title: Re: Four Against Darkness Conversion
Post by: Ted on October 31, 2026 @ 02:41 PM
what would that mechanic look like in a fight?  You pick one and the computer picks a random one and you see the result?

On easy I never lost a battle so I never lost any life points.  What happens in CoD if you lose to a guard. The guard is defeated but you lose a life point?

Title: Re: Four Against Darkness Conversion
Post by: Jason on October 31, 2026 @ 02:59 PM
You have 5 lives and keep fighting the guard until he's defeated or you lose all your lives.

I found my old thread explaining my rock/paper/scissors idea: https://forum.digitalgamingarena.com/index.php?topic=435.msg10026#msg10026
Title: Re: Four Against Darkness Conversion
Post by: Jason on November 05, 2026 @ 11:32 AM
One issue I had with Four Against Darkness is that the game resets if you switch to a different tab. I had a good expedition going and was debating whether or not to bribe or fight a monster (loving all the choices), but the game was reset when I switched back to my tab. In case it matters, I'm using Firefox.
Title: Re: Four Against Darkness Conversion
Post by: Ted on November 07, 2026 @ 12:08 AM
I'll see if I can reproduce that when we get back from our trip. In the meantime you might be able to save and load to prevent that in the future?  If I remember correctly it says something like save locally?

Thanks for the feedback.
Title: Re: Four Against Darkness Conversion
Post by: Jason on November 07, 2026 @ 11:18 AM
Ah, that's my bad. I should have thought of that.

How does updating the game work? Do you have it uploaded to ChatGPT and just say things like "adjust X and Y"?

Also, how feature rich is this game compared the the board game or other digital versions? I know you said it doesn't have all the features of the expanded version, but does it have all the features of the standard version?
Title: Re: Four Against Darkness Conversion
Post by: Ted on November 07, 2026 @ 03:08 PM
There's no other digital version as far as I'm aware.  It's not really a board game.  It's a pen & paper game you play by rolling dice and drawing the dungeons on graph paper.  It's pretty fun to play that way and I think most people enjoy it for the artistic part.

It has all the features of the original version with the 4.0 revision.

I did this one different from all the others I did and am doing.  I used the desktop app of ChatGPT instead of the browser version. I wanted to see how it behaved differently.

Since I had the full game already designed (the published book) I didn't need to feed it new ideas and features.  I stated I wanted a 1:1 conversion of the book so it had me upload every page in chunks of about 6 to 10 pages.  It then built out the game section by section stopping at points to internally test (it did all the testing) and when it was finally done it handed me the finished version.  I started playing it and realized pretty quickly that it had omitted or misinterpreted several rules and features so over the course of another day I told it the missing feature or rule and it would correct.  I want to say it needed about 10 passes and revisions before I released it as beta here.  How the process looked while it was building was I would check on it every so often and if it had stopped working and gotten to the end of a testing phase I would ask it what it needed.  On this program every time it said it had what it needed and was ready to implement the next part so I would just type in "proceed."  After that happened a couple dozen times I just typed in unless you need something from me proceed and off it would go.  It would usually churn for about 20 or 30 minutes at a time between implementations.  One of the interesting results of the process was that it also taught me that I was omitting some rules in my pen & paper play that I never realized I was supposed to be doing.

For every other module I've made and my current alpha of my big game I use the browser version. Because I've been making it "on the fly" I really have just been playing with the alpha and when I think of an idea I want to try I describe it as detailed as I can tell the AI to make a new branch and implement the idea.  There is a lot of back and forth in this process because I learned that the has a tendency to want to take over as the designer or architect if you don't explicitly tell it what you're trying to accomplish. It is also terrible at solving problems. It comes up with solutions that often either are very convoluted and unnecessary or it breaks other things that are already working fine.  Or it just "band-aids" the problem instead of preventing it from happening again somewhere else.  As far as I can tell it's great at coding.  I just have to tell it exactly the method to fix the problems that crop up.  I don't know any code, but I can critically think how the problem is happening and design the solution then the AI speaks the language the machine needs to implement.  I think spending 25 years as a mechanic/maintenance technician has helped me greatly here in being able to communicate with the AI in a way that effectively troubleshoots and solves problems.  So in the stuff I create from scratch I'm the designer and the play tester. 

From those learning pains I've established a few processes that have sped up the development and greatly eased frustration with the AI. Every new idea gets its own separate conversation until it's implemented into the stable alpha.  I have a set instruction list of my role and the AI role that the new conversation gets so it knows exactly what it's supposed to do and not supposed to do.  Importantly one of those instructions is that it needs to ask as many clarifying questions as needed so it doesn't guess and do it's own thing.  It's also instructed before each prompt within the conversation, after I tell it what I want or what is not working in what it produced, that it needs to explain to me technically what it's going to implement and also explain back to me exactly what I want from it so I know it understand the request.  Then if that looks good and I don't need to correct its explanations I tell it unless it needs something else proceed.  Sometimes it asks for an upload of a previous version of the alpha or a save json file, but most of the time it just goes and a few minutes later the branch is ready for testing.  Once in awhile we get stuck for a whole day on one issue (water, and roads and paths) have been challenging), but most days I can implement 3 ideas or even more and push a new stable alpha.

My next goal is to personally learn how to use git and become better organized and learn how to properly push repos (if that's even the right phraseology) because I was so happy with the outcome of Four Against Darkness that I want to convert all of my dozen or so solo board games and even a few other non solo board games.

Title: Re: Four Against Darkness Conversion
Post by: Jason on November 07, 2026 @ 08:14 PM
I really feel like you might be onto something here, especially if no one else is doing anything like this. The way you're designing the game with AI would have been unheard of just a few years ago.
Title: Re: Four Against Darkness Conversion
Post by: Ted on November 08, 2026 @ 12:42 PM
One (https://boardgamegeek.com/boardgame/108906/thunder-alley) of the board games I eventually want to digitize.

It's not solo but there are ways to sort of play it solo. Would require significant work to develop AI opponents. Also would be interesting to try to make a play by forum or turn based online game for 2+ friends  ;) to play. 
Title: Re: Four Against Darkness Conversion
Post by: Jason on November 08, 2026 @ 08:20 PM
I'd be interested in trying that out with you. I'd really be interested if you could do the same thing with an D&D type game too.
Title: Re: Four Against Darkness Conversion
Post by: Ted on November 09, 2026 @ 11:41 AM
Did you have a D&D type game in mind?  Was there a specific title you know about or were you thinking up some kind of design?
Title: Re: Four Against Darkness Conversion
Post by: Jason on November 09, 2026 @ 10:14 PM
I was thinking of turning the table-top board game into a digital game. I've never played the game so I don't know if it's even possible. Four Against Darkness as a multiplayer game would be a lot of fun too.
Title: Re: Four Against Darkness Conversion
Post by: Ted on November 10, 2026 @ 02:31 PM
Are you talking about these?

The D&D Adventure System

Game   Released   Setting
Castle Ravenloft   2010   Gothic horror, vampires, undead
Wrath of Ashardalon   2011   Traditional dungeon crawling, dragons
The Legend of Drizzt   2011   Underdark adventures
Temple of Elemental Evil   2015   Classic D&D dungeon exploration
Tomb of Annihilation   2017   Jungle exploration and deadly tombs
Dungeon of the Mad Mage   2019   Massive underground dungeon
Title: Re: Four Against Darkness Conversion
Post by: Jason on November 10, 2026 @ 10:13 PM
I'm not familiar with those games but after looking them up they look like the types of game I was thinking of. I'm not looking for fancy 3D graphics - what you have in Four Against Darkness is what I'm looking for. I like the old-school vibe of text adventures.

For a modern version, I've been looking at Demeo (https://www.resolutiongames.com/demeo) on PS5 and Xbox.
Title: Re: Four Against Darkness Conversion
Post by: Jason on November 17, 2026 @ 10:18 AM
The save locally feature works great and couldn't be simpler to use. I'm slowly learning more about the game.
Title: Re: Four Against Darkness Conversion
Post by: Ted on November 17, 2026 @ 11:09 AM
Funny you posted at this time.  I just started a new run with lvl 1 chars last night.  1st room in run into a small dragon.  I usually just kill everything, but the guys being so new I didn't feel like facing off against a lvl 6 monster right away so I gambled and rolled for reaction.  The dragon gave us a quest.  Bring him the head of another dragon.  So I guess there are two dragons competing in this dungeon (or could be another if we didn't find him in this one).  Turns out two bosses later there's the other dragon.  Took some damage but we got his head.  Took it back to the quest giver and got the reward plus an xp roll.  Then later on encountered a third dragon!  This was boss #4, but still not final boss. Killed him but we are really beat up.  Couple guys down to 2 life and I'm debating just exiting with what we've hauled out so far.  But I may push on and just RP it like if we fail to kill the final boss there will be some kind of retribution on the local nearby town.  We are heroes after all....

Re: saves locally, I'm starting to think I should add in an ironman mode that saves after every round.  It is meant to be played like a roguelike with no save-scumming and it might help with players that forget to save regularly (like me).  I'm glad the save locally is working  for you though.

(https://forum.digitalgamingarena.com/gallery/6_17_11_26_11_13_23.png)
Title: Re: Four Against Darkness Conversion
Post by: Jason on November 17, 2026 @ 11:40 AM
How long did it take you to get where you are in the screenshot? I'm trying to figure out average gametime. Also, how do you leave with your treasures instead of moving forward?
Title: Re: Four Against Darkness Conversion
Post by: Ted on November 17, 2026 @ 12:42 PM
I haven't kept track of time, but probably 20-30 minutes. I don't rush and I tend to play a few rooms at a time before doing something else.  The pen and paper version plays in about 45 min to 1 hour per dungeon depending on length and if you like to detail draw.

To exit just keep backtracking to the dungeon entrance and there should be a button that pops up (it may be in the party or camp menu) to exit the dungeon.  In the pen and paper game you cannot return to an dungeon once you exit.  It's assumed all monsters have abandoned the dungeon taking their treasure with them because it's been invaded.  I think the only options to revisit dungeons are to complete quests (like this dragon head) and recover party members that have become petrified by a Medusa.  I know I have successfully recovered petrified characters, but the system may not be implemented properly yet to prevent further exploration and treasure hunting.
Title: Re: Four Against Darkness Conversion
Post by: Ted on November 17, 2026 @ 05:34 PM
I should also mention backtracking is not without risks.  Room by room you roll and there's a chance you'll encounter wandering monsters that attack from behind and attack first.  You should pay attention to marching order because in corridors the rearmost characters will be the ones absorbing attacks and you cannot change marching order during a fight.
Title: Re: Four Against Darkness Conversion
Post by: Ted on November 17, 2026 @ 05:41 PM
If you make it back to the entrance the exit button is on the right side of the main screen.  My party made it out.  We had a lot of magic items from lucky rolls plus the epic treasure from the quest so I decided not to risk it.  Only had to fight one wandering band of hobgoblins in a corridor.

(https://forum.digitalgamingarena.com/gallery/6_17_11_26_5_39_21.jpeg)
Title: Re: Four Against Darkness Conversion
Post by: Ted on November 17, 2026 @ 06:11 PM
New dungeon.  Just got another dragon and another lucky roll giving a quest.  Bring Chaos Lord to him bound with rope.  I've got rope.  Here's hoping I run into the CL.  I'm greedy for epic loot.
Title: Re: Four Against Darkness Conversion
Post by: Ted on November 17, 2026 @ 07:32 PM
Finished the dungeon and exited without finding final boss and with a fallen hero being carried out by one of the surviving 3.  I'll need 1000 gold to revive her, but I think we will be well short even if I sell everything we own so she will probably perish.  Posting this as a response to how long it takes to play straight through. In this case it appears to be about 90 minutes. This was a long dungeon because of a lot of corridors twisting around.  I did discover a bug that I thought I had solved.  When rolling the final room of the dungeon it's supposed to automatically be the final boss.  I'm pretty sure the only spaces that could be rolled with the remaining exits were corridors so it should have given me a boss in the final room I rolled.  I had this bug before and tried to fix it, but it looks like the fix failed or another state has created the same problem.  The only other thing I can think of is that the dragon that gave the quest is being counted as the final boss and I would need to go in and kill it, but there's nothing indicating that that is the case.

(https://forum.digitalgamingarena.com/gallery/6_17_11_26_7_26_52.jpeg)
Title: Re: Four Against Darkness Conversion
Post by: Ted on November 17, 2026 @ 09:40 PM
Sold everything and had enough gold, but the resurrection roll failed.  Needed 1-3 and got a 4.   
Title: Re: Four Against Darkness Conversion
Post by: Jason on November 17, 2026 @ 10:04 PM
How does the size of this dungeon compare to the board game?