Nonograms (Hanjie)
#22
(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://staging.qb64phoenix.com/showthre...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 Smile
Reply


Messages In This Thread
Nonograms (Hanjie) - by RokCoder - 01-08-2023, 10:48 PM
RE: Nonograms (Hanjie) - by SMcNeill - 01-08-2023, 10:59 PM
RE: Nonograms (Hanjie) - by bplus - 01-09-2023, 02:31 AM
RE: Nonograms (Hanjie) - by bplus - 01-09-2023, 02:50 AM
RE: Nonograms (Hanjie) - by mnrvovrfc - 01-09-2023, 02:58 AM
RE: Nonograms (Hanjie) - by TerryRitchie - 01-09-2023, 04:24 AM
RE: Nonograms (Hanjie) - by RokCoder - 01-09-2023, 09:42 AM
RE: Nonograms (Hanjie) - by SMcNeill - 01-09-2023, 11:47 AM
RE: Nonograms (Hanjie) - by RokCoder - 01-09-2023, 01:55 PM
RE: Nonograms (Hanjie) - by mnrvovrfc - 01-09-2023, 03:27 PM
RE: Nonograms (Hanjie) - by TerryRitchie - 01-09-2023, 04:24 PM
RE: Nonograms (Hanjie) - by bplus - 01-09-2023, 05:01 PM
RE: Nonograms (Hanjie) - by RokCoder - 01-09-2023, 07:58 PM
RE: Nonograms (Hanjie) - by RokCoder - 01-09-2023, 07:54 PM
RE: Nonograms (Hanjie) - by bplus - 01-09-2023, 08:30 PM
RE: Nonograms (Hanjie) - by TerryRitchie - 01-09-2023, 09:24 PM
RE: Nonograms (Hanjie) - by RokCoder - 01-14-2023, 11:56 PM
RE: Nonograms (Hanjie) - by TerryRitchie - 01-15-2023, 01:27 AM
RE: Nonograms (Hanjie) - by bplus - 01-15-2023, 04:10 AM
RE: Nonograms (Hanjie) - by TerryRitchie - 01-15-2023, 04:14 AM
RE: Nonograms (Hanjie) - by bplus - 01-15-2023, 04:18 AM
RE: Nonograms (Hanjie) - by RokCoder - 01-15-2023, 08:39 AM
RE: Nonograms (Hanjie) - by bplus - 01-15-2023, 05:39 PM
RE: Nonograms (Hanjie) - by RokCoder - 01-15-2023, 06:24 PM
RE: Nonograms (Hanjie) - by bplus - 01-15-2023, 06:47 PM
RE: Nonograms (Hanjie) - by RokCoder - 01-15-2023, 07:16 PM



Users browsing this thread: 3 Guest(s)