A game like this is all in the code, and lucky for us, made it available. It controls two MAX7219s that drive the 42 LEDs plus the 7-segment display. The brains of the operation is an Arduino Pro Mini. The current player’s score is shown on the 7-segment, and the totals for each player are on the OLED screen at the bottom. As long as the player rolled at least one scoring die, they can take the points by selecting the appropriate die/dice with the capsense pads, and either pass or keep going. After choosing the number of players, the first player rolls using the momentary button and the electronic dice light up to indicate what was rolled. This little game has everything you could want from a splash screen introduction to a handy scoring guide on the silkscreen. decided that Farkle would make an excellent electronic game and got to work designing his first PCB. Even so, this type of game isn’t inherently portable - it would be fairly difficult to play on a road trip, for instance. Farkle is a classic dice game that only requires 6 dice and a way to write down scores based on the numbers rolled.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |