/v/ - Video Games

post some fucking video games this time


New Reply on thread #12071
X
Max 20 files0 B total
[New Reply]

[Index] [Catalog] [Banners] [Logs]
Posting mode: Reply [Return]


How do you make a game without any random elements?

1. Use conditionals instead: the world reacts to the actions taken by the player (or lack thereof) since the start of the game.
For example, depending upon the state of the world (such as changes caused by the player or game clock) and the time from the start of the game's clock, certain types of enemies will act in accordance with one set of rules when they are unaware of the player (or their actions), another ruleset when they are partially aware of the player (or their actions), and another when they are fully aware.

2. for some things that would otherwise operate on a basis of chance (such as a skill that has a 25% chance of dealing double damage when used), you can instead replace it with some criteria that would activate the event once met, for example the skill mentioned above may deal double damage every fourth time it has been used, or will deal double damage if used on a certain enemy, or in a certain location on the enemy, or when the enemy is in a certain state (less than half health, on fire, etc.)

3. Initial item placements and drops would be fixed, as would the initial placement of enemies, every map would always be the same, and both encounters and npc's may appear in certain areas based on the clock and game state, not by chance.

- the world would feel more real -

Basically the whole world of a game without randomness would be deterministic, but deterministic in the same way our world is, were every prior input from the past creates the state of the present, which in turn creates the output of the future, if you know everything about the universe in any previous state, you can use that data to predict every state it would take from that point on, but there is so many bits of data and there are so many different ways they interact with one another, that it may as well be random from, our perspective.

A world of rules, plain and simple, cause and effect, everything is an equation, an algorithm, simply one of such scale that we may never be able to solve it.
This sounds about right.
If I go hunting I came across prey not by random chance but as a result of a constellation of a huge amount of events. From the time of day, through the weather, the state of wild edibles to the movement of other predators. And ofc, my actions if I stopped talking to the neighbour, stepped quietly enough, etc etc.
There is a tolerance ofc in certain events, they can be "true" on several points on a scale.

How big the database of such game should be (yeah I know, it depends on the game), and how much of a processing power were needed?


 >>/12071/
> but deterministic in the same way our world is

lol

Radioactive decay is nondeterministic.

1 m^3 of air at stp is 1.19kg.

Air contains 1.29% argon by mass. 1 m^3 of air contains 15.3 grams of Ar.

Natural argon is ~8*10^−16 m/m 39Ar. 1 m^3 of air contains 12.2fg of 39Ar.

One atom of 39Ar is 6.47^-23 grams. 1 m^3 of air contains 189 billion atoms of 39Ar.

Halflife of 39Ar is 269 years. 1 m^3 of air will have one beta-decay of 39Ar every 90ms on average.

The Lyapunov time of air at STP is who-the-fuck-knows. The Lyapunov time of 1 cm^3 of Ar at STP is 3.7*10^-11 seconds.

1 m^3 of air at STP has 7.14x10^26 atoms; e^62 or so. 62 Lyapunov times is about 3ns.

On human timescales our atmosphere is nondeterministic. It has decent statistical properties; one fundamentally cannot predict the low-level behavior.




Post(s) action:


Moderation Help
Scope:
Duration: Days

Ban Type:


5 replies | 0 file
New Reply on thread #12071
Max 20 files0 B total