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

- 25K All Categories
- 15K In Game
- 5.1K General
- 1.2K Applicants Post Here
- 1.5K Collaborations
- 2.3K Commerce
- 413 Guilds
- 1.6K Gripes and Grins
- 710 Come and Visit...
- 2.2K Bugs
- 10.5K Out Of Game
- 1.9K Questions
- 144 Official Deepworld Announcements
- 755 Events
- 861 Fan Creations and Screenshots
- 2.4K Feedback and Game Ideas
- 4.3K Off-Topic
- 16 Lunar Lockdown
- 5 Official Lunar Lockdown Announcements
- 13 General

Our latest update has been released! Please leave us a nice review in the App Store if you have the time, thank you!

Dr_Derp
tejasMember Posts: **780**

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,9364,4531,8161,336375I 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.

7805,039780:smiley: