And Then There Was One
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.
Status | Prototype |
Platforms | HTML5, Windows, macOS, Linux |
Release date | Apr 29, 2019 |
Author | One Seed Fruit |
Genre | Strategy |
Made with | Godot, Krita |
Tags | Ludum Dare 44 |
Code license | MIT License |
Asset license | Creative Commons Zero v1.0 Universal |
Average session | A few minutes |
Inputs | Keyboard |
Links | Ludum Dare, Source code |
Download
Click download now to get access to the following files:
Leave a comment
Log in with itch.io to leave a comment.