Question / Challenge

Here's a question that's more closely related to the game, more specifically the version of Metallic in The Construct servers.

Let's start with the situation. I'm making a door that takes a certain combination of 4 digits in order to open. Each digit can be a number from 0-9, and any
number can be entered multiple times.

The issue here is that any person can eventually get the door to open by pressing random switches until the correct sequence
is entered.

To remedy this, a counter should be created to take into account how many times one can enter a wrong input before getting
fried by a forcefield and the sequence is reset for the next person to tackle.

Got a piece-efficient idea?

Comments

  • UPDATE

    I made a counter that takes into account all inputs, but not only incorrect ones.

    [EDIT]
    This one is flawed as it doesn't accept errors when the correct sequence was previously entered while it accepts 1 error when the last sequence entered failed.
Sign In or Register to comment.