This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
Robskie's profile picture

Special lock

Started by Robskie, 10 December 2013 - 05:05 PM
Robskie #1
Posted 10 December 2013 - 06:05 PM
Hello guys.
I've had a small idea for quite some time but i just don't have the skills to put it into working yet.
this is it: There is a room with 4 pistons and 4 pressure plates next to the pistons. The computer generates a random puston to eject, the person in the room then has to activate the pressure plate that belogns to that piston. if this is not done within 3 seconds the system will reset. if this is done correctly 5 times in a row the door of the room opens for 5 seconds, then resets.

-Robskie
Grim Reaper #2
Posted 10 December 2013 - 11:49 PM
Sorry, but we don't write code for people upon request. However, what we do do is teach you what you need to do in order to accomplish such a task.

Things that I suggest that you look into:
Edited on 10 December 2013 - 10:50 PM
Robskie #3
Posted 11 December 2013 - 06:58 AM
Thanks!