Counters Are Wonderful

I love counters so much.

Like, a lot.

They’re really cool.

Let me tell you why.

For starters, you can use counters as an if gate. We have a counter with a starting value of 0, and a target of 2. The counter checks to see if property taco is true.
taco is a boolean and starts at False, but in the game it can be updated to true. When it does so, it sends out a message to the counter and increments it by one.

Ok, what now?
Well, the counter has to have a triggering check, something that TELLS it to run the if statement. Lets say that trigger is the player entering a zone. When player enters zone, broadcast on incrementTrigger. BAM! Checker without the checker. If taco is false, then the counter only goes up to 1, which is not its target value of 2. Nothing happens. But if taco IS true, then it goes up to 2, hits its target value, and BAM. You got yourself an if statement. It can even reset once it hits target value!!!

I love them so much.

Technically counters are Turing complete too, I believe. They can act as a UTM (Universal Turing Machine), so they can simulate literally any computable thing, given enough processing power, memory, and a GUI.

SO WONDERFUL!

They can be used as multi-stage checkers in much of the same context as previously mentioned. They can be used as counters, literally, in counting tasks players have done towards a goal, like an achievement. Not to mention, they are the easiest way to interface with a property for simple calculations.

Finally, they’re incredibly cheap memory-wise, have scope settings, and can be made invisible.

Counters are the best device in Gimkit.
There.
I said it.
If you disagree, let’s hear what else could possibly come close.
Bring it on.

21 Likes
Are counters the best?
  • yes
  • no.
  • :potato:
0 voters

Indeed, counters are wonderful, though i haven’t experimented much with them.

2 Likes

Counters are so helpful!

1 Like

I do love me some counters. :heart_eyes:

2 Likes

Triggers are better Boolean’s than counters.

2 Likes

Agreed

True. But counters beat triggers in so many other respects. Technically, couldn’t you do-

GASP

COUNTER RECURSION

WE JUST FOUND A NEW QUANTUM MECHANIC

7 Likes

Nope. Just no. You’re like me in my pseudo property craze.

5 Likes

Yep. Just yep. Getting on the gimtech testing account right now. to test it. it needs to be done. EHEHEHHEhe

3 Likes

The only broadcast on the counter is the target. Reset makes it feasible… counters are only 15 men for a random boolean…

Ok, nevermind. They aren’t oneloop-capable. You need at least two. :frowning: edit: yes they are :DDDDDD

I’ll still keep experimenting, but the problem is the sub-device resolution, or the orders the channels are resolved within the device. As someone found out (i dont remember who), running a signal in ‘increment’ and then ‘reset’ will resolve BEFORE the target value is hit. that’s annoying af

3 Likes

WAIT NEVERMIND II WAS WRONG IT MIGH TSTILL WORK HAHAHA

we’re good guys we’re good.

edit: no we’re not, they only run a 2 tick, recursion doesnt work on them rn, gimmie some time to test

OHOHO figured it out

so we can hit the rec limit if we do same channel increment, decrement, and target val.

4 Likes

Increment reset do stuff.

Counters & triggers are basically the backbone of all creative stuff. Triggers are a scope-retaining signal bouncer with insane control, not to mention blocks, and counters are literally capable of doing everything that your phone can do.

:smiley:

3 Likes

I do agree. counters have allowed me to do a lot of stuff i couldn’t otherwise.

2 Likes

Yeah, counters are extremely useful, highly used in more mechanical things rather than blockcode, such as logic gates (I only found out theoretical logic gates, not real life logic gates), timers, and binary.

“Counters are the best thing in Gimkit. I said it.”
-Shdwy

:potato: is a very common answer, ngl.

3 Likes

this is completely factual. Counters can be used with the most variety and complete much more complicated tasks. Real question: best prop?

Counters are devices not props?

3 Likes