Forums - Open Redstone Engineers
Neuralsim's Build Application - Printable Version

+- Forums - Open Redstone Engineers (https://forum.openredstone.org)
+-- Forum: Moderation (https://forum.openredstone.org/forum-94.html)
+--- Forum: Build Server Applications (https://forum.openredstone.org/forum-10.html)
+---- Forum: Approved For Trial (https://forum.openredstone.org/forum-11.html)
+---- Thread: Neuralsim's Build Application (/thread-15462.html)



Neuralsim's Build Application - neuralsim - 10-16-2019

Minecraft name:
Neuralsim.

What do you like the most about redstone?:
That it's possible to build a Turing complete machine using it.

What's a thing you have made which demonstrates redstone knowledge?:
I designed and built a game called Stomp-A-Mole 

What does the thing do?:

It features a 17x17 game board with 3 x 3 modules of heads (on armor stands) operated by upwards-pistons. To score a point the player must run over a pressure plate. I got the board layout from Mumbo Jumbo, but his system is designed for the player to actually mine the "heads", so I had to design all the wiring myself. I use a shulker box RNG with a standard redcoder to select the head to pop up.

For scoring I designed my own decimal coder due to server restraints where I play (skyblock, hoppers are limited to 50 per-island). I found that most of the online examples used hoppers, so to avoid using any hoppers I designed it with a 4-dropper-chain, and combined that with an AND gate to give a signal when a score of 10 is reached, and to trigger the scoring dropper to flush all the shovels to the secondary dropper. I then created a simple coder to light a lamp when each point is scored, except for point 10, which triggers an automatic win.

My initial build of the dropper-chain scoring system was ugly, so I compacted it down a fair amount, and it's now able to fit in about a 5x3x8 space. It will probably still look ugly to you veterans but I'm pretty happy with it. :>

The game is time-trialed, so for the timer I used a long repeater chain including a short-circuit mechanism that will stop the timer mid-game if necessary.

Images of the systems described above are in the links below.

Image/s and/or video/s of the device, from imgur.com or youtube.com:

https://imgur.com/a/g7dkbfX
https://imgur.com/a/Gq9VrMb
https://imgur.com/a/5bAxfoZ

What do you plan on making for your build trial?:
I thought I'd take a whack at designing a compact PGA. 

If I eventually get build access, I plan on making a redstone puzzle/builder game for the purpose of teaching redstone concepts in general, from the most basic concepts, all the way up to advance computational logic.

Do you agree with the rules?:

Very much so. My wife and I got a nice chuckle from the use of the word, "excessive."


RE: Neuralsim's Build Application - Koyarno - 10-20-2019

What is a PGA?


RE: Neuralsim's Build Application - neuralsim - 10-20-2019

(10-20-2019, 03:58 PM)Koyarno Wrote: What is a PGA?

PGA = programmable gate array, there's a common microchip called an FPGA or "field-programmable gate array," because it can be changed in the field. Some might also call it a PLA (programmable logic array).

It's basically a catch all term for a device that has configurable logic gates, so that you can decide for an intersection of inputs what logical operation you want that intersection to perform. Kind of like a programmable truth table. Given a number of inputs i, the number of outputs is (edit) : 2^i. For each combination of different binary inputs, we can set the output to be either 1 or 0, depending on the switches we set in the PGA.

Taking a 2-input example, there are 4 possibilities, 00, 01, 10, 11. With a PGA, you can decide for each of those possibilities what you want the output to be (0 or 1). So by changing our PGA we could make it an OR gate, an AND gate, an XOR gate, or something that doesn't even have a name, like the following truth table:
(which translates in english to something like "Neither set, or the first one set")
AB|Output
00|1
10|1
01|0
11|0


RE: Neuralsim's Build Application - neuralsim - 10-22-2019

PS - I think my explanation was fairly clear but I did want to clarify that by "each intersection of inputs" I mean logical intersection, not necessarily physical intersection (although a PGA could certainly be built that way it would likely not be compact). Also I haven't built one yet so I'm not sure yet what it will look like. I'll have the design solid before my build trial of course (if it is accepted for trial).

If you don't like the idea of a PGA, I'm also open to suggestions, though I'd prefer to do something out of the ordinary.


Neuralsim's Build Application - Koyarno - 10-23-2019

Accepted for trial! Hop on the server at mc.openredstone.org and ask a staff member for assistance.

Find a atleast somewhat doable calculation/algo/etc on your pga.


RE: Neuralsim's Build Application - neuralsim - 10-24-2019

(10-23-2019, 07:24 PM)Koyarno Wrote: Accepted for trial! Hop on the server at mc.openredstone.org and ask a staff member for assistance.

Find a atleast somewhat doable calculation/algo/etc on your pga.

Hmm. OK. I was about to say it's not really for calculations or algorithms, just a way of chaining together logic gates....

But then I had an idea. I think I can show the usefulness of it. 

There are ultimately more space-efficient (and also probably tick-efficient) ways to build a digital display, but a set of PGAs can be quickly copied and configured to build one. So as long as there's someone with worldedit available (as the FAQs seem to indicate there will be), I can build say a single hex display with my PGA. (e.g., given a signal strength of 0-15, display the corresponding hex digit for that signal strength on a simple screen made out of redstone lamps).

I'll need to build a (edit) 4-bit PGA for every lamp in the display. 3x5 is a good enough resolution to display letters and numbers, so I'll need 15 copies of the PGA I build, and then I'll wire them up to the display.

By flipping switches on each PGA, I can make the display do hex digits given a 4-bit binary input. By rearranging the switches (but not changing anything else) I can make the display output the letters A-P instead.

Sound reasonable?
(edits were because I was undecided on hex vs octal)