@ClassicGamingRevival I start a fast 8Bit counting timer at power-on and use the current value as initial seed when the user selects the first game. So there are 256 initial different games. Moreover the use of randomness in one game influences the random values in the following games.
This is great!!! I've made a "gaming platform" with an 8x8 LED matrix, around a small AVR (tiny2313). I now plan to make a larger version, with a 16x16 LED matrix (just like yours) and bigger AVR (probably a mega8). I hope I'll succeed, like you did! :-)
I always planned to use the renaming panels for some bigger display, unfortunately I did not find the time for doing so. I have not planned selling them.
@11chickenlord11 LEDs do not burn out (unless you use them wrong or the manufacturer did something bad). They generally can light more than 11 years. But if one would be damaged, I would need to replace the whole panel (yes, I have still eight unused panels lying around).
You could use some 4-to-16 latched decoders to eliminate the flicker... Then your MCU would spend less time driving the display... Good stuff, though.
Well, the LED panel has already an internal driver chip and uses a serial interface. Replacing the driver is close to impossible. And you only see the flickering with the camera, not with your eyes.
As far as I remember, it took the one or other day to implement the AI. The whole code for 4winns consist of ~860 lines, of which are ~400 for the AI. The idea behind it is not that complicated, look at Wikipedia for "Minimax" (the article looks a little bit too theoretical to me). Then add some guessing, as the decision tree cant be calculated completely due lack of RAM and CPU time.
the multiplexing refresh rate is a bit low if i might say so. :) But very good gadget. When can I play Portal 2 on a microcontroller? :D:D:D
TheRealGeriBoss 8 months ago
This has been flagged as spam show
if any what randomizing input did you use? for the tetris
ClassicGamingRevival 10 months ago
if any what randomizing input did you use?
ClassicGamingRevival 10 months ago
@ClassicGamingRevival I start a fast 8Bit counting timer at power-on and use the current value as initial seed when the user selects the first game. So there are 256 initial different games. Moreover the use of randomness in one game influences the random values in the following games.
TTL7919 10 months ago
This is great!!! I've made a "gaming platform" with an 8x8 LED matrix, around a small AVR (tiny2313). I now plan to make a larger version, with a 16x16 LED matrix (just like yours) and bigger AVR (probably a mega8). I hope I'll succeed, like you did! :-)
pvarelas 1 year ago
Do you sell these and also do you plan to do any others perhaps with more colors or RGB LEDs?
Soulrider2012 1 year ago
@Soulrider2012
I always planned to use the renaming panels for some bigger display, unfortunately I did not find the time for doing so. I have not planned selling them.
TTL7919 1 year ago
you are F SICK i have trouble handling a 7 segment led display and you are making games, dam it
pigsote 1 year ago
what would you do if an led burnt out?
11chickenlord11 1 year ago
@11chickenlord11 LEDs do not burn out (unless you use them wrong or the manufacturer did something bad). They generally can light more than 11 years. But if one would be damaged, I would need to replace the whole panel (yes, I have still eight unused panels lying around).
TTL7919 1 year ago
You could use some 4-to-16 latched decoders to eliminate the flicker... Then your MCU would spend less time driving the display... Good stuff, though.
jf8943pkg 2 years ago
Well, the LED panel has already an internal driver chip and uses a serial interface. Replacing the driver is close to impossible. And you only see the flickering with the camera, not with your eyes.
TTL7919 2 years ago
This is an amazing led matrix game system!
I have made an 8x8 game system, but it is obvious that your coding abilities are far above mine.
What language are you using?
how hard was it to implement AI?
great work.
00retrobrad00 3 years ago
Thanks.
The whole project is written in C.
As far as I remember, it took the one or other day to implement the AI. The whole code for 4winns consist of ~860 lines, of which are ~400 for the AI. The idea behind it is not that complicated, look at Wikipedia for "Minimax" (the article looks a little bit too theoretical to me). Then add some guessing, as the decision tree cant be calculated completely due lack of RAM and CPU time.
TTL7919 3 years ago