Overly complex game about two JK flip-flops taking turns battling it out with bits and whoever ends up with 1 when all the bits (the moving dots in the middle) are used up wins and whoever gets 0 or depletes the battery first loses. It’s possible to end in a tie too.

And also, at the start of each turn, a bit (or sometimes more than a bit) is transferred to the opponent who isn’t in the current turn. Then the one in turn chooses where to fire a 0 or a 1.

Shooting a 0 towards the switch (the box in the middle) causes it to spew out 0 and shooting a 1 causes it to spew out a 1.


It’s actually based on real-life JK flip-flops in digital electronics:


(taken from: http://www.hobbyprojects.com/flip_flop/jk_with_set_and_preset.html)


(taken from: https://www.electronicshub.org/jk-flipflop/)


The table shows what happens to the output, Q (in the game it’s the 0 or 1 on the displays in the middle of the rabbits) when

  • J and K of certain values only affect Q at the start of every clock tick
    • (which in the game is shown by the periodical movement of the rabbits’ left legs)
  • PRE and CLR can affect the output at anytime regardless of the ticks, but they cannot both be 0s at the same time
    • (in the game if PRE is pressed, the output immediately becomes 1 at the cost of the remaining battery charge, and pressing CLR is similar but causes the output to be 0).
    • (running out of battery means game over, so that is your life, which is currency).
    • (however having full battery charge doesn’t let you win the game if you don’t end up with 1 when all the bits are used up).

I intended for this to be part of a top-down overworld of flip-flops wired together and counting down before a bomb goes off and you have to turn off all the flip-flops in the proper sequence by battling it out with each of them. I overscoped and ended up with just the turn-based battle-system and no sound.
cry cry cry





StatusPrototype
PlatformsHTML5, Windows, macOS, Linux
Release date Apr 29, 2019
AuthorOne Seed Fruit
GenreStrategy
Made withGodot, Krita
TagsLudum Dare 44
Code licenseMIT License
Asset licenseCreative Commons Zero v1.0 Universal
Average sessionA few minutes
InputsKeyboard
LinksLudum Dare, Source code

Download

Download NowName your own price

Click download now to get access to the following files:

And-Then-There-Was-One_Linux.zip 14 MB
And-Then-There-Was-One_OSX.zip 14 MB
And-Then-There-Was-One_Windows.zip 12 MB

Leave a comment

Log in with itch.io to leave a comment.