Hi All,
Sorry not been posting recently but Footy, Covid and Family took over. So, why am I posting now.
Very little time free over that last few weeks but - I happened across a program that someone had written that re-energised my interest. Some time ago I partially built a project which, like many got shelved, but this raised my interest level again.
The project involved nonograms (riddlers, fiddlers, picross - what ever you want to call them) - but this was a simple 10 by 10 grid. So I thought - translate to Codea (as it was written in Love2D Lua). Think again, the finished program was written in much better code than I produce, so I ended up coding in my own random way. (Basic project attached below). My aim here is to open this up to members so that we can make this into a slick piece of coding, also to offer as a starter if anyone wishes to add features to it (and there could be many) - and finally to add it to WebRepo. I have included links to the original code, which also includes a browser version for you to check out.
We may have a resident expert on this in the form of @Loopspace as there has been a lot of interest in nonogram solvers etc.
So here is the reference to the original monogram post: the Github Page
Note - although my code can’t be described as copying that of Josh Millard - aka monolifed (I only retained the same name and most of the layout) - I have included the ‘licence’ in one of the tabs - basically open for all to use but with credits. However I have dispensed with the menu page and placed buttons on the main page.
The actual function of the nonogram works but I need to build on the button features. Also, there appears to be a bug, which I have messaged @simeon about, which I think is based with an infinite loop at times (freezes the screen). I have also included a cheat mode (selected as run) which can be disabled - which allows development or cheating.
So you can sit back and play if you want, and wait for my updates, or tidy my indecipherable code (plenty of options there) or even extend the concept - some options:
Make the grid size editable
Improve the look (I do have a couple of themes to add).
Add a touch counter.
Add a file loader to load saved nonograms.
Be my guest - but please post your improvements or bug free code so we can all learn from this.
You can find Nonograms on virtually all systems, the interest is massive - just search the net to see. You can even get coloured images to play with.
The zipped file and images of my old and new nonogram projects are attached. Have fun.