David Johnson-Davies, as is his custom this time of 12 months, designed a quite fascinating “silver greenback” puzzle sport utilizing the ATtiny84A. On this sport, 12 LEDs signify the place of 5 silver greenback cash, lit up in a spaced-out line. Gamers transfer every coin to the appropriate by a number of areas till all of them are stacked up within the rightmost positions, and might thus now not transfer. The thing is to make motion in a means that the opposite participant – or pc on this case – is caught in a “no transfer” state of affairs.
Every coin is chosen utilizing a five-button interface, hitting the button a number of occasions as wanted to point the quantity strikes to the appropriate. A little bit speaker bleeps again should you attempt to make an unlawful transfer – equivalent to putting one coin on high of one other. A “GO” button then lets the pc take its flip. In the event you win by trapping the pc in a no-move state of affairs, the speaker performs a tune to congratulate you.
The sport setup is manufactured as a small PCB, with house for the LEDs, buttons, a speaker, and even a little bit curving deal with. Energy is offered by a pair of AA batteries, which match properly on the underside by way of a little bit of double-sided self-adhesive foam.
The challenge writeup explains the sport’s code in some element, although DJD omitted the half about how this system chooses the perfect transfer – and how one can at all times beat it–as a way to keep away from spoiling the enjoyable. He plans to launch this data in a separate submit in 2024. Then again, the PCB information and code can be found there, so you might most likely determine it out now should you have been so inclined/impatient!