2 ms·
in-game constructors that represent either logic gates, or in some cases rudimentary circuit primitives that can then be used to product logic gates themselves.
by serf 3y ago
in-game constructors that represent either logic gates, or in some cases rudimentary circuit primitives that can then be used to product logic gates themselves.
Rust (the game) for example has a wiring system that is somewhat reminiscent of electrical wires (there is an amperage/electron concept that makes it tick), but the appliances that plug into the electrical system represent logic gates like AND/OR/NOR/XOR, etc; so that system kind of hits both the electricity and the logic metaphors. One can make complex memory structures/counters/timers/etc, and they may output/control in-game structures like doors/turrets/alarms/displays/etc.
a popular example would be a turret that fires upon an enemy that has been trapped in a house upon triggering a motion sensing device, initating a countdown, and powering up the turret.