01-15-2023, 08:39 AM
(01-15-2023, 01:27 AM)TerryRitchie Wrote: I updated the tutorial's zip file so the latest version is downloaded.
Thanks!
(01-15-2023, 04:10 AM)bplus Wrote: Terry has mentioned revealing artwork in his blurb about RokCoder's Game, ??? All I get is a "Congratulations" when puzzle is correctly clicked. Actually, I think I prefer it that way.
BTW see my 79 line version I am calling a Nonogram Trainer:
https://qb64phoenix.com/forum/showthread...7#pid12707
I only make you click to toggle white/black starting from all black.
Traditionally nonograms do form pictures. This program creates nonograms randomly though. That was actually the main challenge - to be able to create nonograms of differing complexities and differing sizes completely randomly. Not all number grids can be solved so the program actually contains my own algorithms for solving nonograms (which I adapted to add the "hint" feature in the latest edition) - if it determines a randomly created nonogram is impossible to solve then it skips it and creates another.
It's the first time I've seen your smaller version - I love challenges like that! It's extremely difficult to solve them if you can't distinguish between "don't know yet" and "empty" tiles but that's certainly not an issue when producing games in minimal code. What is an issue though is that the majority of the randomly created puzzles that it creates (especially on larger grids) won't be solvable. Very enjoyable and useful to look through the code though. I have so, so, so much more to learn about QB64pe nuances!
(01-15-2023, 04:14 AM)TerryRitchie Wrote: I got that after doing a Google search for Hanjie. According to the rules of the game the finished puzzle should reveal a picture contained in the squares. Does this version not do that?
Nope - but it can create an infinite amount of solvable nonograms
(01-15-2023, 04:18 AM)bplus Wrote: Not yet. I saw that too when I Googled Nonogram but then I saw a ton of variations so maybe some variations don't do pictures?
I've never heard or seen Nonograms until RokCoder posted his version. I couldn't get it to work so I made my own version.
Just tonight I learned for his, you have to click ALL the squares to Black or White for a solve that is acknowledged.
That was probably the case in the earlier version but it's a lot more polished now. You only need the white blocks to be set for completion. I'm also particularly pleased with the "hint" option. Why not give the new one a whirl? I added error checking this time so it gives a reason why the assets can't be found if the exe is in the wrong folder. I'm learning
RokCoder - dabbling in QB64pe for fun