Infinite Mario With Dynamic Difficulty Adjustment 103
bgweber writes "There's been a lot of discussion about whether games should adapt to the skills of players. However, most current techniques limit adaptation to parameter adjustment. But if the parameter adaptation is applied to procedural content generation, then new levels can be generated on-line in response to a player's skill. In this adaptation of Infinite Mario (with source [.JAR]), new levels are generated based on the performance of the player. What other gameplay mechanics are open for adaptation when games adapt to the skills of specific players?"
Interesting Idea (Score:2, Interesting)
But not a whole lot of fun in practice.
Spelunky http://www.spelunkyworld.com/ [spelunkyworld.com] is a way better example of a platformer with randomly generated levels.
Re: (Score:2)
Re: (Score:3, Insightful)
Anyone here play Warning Forever? It's a shoot-'em-up consisting entirely of boss battles, but it has an interesting twist: the next boss adapts based on how you defeated previous bosses in terms of its body configuration, weapon placements, and weapon types. So, you're forced to change up your tactics or you'll be wiped out. I love it.
Link for anyone interested: http://www18.big.or.jp/~hikoza/Prod/index_e.html [big.or.jp] (Yes, in Japanese, but the game is in English and not hard to download from the page.)
Re: (Score:2)
Re: (Score:2)
Only if it's an option (Score:5, Insightful)
One of the fun part of video games is playing the same level as someone else then talking about it, sharing frustrations and strategies. Once every level is different, this becomes much less easily done.
Thus, if infinitely adaptable levels *do* exist, they should exist as an extended option or potentially an expansion pack to existing games rather than having an entire game based on that.
Whether the level itself needs to change, or if just spawn points, etc, should cause different things/amount of enemies to spawn is another option. I'm reminded of Left 4 Dead and its sequel with the Director system that alters the spawning of zombies and types of zombies based on difficulty and the apparent skill of the players.
Re: (Score:2, Interesting)
You mean where it allows you to save the level you played and replay it? Not hard to do, just save the RNG seed state (see SimCity classic for example).
Re: (Score:2)
I've attempted this kind of thing before. Its really REALLY hard. The addition or removal of a single call to your RNG function changes the entire thing. That means in order for this to be work with any great deal of reliability, you have to be absolutely 100% certain that you will never ever need to make the game/program more or less random in the future.
It might have worked in the pre-internet age, but in the modern world with online updates/bug fixes, user-generated content and whatever else, controll
You can have both. (Score:2)
You can have randow generated maps + repeteable.
Using the same seed for the random generator, you could make all the copys generate the same levels. If thats your win.
So you can have to option "Standard Campaing" and "New one", with the first option using a fixed seed, and the new one using a fresh seed taken from the OS or the clock.
Re: (Score:2)
The data about "how well you play" is the seed to generate the level. Just save that data and you can re-generate the level any time you want.
You're right about not being random, though.
Re: (Score:2)
Re: (Score:1, Insightful)
I think that's a bit simplistic.
Nethack and the like are the most obvious examples of games that rely on randomly generated levels to keep players playing, and there are many more.
The levels in this game aren't that great, but that doesn't mean an enjoyable randomly generated platformer is impossible
Re: (Score:3, Informative)
Re:Only if it's an option (Score:5, Insightful)
On contrary, your experience is still easily shared, frustrations voiced and strategies discused.
Few examples:
* Ever talked to someone about your Diablo session? How you like to use skill X against oponent Y, how that Z item dropped?
* YASD - Yet Another Stupied Death (in ADOM or your roguelike of choice) stories. Thats about as much frustration sharing as it can get.
* Dwarf Fortress - no two "levels" are alike, hell, everyone gets their personalised game world so one can easily play on dead planet where only few titan colosi and demons roam looking for sentiend beign to kill while someone else might be playing in populated and developed world. Yet people talk about their strategies, share tip and tricks.
Given that there is actually more to talk about (two people talking experienced game differently) and it is more personal (when someone tells you about their experience, you will hear his unique story), i'd welcome that.
Re: (Score:2)
First Person Shooters at one point started doing this - the sliding scale of enemy difficulty. Since in FPSs, the difficulty is mostly accrued by the skill of the AI. How fast they move, how accurate they are, how much damage they do... All that can be changed on the fly and adjusted to the player's difficulty.
This ended up causing a problem though, sometimes a player would end up on a huge lucky kill streak, and then the AI would be ramped against him, and he'd find the next section frustrating and difficu
Re: (Score:2)
Yeah... I recall that Diablo game, with it's random levels. No one really seemed to like it because they couldn't talk about making the same jumps and finding the same weapons.
Left 4 Dead makes such minimal changes that it's not even really worth mentioning. The sequel shows hints of altering pathways, but never really makes full on the promise.
Re: (Score:2)
Totally agree. As we talked about on my podcast [baldmove.com], I want to know people were in the deep shit with me. When I talk about NES-era Ninja Gaiden with a fellow aging geek, and I see the look of pain flash on his face? I know. I know he knows. And I know he knows that I know. You know? That experience has currency.
If it had some kind of sliding difficulty scale, and he says "what do you mean? I thought the game was easy." What does that mean? Is he a god of gaming? Does he suck and the game took mercy o
Re: (Score:2)
And you're totally sure you can't have the same experience if the content is procedurally generated why?
Playing both Zangband and Dwarf Fortress, which are both totally dominated by procedurally-generated content*, I've commiserated in the same way that you mention with many other players of the same games, because the same situations emerge, even if the precise content and layout of the game changes from play to play.
Similarly, people are able to discuss and bond over experiences in multiplayer games, wher
Re: (Score:2)
Good point. I actually had a counter argument in the back of my mind RE: Left 4 Dead, which uses a director system to ramp up the difficulty of the game, by playing with the size of and timing of the zombie hordes, and supply of health and ammo. A person that sucks at FPSs and a veteran can play the same game with wildly different difficulties, with the same end result: having to fight through a massive amount of zombies and just barely surviving to the safehouse.
I can imagine the same could be said for D
Re: (Score:1)
Randomly generated L4D maps would be awesome. The problem with the coop in that game is even with randomly spawning zombies, it still gets pretty predictable as the level format doesn't change, you know where all the hiding spots are, where ammo or guns are likely to be, etc.
Re: (Score:2)
Thus, if infinitely adaptable levels *do* exist, they should exist as an extended option or potentially an expansion pack to existing games rather than having an entire game based on that.
Or this tech could be used by developers to aid in level creation. Instead of needing to start from scratch for each level, you could generate a bunch of levels, play through them, pick the best ones, and tweak/perfect them. Maybe some fluke in the procedural program will create a design that inspires the level designers.
Re: (Score:2, Insightful)
Or they simply use a mac but are indifferent to it.
Re: (Score:2)
Or they simply use a mac but they think indifferent to it.
Fixed.
Re: (Score:2)
Related note: It would be really useful if file archivers had an option to NOT extract MacOS and Windows specific files like .DS_Store and thumbs.db, so that those of us on different platforms than the archive originators could avoid crufting up our filesystems.
Re: (Score:2)
Play more games (Score:3, Interesting)
The implementation of some of the monsters is wrong. I died when I tried to jump on a creature which I know can be jumped on.
Re: (Score:2)
Re: (Score:2)
In soviet russia, games jump YOU.
Re: (Score:1)
Re:Play more games (Score:4, Funny)
No, you're just that good, that was a disguise!! The game is messing with the sprites to make you loose!
A friend of mine was so good, the game started feigning door knocks and phone rings to distract him. When that didn't work, it threatened to delete his files if he didn't commit suicide ingame.
He, for one, welcomes his new Mario Overlord..
I am not *this* bad... (Score:1)
I though I am not *that* bad at Super Mario World, after playing this implementation...
First and foremost, I found it strange to move with the right hand and jump/run with the other (A,S keys).
Second, as you say the "physics" are not completely the same. For example the jumping on the turtles for a second time won't have the same effect as in the real game.
And you can do a "ninja Gaiden" jump when you fall in a pit... that is also not in the original.
Nevertheless the idea is interesting...
Re: (Score:1)
And you can do a "ninja Gaiden" jump when you fall in a pit... that is also not in the original.
Wall jumping has been possible in every game of the series since Mario 64. For instance, it can be done in New Super Mario Bros DS and Wii, which are 2D platformers just like SMW.
Re: (Score:2)
And you can do a "ninja Gaiden" jump when you fall in a pit... that is also not in the original.
Wall jumping was in the original; it was just a bug that required frame-exact timing. You see it a lot in tool-assisted speedruns. But you're right that Super Mario 64 was the first that made wall jumps doable by ordinary players.
But that's not all gold (Score:4, Interesting)
Re:But that's not all gold (Score:5, Insightful)
If you adapt too much, then the player won't feel challenges anymore. And in games challenges are the things that will demand players to push forward the efforts.
Adapting for the level of the player or adapting against it: can work both ways. A careful [wikipedia.org] approach can actually maintain the level of interest (frustrate the player, but not too much... rather tease) as well as driving up the level of skills
Re: (Score:1)
Re: (Score:2)
Uh.. what?
For the player seeking a difficult challenge, the game keeps adapting to his improving skills giving him that challenge. For the player seeking a casual experience, don't exert yourself. The game won't ramp up difficulty and thus you'll get the casual experience you want. If the game can't deliver on either one, thats a failure in implementation not principle.
Its games that don't adapt to skill that removes player ability to choose the experience. You get what was coded and no more (or less). Maki
Re: (Score:1)
Re: (Score:2)
And the pre determined difficulties are all we ever need. Rock Band on hard is okay, but generally easier than I care for. Expert, on the other hand, is usually too much for me. Neither setting is suitable.
If I were playing say.. Bioshock, and all I wanted to do was run and gun and not give a damn.. I could. Even if the game had adaptive difficulty, I could. Because the difficulty would respond to the fact that I was playing in a fashion that involved high volumes of fire and little care about damage taken.
Re: (Score:1)
But what if two players are playing the same way, with the same skill level, but have a different threshold of how many
Re: (Score:2)
There isn't any reason to eliminate difficulty settings in an adaptive game. Easy may have a different algorithim than hardcore.. or it may just have more lenient limits to the adjustable parameters. So.. for instance, damage taken by players has a lower minimum, damage dealt has a higher minimum, enemy accuracy has higher minimum variance. And, if nothing else at all, having difficulty settings gives the game a starting point, so it doesn't have to learn that I'm not a rank rookie at FPS every time I pick
Re: (Score:2)
Depends on how you adapt. I remember Wizardry 8 scaled the difficulty of every (unscripted) encounter such that it was an all out fight for survival, leaving your whole party barely hanging on in the end (and there were a lot of random encounters). Even when you went way back to beginning areas, you would get your ass kicked over and over again.
Actually, that got annoying pretty quickly, too.
(then again, maybe I was just crap at
Re: (Score:3, Informative)
That's because you didn't use the features of the terrain and the party players' positioning correctly.
When you move in a fight to place a wall behind you (or better yet a corner) and place the tanks in a front line, then it becomes very manageable.
The thing with Wizardry 8 is that there was significant tactical expertise necessary, something "real" RPGs didn't use to require.
Re: (Score:2)
Somebody must have read (Score:1, Insightful)
Ender's Game...but applied it to a simple Platform Jumper instead of a complicated psycho-analytic roleplaying scenario.
Re: (Score:2)
I'd have modded you up, had you not posted AC. That was a perfectly applicable reference! For those not familiar, here is a quick explanation:
http://en.wikipedia.org/wiki/Concepts_in_the_Ender's_Game_series#Fantasy_Game [wikipedia.org]
New enemies (Score:3, Informative)
These new enemies are a bitch.
A bullet bill with wings? Horizontally moving piranha plants you have to jump on to kill?
Re: (Score:2)
They confuse me! I played the mario where the bullets didn't blink and you couldn't jump on the piranha plants because they are biting upwards with their sharp teeth!
Also, how does Nintendo feel about this? Seems like they wouldn't be thrilled about some low-quality proof-of-concept java game using their sprites and sounds.
Re: (Score:3, Interesting)
Ok, the worst encounter so far was a flying spiny.
The level generator also creates levels which cannot be completed. It generated a level for me where I started in front of an enemy.
Re: (Score:1)
Yeah. Flying spiny got me when I first encountered him. My one of my most hated enemy from Mario games... WITH WINGS.
Didn't help that the little bastard started right next to me either. :(
Re: (Score:2)
It generated a level for me where I started in front of an enemy.
So did Home Alone 2: Lost in New York. If you don't move Kevin within two seconds, he loses a life. It's probably a reaction test. But at least SMB1 had the sense to erase all enemies on the first 16 meters of a map when spawning Mario.
Jumping Flashing Bullet Bill (Score:2)
Worse than spinys are the bullet bills with wings. They are just like spinys, in that you die when you jump on them. But in addition, they flash, so they are tougher to see.
The toughest part for me is when I would just spontaneously die. Maybe it was a bullet bill appearing out of nowhere, or maybe it was an invisible enemy. But that is when I stopped having fun, after about 10 minutes of playing.
I also dislike the controls. Not the button layout, I could change that easily with a new keymap or even use my
when it "pays" to underperform.. (Score:2)
Earlier example (Score:2)
The earliest example I know of was a direct predecessor of Ivan Iron Man -- Supersprint.
It was a bit more subtle, though. The enemy cars got faster from track to track, but they did so based on the time it took you to complete each track. The trick to completing the game was therefore to get a good lead, come to a halt in front of the finish line, wait for the other cars to catch up a bit, then win by a small margin. The enemy cars stayed slower and each subsequent race was easier.
AFAIK, this tactic was
Re: (Score:2)
Somewhere in that adaptive curve, there's a sweet spot. Players will find it, because they're also adaptive.
Oblig quote (Score:2)
Re: (Score:2)
Feed to to Mario AI... (Score:5, Interesting)
http://www.youtube.com/watch?v=DlkMs4ZHHr8 [youtube.com]
Re: (Score:2, Interesting)
Not Kaizo grade (Score:2)
Re: (Score:2)
lotus esprit turbo challenge (Score:1)
Human designed levels are much more interesting. Define why, codify, profit.
Re: (Score:2)
Ah, Wipeout XL (or Wipeout 2097 in Europe), the best game ever. Seriously.
Never played the first one.
Countdown (Score:2)
What's the bet that...
10..9..8..7..6..
site gets slashdotted
5..4..3..2..1
site gets a DMCA takedown notice
Re: (Score:2)
What about learning? (Score:5, Interesting)
One of the joys (for me) of playing 2D Mario games is learning how a level progresses and eventually being able to beat it though enough practice. If the level keeps changing this is taken away. I think it would be frustrating...
Then again, I did enjoy Diablo II.
Re: (Score:2)
challenge (Score:4, Insightful)
Adaptive monster levels is one of the reasons games are becoming boring excercises in flat-out grinding.
Where is the challenge? Challenges consist of you having to adapt - to learn a new skill, to become quicker, smarter, better. That is one part of the equation. The other is drama. Drama consists of changes in suspense. If everything is equally easy or equally hard, there is no drama in the story, it all becomes flat.
So a game that is always "at your level" or even always "just ahead of you" is neither challenging, nor interesting. This is doubly true for free-exploration games like Oblivion (one of the earliest mods available was to remove the auto-levelling).
In a railroaded game like most sidescrollers or FPS, a certain level of adaptation might save the player from the frustration of having to try the same sequence for the 100th time. But most current auto-adaptation fails in picking out when the player needs some help and would enjoy a reduced difficulty and when he is enjoying the challenge and doesn't want the game to be dumbed down.
So, until the time we get true AI, an explicit difficulty setting (bonus points if it can be changed mid-game) is still much preferable.
Re: (Score:2)
And that's what I was asking for - an explicit difficulty setting, choosen by the user. ;-)
Re: (Score:2)
You start off saying that auto-adapting is the reason for games being boring and then go on to say you want more of it.
Not at all, I may have been unclear.
I can see where in some games, a limited kind of auto-adapting could have its place - but then I proceed to show how leaving it out is actually the better choice even though at first glance it appears that automation would make things easier for the user.
I also don't see how a game that is always at or just above your level cannot be challenging or interesting.
Because it is flat. That is what I meant by grinding. Killing 1000 enemies of the same kind is quite a bit less interesting and challenging than killing, say, 10 enemies each of 100 different kinds. It is a question of ho
Re: (Score:2)
How is it flat if they are always at or above your level? As you improve the enemies improve as well.
Because there is no change in the challenge. Let me illustrate by a simplified example: Your enemies have always 100 hitpoints more than you do. That means the challenge is always, unchanging, "do 100 points more damage to them than they do to me". Once you've figured it out, it is purely repetitive, because the difference between you and them never changes. Only numbers change - instead of hitting them 2 times, you may have to hit them 5 or 20 times, but aside from that it is the same.
You also lose all sen
Re: (Score:1)
Re: (Score:1, Insightful)
Jesus Christ, dude.
It gets hard but... (Score:1)
Re: (Score:1)
Nothing new (Score:2)
Re: (Score:2)
But that's not really the same thing at all. (I admit, I didn't RFTA.)
I suck at the driving parts of games... or at least the "cartoony" driving parts of games. If I played a real driving game, I could possibly get good at it.
But in two Ratchet & Clank games, as well as Sly Cooper, I'm stuck at the driving parts.. In the first Ratchet & Clank, I have finished EVERYTHING else in the game (at least the missions), and am stuck on winning in the two races. In Sly Cooper, you're just driving a van wa
SWIV anyone? (Score:2)
It's a bad idea I think because it encourages the player to perform worse in general than he would otherwise. I remember the shoot-em-up SWIV on the Amiga did this. It was actually a good idea to lose a single life just before the really tricky bits. In the end, you saved more lives this way.
Instead, how about we use these things called "difficulty levels"? You know, like easy, medium, hard etc., and then it's up to the game creator to make sure a consistent challenge is maintained throughout the game.
15 years too late (Score:1)
Was this not on windows 95 with that game diablo already, self changing levels so no 2 runs are ever the same, therefor you theoretically never get bored...
Great! (Score:2)
it has to end (Score:1)