« Forum Index < Random Chat Forum | 01110000011011110110 |
kolkon sitei
Age: 36 Karma: 57 Posts: 342 Gender: Female Location: darvince pm | email
|
Make a (one use) NOR gate in HATPC.
________________________________________________________________________________________________________________
A NOR gate is a type of gate/operator with two inputs and one output. The two inputs and the output are either 0 or 1, off or on, True or False. When any of the switches is on, then the NOR Gate will output off. If both of the switches is off, the the NOR gate will ouput on. However in HATPC there are no switches and there are no inverters. To compensate, you can use stuff like arrows as single-use switches and a control switch for inverting signals.
If you're still confused, i suggest you mess around with this tool: http://www.cs.kent.edu/~volkert/F10-10051/notes/logsim.html
Drag two switches, a lightbulb and a NOR gate into the sandbox. drag wires from the switches to the NOR gate and a wire from the gate to the lightbulb. The switches and lightbulb here are like arrows in HATPC. When the switches/lightbulb is on, that means the arrow was fired/boulder was dropped/tnt was triggered. When the switches/lightbulb is off, that means the arrow was not fired, the boulder was not pushed, and the tnt was not blown up. The goal is the make the NOR gate in between them.
Here are the specifications for this competition:
Input: 3 switches. 1 for input A, 1 for input B, and 1 control switch.
Possible switches are boulders, tnt, arrows, and probably a bunch more i haven't thought of yet.
________________________________________________________________________________________________________________
Guidelines/Scoring:
Modularity:
Input should be compatible with output. That is; if you are using tnt as input switches, you shouldn't be having boulders fall as an output. This is important because a modular NOR Gate allows one to build any of the 16 boolean operators.
Usability:
How easy is it to input values? Do they have to be input in a specific order or in a specific timeframe? The more flexible the switch, the better.
Size:
Compactness is helpful but not essential.
Originality:
Although improving on other designs is probably the best way to optimize the solution, an original/unique concept/design is more impressive. | | soccerboy13542 |
~*~Soccer~*~
Karma: 450 Posts: 4466 Gender: Male Location: 1945 pm | email
|
what exactly is a NOR gate...?
'Livio' said: You know, I was thinking of getting an internship at Microsoft, but I'm not sure I want their lameness to rub off on me. | | Darvince |
sea level change
Age: 25 Karma: 107 Posts: 2043 Gender: Female Location: The Nuclear Era pm | email
|
logic gate that outputs current if neither input A nor B is on.
"Time is a circuit, not a line; cybernetics instantiates templexity."
| | 01110000011011110110 |
kolkon sitei
Age: 36 Karma: 57 Posts: 342 Gender: Female Location: darvince pm | email
|
sorry i botched that explanation. a nor gate is a logic gate that outputs on if A and B are both off, else the gate is always off | | soccerboy13542 |
~*~Soccer~*~
Karma: 450 Posts: 4466 Gender: Male Location: 1945 pm | email
|
could you possibly make a really simple one, one that if someone copied, it would be guaranteed last place? not exactly sure what you're talking about still.
'Livio' said: You know, I was thinking of getting an internship at Microsoft, but I'm not sure I want their lameness to rub off on me. | | Darvince |
sea level change
Age: 25 Karma: 107 Posts: 2043 Gender: Female Location: The Nuclear Era pm | email
|
like this:
2 arrows input current. 1 arrow outputs current. the rightmost arrow is the output, the left ones are input. this is their logic (- represents off, = represents on):
->
=>
->
=>
->
->
->
->
=>
=>
->
=>
"Time is a circuit, not a line; cybernetics instantiates templexity."
| | 01110000011011110110 |
kolkon sitei
Age: 36 Karma: 57 Posts: 342 Gender: Female Location: darvince pm | email
|
well that's the problem -- i've spent an hour on the problem and haven't come up with a working solution yet
this is an explanation that should suffice:
In a particular hatpc level, you have two arrows together (input) and a third 'output' arrow. When you don't trigger any of the input arrows, the NOR Gate causes the output arrow to be fired. However, if you trigger any of the two input arrows, the ouput arrow won't be fired.
Clearly, this is impossible in HATPC because stuff doesn't happen spontaneously. So, i've allowed for a 3rd 'control' switch/arrow which will always be fired. Instead of two input arrows, you have three. The first you always trigger, and the other two are your input. the rest of the NOR Gate works the same way.
To summarize, you get three input switches that can be items like arrows/boulders/tnt. The third switch is always triggered. If any of the other two switches are triggered, the output switch is not activated. If the two inputs are not triggerd, the ouput switch is activated. The third switch is purely because the NOR Gate wouldn't be possible without it.
And, by the way, i keep on referring to the control switch as the third one here, but the arrows/switches can be in any orientation/order as long as clearly marked
If you're still confused, i suggest you mess around with this tool: http://www.cs.kent.edu/~volkert/F10-10051/notes/logsim.html
Drag two switches, a lightbulb and a NOR gate into the sandbox. drag wires from the switches to the NOR gate and a wire from the gate to the lightbulb. The switches and lightbulb here are like arrows in HATPC. When the switches/lightbulb is on, that means the arrow was fired/boulder was dropped/tnt was triggered. When the switches/lightbulb is off, that means the arrow was not fired, the boulder was not pushed, and the tnt was not blown up. The goal is the make the NOR gate in between them. | | Isa |
No. I'm an octopus.
Age: 31 Karma: 686 Posts: 7833 Gender: Male Location: Uppsala, Sweden - GMT +1 pm | email
|
| | 01110000011011110110 |
kolkon sitei
Age: 36 Karma: 57 Posts: 342 Gender: Female Location: darvince pm | email
|
oh wow that's impressive. | | jellsprout |
Lord of Sprout Tower
Karma: -2147482799 Posts: 6445 Gender: Male pm | email
|
The top two arrows are input A and B, the bottom arrow is the control switch. If either of the top two arrows gets activated, the bottom arrow gets blocked.
| | 01110000011011110110 |
kolkon sitei
Age: 36 Karma: 57 Posts: 342 Gender: Female Location: darvince pm | email
|
ah well that's what i was looking for! much simpler than anything i could think of
i made this monstrous contraption for NOR but obviously yours is better
Code: '
terrain 1
background 1
water clear
"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
" v < "
" >v>v>v>v "
" "
" >v>v>v>v>v "
" xox "
" > ^>^>^>^>^>^ xox "
" < < "
" > ^>^>^>^> v "
" v < x x "
" x "
" >> v>v> ^ v "
" v|< "
" v <v "
" > v "
" "
" >^>^ >v^oooox "
" ^oooox "
" > /ooox "
" >v> /v voox "
" ^ vox xxx"
" ^ /> v vox x+x"
" ^</> v vox x+x"
" ^ > k x+x"
" >>^>/x >>> k k > = "
" > ^ x x x "
" ^^^ = x x x "
" # x x x "D
xxxxxoooxxxxxxxxx=xxxxxxxxxxx xxxxx
xxx x=x
> ^
first arrow is control, next two are A, and B. arrow to the right is the output, it'll unlock the treasures. | | soccerboy13542 |
~*~Soccer~*~
Karma: 450 Posts: 4466 Gender: Male Location: 1945 pm | email
|
would this work?
Code: '
terrain 1
background 1
water clear
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxwwxx xxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxx mxxxxx== xwxx wxxxxxxxxxxxxxx
xxxxxxxxxxx xxxkxxx xxxxxxxxxxxxxx
xxxxxxxxxxx xxxxxxkoxxm xxxxxxxxxxxxxx
xxxxxxxxxxx xxxxxxkoxxxx x xxxxxxxxxxxx
xxxxxxxxxxw xxxxxkkxxxxxxxxxx x wxxxxxxxx
xxxxxxxxxx xxxxxxkkoxxxxxxxxxx xxxxxxxx
xxxxxxxxxx xxxxxxkooxxxxxxxxxxxxx xxxxxxxx
xxxxxxxxxx wxxxxxkoxxxxxxxxxxxxxx=== xxxxxxxx
xxxxxxxxxx xxxxokxxxxxwxwoxxxoxxxm xxxxxxx
xxxxxxxxxw xxxxokkx wo o owowoxxxx wxxxxxx
xxxxxxxxx xxxxxo o o o o kx xx xxxxxx
xxxxxxxxx xxxxxo o oxmx x ow xxx== xxxxxx
xxxxxxxxx xxxxxxxxxooxxxo oo om wxxm xxxxxx
xxxxxxxxx xxxxxxxx ooxxoo oo xxm oxx xxxxxx
xxxxxxxxxx xxxxxxww ooxxkx xxxxx oox xxxxx
xxxxxxxxxx xxw xxx oxxxowo owxxx xox== xxxxx
xxxxxxxxxx wxx xkxxxo o o owx xoxm wxxx
xxxxxxxxxw x xowxxx xxx o o xoxxx xxx
xxxx wxxx w xooxxxxxxxxx omwkxxx xxx
xxxw xxx xxoxxxxwxxwxxxx oxxxx xxx
xxx xw Doxwx o oxx ooxxx xxx
xxx n n u xxkx o o o okwmxoxxx xxx
xxx # o o o mmxwox o ox o xo xxoxxx =xxx
xxxm xxxx== xx xx ==x oo xxxx x xooxxkxxx xxx
xxxx xwxx xw wx xxxmxo xxxx o xxkxxowxw xxx
xxxx x oxxm x x xkxxxxxxxwo o o o xoox xxx
xxxx= x ooxx x mx o oxxxxwo o x o o xxox =xxx
xxxw x xowx xm xx o oxxxo o xxxxxxx xox xxx
xxx x xo o xx xw xxxxxoo xxxxo o xxmxox xxx
xxx x xxmoxxx x xxxxxoxmxxxwo o oxxxkx xxx
xxx== x wx==wxw xm xxxxwkxxxx oxx ooxwox =xxx
xx x x m o xx xxxm oxxxx o oxxoxoox xxx
xx x xxx o xxok=xx ooxxx mx ooxoxoxx xxx
xx xo wxxxx wxo =xxmxoxx xxxxoxoxkwx xxx
xx == xxo wxw ko o xxxox mxxxxoxkxo xm =xxx
xx xxxo x o == oo ow okxxxxkxowo xx xxx
xxm xxxx mxmoomo == oo o oxoxxo o o x xx xxx
xxx xxxw xx==kxxxxxxxx x xxoxoo omk xx xxx
xxx== xxx xxx==wxwxxwxx w xxoxoxxkxkxmxxx =xxx
xxx xxx wxx xmxw mxxoxkxxoxkxxxxx xxx
xxx xxxm xxmm xxx m xxxowoxxoxowxxx xxx
xxx xxxx xxxx wxx xxxmxxoxo oxxoxooxxx xxx
xxx== xxxx mxxxx o w xxxxowo xxxkxxoxxw ==xxx
xxx xxxx xxxxx om o o owo x xxo oxoxx xxx
xxx xxxx xwxxx mxxxo omomoxxmxko oxoxx xxx
xxx xxxx o xxw xxxxxxkxxxo xxxoxxxxkxx xxx
xxx== xxxxxo xx owxwwxow xo xwkxwxxowx ==xxx
xxx xxxxxx xx xo o owomo o x oxxxxk x "xxx
xxx xxxxxx xw xxmo o xxo kx x ooxxxo x xxx
xxx xxxxxx o mxxxxxxxxxxo o x xkxxxomx xxx
xxx== xxxxxxxo xxo woowo o o xmwoxxwkxx xxx
xxx xxxxxxxxmowo o oo o xxxxx oox oxxm ==xxx
xxxm xxxxxxxxxo xxo xxmxo xxxxmxoxmokxx xxx
xxxx wxxxxxxxxxxxxxxxxxxx xxxxxxoxxxowx xxx
xxxx= x""xxxxxxxxx"xxxw xxxo xkxxko x xxx
xxxx w wx xxxxxw xxx o xowom owxkx x ===xx
xxxx xxxw wxm x==o xo omxkw x xx
xxxx ====== wx xx xxxxxxxxxxxo x mxx
xxxx= ======xx o x o xxxo omxx xxx
xxxx xxxo o o o o xxxx ==xxx
xxxxm xxxxo xo o xxxxxx xxx
xxxxx xxx xxxxxx xxxxxxxxxxxx mxxx
xxxxxxxxxxxxxxxxxxxxxxx xxxx
xxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
first 2 rocks are input, last is control
if input A, B, A&B are pushed, a rock will fall (doesn't actually do anything, just to know that it's done and that you can stop waiting).
if control is pushed alone, 4 metal crates will fall allowing you to go to the door.
would this work?
'Livio' said: You know, I was thinking of getting an internship at Microsoft, but I'm not sure I want their lameness to rub off on me. | | 01110000011011110110 |
kolkon sitei
Age: 36 Karma: 57 Posts: 342 Gender: Female Location: darvince pm | email
|
ahahha i haven't played it but i'll take a look at it.
you'll probably win the most convoluted nor gate competition | | |
« Forum Index < Random Chat ForumIn order to post in the forums, you must be logged into your account. Click here to login.
|