Chaosforge Forum

  • March 28, 2024, 01:30
  • Welcome, Guest
Please login or register.



Login with username, password and session length
Pages: [1] 2  All

Author Topic: Pre-generated games & GotM  (Read 13661 times)

DaEezT

  • Greater Elder
  • Colonel
  • *
  • *
  • Offline Offline
  • Posts: 565
    • View Profile
Pre-generated games & GotM
« on: March 24, 2007, 07:32 »

Ok, this topic is about two things.
First: pre-generated maps where the entire game is generated during the character generation, similar to the way AliensRL does it. And since AliensRL already does it I'm mostly talking about DoomRL and if it would be possible and useful.
The idea is, that you select a pre-generate option in the main menu and after you created your character (difficulty, name, first trait) the game generates all the levels, creates a save and exits. You can resume that save like any other (meaning it's deleted upon loading).
Why would we want this?

Simple: Game of the Month(GotM)
I remembered this yesterday. Civilization Fanatics' Center has been doing Civ 2,3,4 GotM for quite a while now (total of 192 games so far, not counting special challenges).
The idea is simple: Every month, the guy who organizes these games creates a new game. He selects the civ, the world setting, difficulty, etc. The starting save is then posted on the forums and everyone who wants to can download the save and play the game. The players then discuss their strategies, how their games turned out, what victories they went for, etc.
It's always quite interesting to see how much the results can differ between players, even though everyone started out with the same game.

Something similar might be interesting for DoomRL (and other RLs). Right now, when we discuss strategies or talk about our games in the mortem board, it's always game specific. Since each level is generated randomly there is always luck involved.
With pre-generated games we could play the same game and then discuss the choices we made, the strategies we used, etc.
But it would require a new game mode for DoomRl, and the mortems should probably contain the selected game mode.

Anyway. Long story short: Would anyone else be interested in such a mode and/or GotM?
And I'm not limiting this to DoomRl. AliensRL is also an obvious candidate. I dunno about Berserk! tho.
Logged
"Morality is merely a convention with which men mutually agree to delude themselves. There are no moral facts, just preferences, and one is no better than any other."

BDR

  • Elder
  • Lieutenant Colonel
  • *
  • *
  • Offline Offline
  • Posts: 400
    • View Profile
Re: Pre-generated games & GotM
« Reply #1 on: March 24, 2007, 12:01 »

Interesting.  The only problem that I can see is that people might be able to figure out the best strategy for the games very quickly, and so it may have to be GotW instead of GotM (Civilization is a very complex game, which is why it can easily take a month to work out how best to handle everything, whereas DoomRL is intended to be much simpler).
Logged

RickVoid

  • Elder
  • Second Lieutenant
  • *
  • *
  • Offline Offline
  • Posts: 177
    • View Profile
Re: Pre-generated games & GotM
« Reply #2 on: March 24, 2007, 12:13 »

I love it!!

This sounds like a great idea. Everybody would be able to find the same weapons and items in the same locations, and by reading the mortems and stories of better players, new players would be able to learn and utilize existing strategies, as well as create new ones by looking at what worked/didn't work for others.

The problem is that this would require a massive rewrite of the game code. Yes, Kornel could throw this in as a new mode. But DoomRl is cobbled together enough as it is. On the other hand, Kornel has been looking for an excuse to go through and rewrite the code anyway. This would give him that excuse.

Ooh. Another thought occurs to me. We hate save-scummers, right? Well, when you save the game, copy to another location, and load it up, everytime you load that file it will load a different map. This allows players to find "easy stairs" to quickly get lower. If the levels are pre-generated, however, players are stuck facing the same enemies and levels over and over.
What happens when you are forced to fight the same enemies over and over after dying time and time again? You get better. You change tactics. You learn what works and what doesn't. This would change save-scumming into a powerful learning tool. Advanced players could put working characters together and post them here for younger players to mess with and learn from.

I know that trying to include this in version .09 would be impossible. I know that trying to include this in version 1.0 would push it way back. But please do it anyway.

Anything that will help me not suck at Rougelikes is Aces to me. :)
Logged
Campbell: Snake, press the action button.
Snake: ... What?
Campbell: The action button, on the control pad.
Snake: What!?

DaEezT

  • Greater Elder
  • Colonel
  • *
  • *
  • Offline Offline
  • Posts: 565
    • View Profile
Re: Pre-generated games & GotM
« Reply #3 on: March 24, 2007, 12:15 »

But DoomRl is cobbled together enough as it is.
I just want to make sure this doesn't get edited out or "lost" ;D
Logged
"Morality is merely a convention with which men mutually agree to delude themselves. There are no moral facts, just preferences, and one is no better than any other."

RickVoid

  • Elder
  • Second Lieutenant
  • *
  • *
  • Offline Offline
  • Posts: 177
    • View Profile
Re: Pre-generated games & GotM
« Reply #4 on: March 24, 2007, 12:17 »

But DoomRl is cobbled together enough as it is.
I just want to make sure this doesn't get edited out or "lost" ;D

*My doomguy avatar glares at you*

Okay, I don't have a direct quote where Kornel said that, but he has said similar things in the past, yes?

Uh....

Sorry, Kornel? :X
« Last Edit: March 24, 2007, 12:19 by RickVoid »
Logged
Campbell: Snake, press the action button.
Snake: ... What?
Campbell: The action button, on the control pad.
Snake: What!?

Styro

  • Elder
  • Second Lieutenant
  • *
  • *
  • Offline Offline
  • Posts: 166
    • View Profile
Re: Pre-generated games & GotM
« Reply #5 on: March 26, 2007, 09:18 »

I think this would be great fun!

The only possible downside I see as using it for a competition is that the people who play first will be at a disadvantage because later players will know what items to expect (an early doubleshotgun or advanced chaingun would affect which traits you pick for example). Even if we had mortem-scummers, though, I still think it would be worth doing.

Logged
Arch-Vile Mjr General
[19/19/12/7/3]

Rabiat

  • Sergeant
  • *
  • Offline Offline
  • Posts: 98
    • View Profile
Re: Pre-generated games & GotM
« Reply #6 on: March 26, 2007, 09:49 »

The starting save is then posted on the forums and everyone who wants to can download the save and play the game.
I think it's even simpler. Every game is generated from a sequence of pseudorandom numbers from the RNG, which (probably) only needs a single random seed. If DoomRL sets the random seed only once at game initialization, all you'd have to do is implement an option for the user to supply the random seed, and leave the rest up to the program. So players wouldn't even have to download a save file, they could just copy this week's magic number off the forum.

And yes, I'd be interested. :)

Edit:
The problem is that this would require a massive rewrite of the game code.
If what I just said is true, the massive rewrite would amount to some ten lines of code. ;)
« Last Edit: March 26, 2007, 09:58 by Rabiat »
Logged
0.9.9.2 - [22/8/2/0/0] - Mancubus Scrap Metal Collector

Kornel Kisielewicz

  • God Hand
  • Apostle
  • *
  • *
  • Offline Offline
  • Posts: 4562
    • View Profile
    • http://chaosforge.org/
Re: Pre-generated games & GotM
« Reply #7 on: March 26, 2007, 11:22 »

The starting save is then posted on the forums and everyone who wants to can download the save and play the game.
I think it's even simpler. Every game is generated from a sequence of pseudorandom numbers from the RNG, which (probably) only needs a single random seed. If DoomRL sets the random seed only once at game initialization, all you'd have to do is implement an option for the user to supply the random seed, and leave the rest up to the program.
(...)
If what I just said is true, the massive rewrite would amount to some ten lines of code. ;)
What you didn't take into account is the fact that contrary to AliensRL levels are generated when you enter them ;]. That means, that you'll get a different level depending on (for example) how many times you fired in the previous one :P.
Logged
at your service,
Kornel Kisielewicz

RickVoid

  • Elder
  • Second Lieutenant
  • *
  • *
  • Offline Offline
  • Posts: 177
    • View Profile
Re: Pre-generated games & GotM
« Reply #8 on: March 26, 2007, 11:32 »

The starting save is then posted on the forums and everyone who wants to can download the save and play the game.
I think it's even simpler. Every game is generated from a sequence of pseudorandom numbers from the RNG, which (probably) only needs a single random seed. If DoomRL sets the random seed only once at game initialization, all you'd have to do is implement an option for the user to supply the random seed, and leave the rest up to the program.
(...)
If what I just said is true, the massive rewrite would amount to some ten lines of code. ;)
What you didn't take into account is the fact that contrary to AliensRL levels are generated when you enter them ;]. That means, that you'll get a different level depending on (for example) how many times you fired in the previous one :P.

