deengames-prototypes / virus-escape

A virus-escaping-the-network strategic puzzler.
0 stars 3 forks source link

Generate slightly less walls! #24

Closed ashes999 closed 7 years ago

ashes999 commented 7 years ago

Some background: game balance is good, but I feel like I always lose because I get stuck (walled in by an anti-virus) -- not because of lack of skill, or planning, but just because they walled me in.

Hence, this tweak: generate slightly less walls.

Plus, it's confusing to have a config value for number of walls, but it's set to zero. Generating walls only one way makes more sense.

Before:

After:

I didn't play-test but it seems better. Too little? Not sure.

ghost commented 7 years ago

Using 'Empty' Isn't the ideal way. Rather, if you want less randomly generated tiles, there's a config option doing just that. probabilityOfSpawningTile & co. are the ones you want.

ashes999 commented 7 years ago

Disagree. probabilityOfSpawningTile and friends affect all tiles. In this case, I feel the game balance is okay, but too wall-heavy.

The real config value should be wallTilesPerLevel, but that value is already 0, so I can't decrement it further.

If you're willing to rewrite this part of the code to use config settings, I can work with that. I don't think that's necessary; we're almost there (proving the game concept is fun), and this is a small tweak to the balance.

I think we should go with this change. Obviously, having two ways to tweak the config isn't ideal, but we can consolidate later.