Has anyone ever played this game before? (Does it go by any different names around the world?)
If you’re not familiar with it, there are lots of videos and tutorials online - here’s just one example but feel free to share others if you think they give a better explanation.
This weekend, let’s try to recreate this classic game in Thunkable. I’m hoping to be able to get this working myself, and my only tip at this stage would be to start with a simple “Match 2” version and then progress to the more complex “Match 3” and “Match 4” versions.
That’s an offer I cannot refuse. Tell me your convenient time and I’ll be available for it. You’re a teacher and I’m confident you have a way to make it stick into my thick mind.
WDC stands for Weekend Design Challenge. Take good notice of the middle one Design, it means you need to develop the game and if you can then play your own developed one then it would be fine.
This is a hard challenge for me. I decided to use the Snap To Place interface so I could take advantage of the clone blocks. But I had to do some mental gymnastics to convert the cloned button positional values that are generated using Any Component blocks with button lists to what I expect them to be (e.g. bottom-left button is #1, top-right button is #40).
Here’s what I have so far. You can click a button to generate a label value for its position (just for debugging purposes), click a button in the first row only to set a guess color, and you can cycle through six available colors.
I haven’t programmed the check against the secret pattern/code or the results feedback of pegs yet.
(No sound; the black circles for each click are just from Quicktime’s screen capture… they don’t show up in the actual project)
Edit: got basic pattern checking now. No feedback pegs yet but if you happen to guess the correct pattern, it will tell you at the top. The secret pattern is randomized each time and is only displayed here for debugging purposes.
I did the button test in a simpler way. I have a variable that tracks the row being played and with the Any Button in that row I just have Four buttons that I change the color so I just check the position of the button in the active row. When you click on any button in any other row, nothing happens.
I use data display (row-shaped).
He can display content by himself. It can also be copied infinitely (it seems to be less than 100 after testing).
These programs can be relatively simple.
After a valuable session from an extraordinary teacher ( @tatiang ) showing me how this game works, I am presenting my attempt in developing the game in DnD UI. It is not yet complete and has lots of small issues such as the unavailability of the Any Components features and some unexplainable issue with colors.