It looks like you're new here. If you want to get involved, click one of these buttons!

- 24.3K All Categories
- 14.3K In Game
- 4.8K General
- 997 Applicants Post Here
- 1.5K Collaborations
- 2.2K Commerce
- 405 Guilds
- 1.5K Gripes and Grins
- 688 Come and Visit...
- 2.1K Bugs
- 10.2K Out Of Game
- 1.8K Questions
- 109 Official Deepworld Announcements
- 738 Events
- 827 Fan Creations and Screenshots
- 2.4K Feedback and Game Ideas
- 4.2K Off-Topic

Dr_Derp
tejasMember Posts: **773**

Proper Logic Gates in Deepworld!

Although, this probably isn't the most proper way. *Cough*http://blog.deepworldgame.com/post/104378717251/introducing-drone-bot-and-yet-more-rares

But anyways, this is definately what is currently possible.

Now, Logic Gates are the basis for computing, and my aim is to introduce them to this not quite circuit friendly game. *cough*thelinkupabove

If you are completely lost on what I'm even talking about, I will gladly refer you to a boring but necessary read on Logic Gates.

https://en.wikipedia.org/wiki/Logic_gate

The gates we will be talking about here will have two inputs and one output, so keep that in mind.

Now there are six gates considered "basic" and I have designed Deepworld friendly versions of them that rely on the "racer" entity that can be spawned by spawners. These six gates are named as AND, OR, NAND, NOR, XOR, and XNOR. These are, of course in no particular order.

First starting with the AND gate.

AND gates operate such that only when both inputs are on is the output also on.

Now the OR gate.

OR gates operate such that when either inputs or both inputs are on is the output also on.

NAND gate.

NAND gates are the opposite of AND such that either inputs or no inputs are on is the output on.

NOR gate.

NOR gates are the opposite of OR such that if no inputs are on the output is on.

XOR gate.

XOR gates are on only when either input is on, but not both.

XNOR gate.

XNOR gates are the opposite of XOR such that the output is on only when no inputs or both inputs are on.

For those of you who do not deal well with words, here is a simple truth table, the 0 means off and 1 means on.

Now, for a practical application, I have here a half adder circuit.

And also a full adder circuit.

EDIT: This is the wiki page on Adders, it is also a useful read.

https://en.wikipedia.org/wiki/Adder_(electronics)

If the full adder is confusing, don't worry, there is much harder stuff around, like a ripple carry adder circuit, which is a bunch of full adders linked up together.

For more info, I will be posting a tutorial on how to make a 4-bit ripple carry adder, so be on the lookout for that. It will be in the same category as this discussion.

Also, all of this stuff, including the working 4-bit ripple carry adder, is built in my world named "Derp Land"

There should be a very obvious plaque and teleporter somewhere in the sky.

Although, this probably isn't the most proper way. *Cough*http://blog.deepworldgame.com/post/104378717251/introducing-drone-bot-and-yet-more-rares

But anyways, this is definately what is currently possible.

Now, Logic Gates are the basis for computing, and my aim is to introduce them to this not quite circuit friendly game. *cough*thelinkupabove

If you are completely lost on what I'm even talking about, I will gladly refer you to a boring but necessary read on Logic Gates.

https://en.wikipedia.org/wiki/Logic_gate

The gates we will be talking about here will have two inputs and one output, so keep that in mind.

Now there are six gates considered "basic" and I have designed Deepworld friendly versions of them that rely on the "racer" entity that can be spawned by spawners. These six gates are named as AND, OR, NAND, NOR, XOR, and XNOR. These are, of course in no particular order.

First starting with the AND gate.

AND gates operate such that only when both inputs are on is the output also on.

Now the OR gate.

OR gates operate such that when either inputs or both inputs are on is the output also on.

NAND gate.

NAND gates are the opposite of AND such that either inputs or no inputs are on is the output on.

NOR gate.

NOR gates are the opposite of OR such that if no inputs are on the output is on.

XOR gate.

XOR gates are on only when either input is on, but not both.

XNOR gate.

XNOR gates are the opposite of XOR such that the output is on only when no inputs or both inputs are on.

For those of you who do not deal well with words, here is a simple truth table, the 0 means off and 1 means on.

Now, for a practical application, I have here a half adder circuit.

And also a full adder circuit.

EDIT: This is the wiki page on Adders, it is also a useful read.

https://en.wikipedia.org/wiki/Adder_(electronics)

If the full adder is confusing, don't worry, there is much harder stuff around, like a ripple carry adder circuit, which is a bunch of full adders linked up together.

For more info, I will be posting a tutorial on how to make a 4-bit ripple carry adder, so be on the lookout for that. It will be in the same category as this discussion.

Also, all of this stuff, including the working 4-bit ripple carry adder, is built in my world named "Derp Land"

There should be a very obvious plaque and teleporter somewhere in the sky.

Post edited by Dr_Derp on

AND.png

361 x 361 - 98K

OR.png

360 x 415 - 110K

NAND.png

360 x 361 - 97K

NOR.png

361 x 415 - 110K

XOR.png

361 x 361 - 98K

XNOR.png

361 x 361 - 96K

Half Adder.png

852 x 627 - 520K

Full Adder.png

1450 x 588 - 724K

Truth Tables.png

8534 x 7547 - 431K

8

## Comments

3,1494,4451,6531,278351I would rather have some smooth transition of the blocks moving like pistons, and (I know you know this) some other block to do this other than the mechanical trapdoors.

7734,677773