Uhhh... okay.  Then I guess my question is, "What the hell does the preloader do!?"
Logged
Campbell: Snake, press the action button.
Snake: ... What?
Campbell: The action button, on the control pad.
Snake: What!?

Kornel Kisielewicz

  • God Hand
  • Apostle
  • *
  • *
  • Offline Offline
  • Posts: 4562
    • View Profile
    • http://chaosforge.org/
Re: Pre-generated games & GotM
« Reply #9 on: March 26, 2007, 11:32 »

Uhhh... okay.  Then I guess my question is, "What the hell does the preloader do!?"
Errr, what preloader?
Logged
at your service,
Kornel Kisielewicz

RickVoid

  • Elder
  • Second Lieutenant
  • *
  • *
  • Offline Offline
  • Posts: 177
    • View Profile
Re: Pre-generated games & GotM
« Reply #10 on: March 26, 2007, 11:45 »

When you start the game, it shows you a screen in which it names all of the towers, and # symbols slowly pop up next to the names, one after another. (7 for the first towers, 8 for the main tower.) We all assumed this was where the levels were generated. They get loaded into the game, before the game. Hence my calling it a pre-loader.

So, back to my question. If it's not generating the levels (since you just said they get generated when you go to that floor) what the hell is it doing?
Logged
Campbell: Snake, press the action button.
Snake: ... What?
Campbell: The action button, on the control pad.
Snake: What!?

BDR

  • Elder
  • Lieutenant Colonel
  • *
  • *
  • Offline Offline
  • Posts: 400
    • View Profile
Re: Pre-generated games & GotM
« Reply #11 on: March 26, 2007, 11:48 »

What you didn't take into account is the fact that contrary to AliensRL levels are generated when you enter them ;]. That means, that you'll get a different level depending on (for example) how many times you fired in the previous one :P.

Translation: In AliensRL, levels are loaded at the beginning of the game.  In DoomRL, they are loaded when you enter the staircases.

Make sense?
« Last Edit: March 26, 2007, 11:53 by BDR »
Logged

RickVoid

  • Elder
  • Second Lieutenant
  • *
  • *
  • Offline Offline
  • Posts: 177
    • View Profile
Re: Pre-generated games & GotM
« Reply #12 on: March 26, 2007, 11:54 »

What you didn't take into account is the fact that contrary to AliensRL levels are generated when you enter them ;]. That means, that you'll get a different level depending on (for example) how many times you fired in the previous one :P.

Translation: In AliensRL, levels are loaded at the beginning of the game.  In DoomRL, they are loaded when you enter the staircases.

Make sense?

DOH!

Me so stupid sometimes. Need to read more thoroughly.

:(
« Last Edit: March 26, 2007, 11:56 by RickVoid »
Logged
Campbell: Snake, press the action button.
Snake: ... What?
Campbell: The action button, on the control pad.
Snake: What!?

Rabiat

  • Sergeant
  • *
  • Offline Offline
  • Posts: 98
    • View Profile
Re: Pre-generated games & GotM
« Reply #13 on: March 26, 2007, 13:15 »

What you didn't take into account is the fact that contrary to AliensRL levels are generated when you enter them ;]. That means, that you'll get a different level depending on (for example) how many times you fired in the previous one :P.
You're right, I didn't take that into account. :) In that case, you would need to predetermine each level at game start, but it can still be done using a single random seed for each level. And an array of 'level seeds' could be determined randomly, using a single random seed to identify the game as a whole. You couldn't do that in ten lines of code, but I don't think it would qualify as a major rewrite.
Logged
0.9.9.2 - [22/8/2/0/0] - Mancubus Scrap Metal Collector

Santiago Zapata

  • Temple Guardian
  • Backer
  • First Lieutenant
  • *
  • *
  • Offline Offline
  • Posts: 236
  • Roguelike Developer
    • View Profile
    • Slashie.net
Re: Pre-generated games & GotM
« Reply #14 on: March 27, 2007, 07:12 »

Hehe Kornel, but you can make it so the RNG seed can be obtained and reused? thus the newly generated leves would be the same for everybody playing the same seed, no?
« Last Edit: March 27, 2007, 07:32 by Santiago Zapata »
Logged
Slash (Castlevania, Metroid, Drash, ZeldaRL)
Temple of The Roguelike
Slashie.net
Pages: [1] 2  All