If you had fun today, check back tomorrow; there's a fresh puzzle every day.
For quite a bit more fun, check out the Games section of the Apple developer gallery.
How It Works
It's a pretty standard Web page, containing structure, presentation, and markup. Since I'll be pushing a fresh game every day, I'm inserting it directly into the source via PHP. This will show up in the config.status object, if you peek at the source.
The interesting bit is that <meta> tag in the document head: <meta name="viewport" id="iphone-viewport" content="width=228, height=260, user-scalable=no" />
This plus some explicit sizing in the body makes the board exactly fit the width of the browser, and not roll around on the screen too much when the user accidentally drags it around.
OK. My fingers/thumb are too big to play 9 color. Can you add a "safe" mode where one press would place an "X" of the current color in the selected cell and then a second press actually selected the target square. In this way if you put your "X" in the wrong cell then you could select a different cell and not commit yourself to a wrong cell. You could have a way to start with the current mode (for PC users) and a "safe" mode for ipod/itouch users. 9-color is very challenging, but there is too much frustration if you color a cell with an unintended color.
Alan .:. 2008-02-28 14:23:48
OK 9 colors is a blast. It took a few tries to get a hang of it, but I think I can do it in 72 moves. I've got to wait until tomorrow to see if I have got the knack for it. Thanks.
Woohoo, thanks for the plug, Kent! So far Gobico is doing well, lots of people are adding it to their home page and coming back for more. Of course, it's only been released for a couple days, but it makes me smile to see people enjoy something I made. We should collaborate on something for the iPhone/iTouch soon. I bet it'd be killer.
Sorry, been dealing with another issue, discussed below ... Rebecca, if you're still out there, I'm confused. Are you getting the white squares on your iTouch, your PC, or both?
In other interesting news, we've been framed. A certain operation that I won't dignify with a link has gone around, scraped up a mess of iPhone web apps, and created a "community" powered by advertising you have to click through to get to the apps.
If anybody sees this happening, please let me know and I'll add the offending site's referrer to the list that gets the instructions on how to get to the ad-free version.
Rebecca .:. 2008-02-07 09:41:01
I have an iTouch that I use most of the time but yesterday I was playing on my PC which has Windows XP.
Elizabeth .:. 2008-02-06 14:55:22
How about starting with more initial tiles? So there are less possible solutions, but also less wrong paths to go down. I could definitely tap on smaller squares. I think my fingers might be small, but a tact that would work for more people would be to use the pinky -- i can hit a much smaller target (and most people probably have practice at this from times they don't resize pages before hitting links).
I had the nine-color version working, but it was hideously difficult--imagine starting with 72 moves to go--and the individual tiles were too tiny for my big fat fingers. I'll think about it, though. :)
Rebecca, can you please say what combination of hardware and software you are using? Was it an iPhone?
Elizabeth .:. 2008-02-06 14:28:28
Ok -- next step is definitely to make an option available to play more than once a day. I also would enjoy a 9-color option. I love that it's on my i-phone, but I've quickly become addicted enough that I'd be happy just to have it for a normal browser.
Rebecca .:. 2008-02-06 09:49:45
Kent, it did happen in today's puzzle. Happened on move #30 with 4 to go (I had made one mistake). I did a 'print scrn' and pasted it into a .doc in case you wanted to see it. Thanks
Rebecca .:. 2008-02-06 09:18:58
Tuesday's puzzle, I think. I was probably 8-10 moves in and had made a couple of mistakes. This has happened a few times before in previous games. I'll try today's game and let you know if it happens. Thanks
That should not be happening. Was it today's game? Can you say about how many moves in you are, and whether you've made any mistakes? (Very sorry about this; we will figure it out.)
Rebecca .:. 2008-02-05 11:37:46
It's happened several times in the middle of a game. If I click on an empty square it puts the color of the next background but sometimes that square changes colors. I thought it was a scheme to make winning almost impossible.
Whoa... the background color should never be white. Did it happen in the middle of a game?
Rebecca .:. 2008-02-05 09:58:39
Can someone tell me what it means when the background color is white?
Mel Gilk .:. 2008-01-29 13:23:10
i just beat it again i would love to have a face to face competition with your step daughter i believe that i could beat her cause i would have more adraniline in my body causeing me to do the puzzle faster stronger and better.
Leslie: since each Glint puzzle comes up with six randomly-chosen colors in six non-overlapping locations, it should be solvable in 30 moves. This may change in the future, as I've mentioned below, but as of now ... keep trying.
Leslie .:. 2008-01-18 05:20:11
I have only been able to solve the puzzle in 31 moves the last couple days. Can it be solved in 30?
Scott: that approach will work until the initial puzzle setup requires you to make a bad move or two to solve. Which won't happen yet ... but will, in the future. :)
Julie: glad you like it! Your wish is my command ... how's the orange-on-red contrast now?
Julie .:. 2008-01-15 16:05:40
I am enjoying this way too much. Any chance that the red color could be made a bit darker or more blue? It's probably just my old eyes, but I find it is difficult to differentiate between orange and red when red is the background color.
ScottScum .:. 2008-01-15 15:12:02
has anyone else found it helpful to write the
puzzle on paper and solve it that way? The random
array of colors adds a little challenge, but the
arrangement of the colors is the true puzzle. Its
much easier to visualize on paper than on a screen,
in my opinion.
Congratulations, Maggie. How many attempts did you make? I've had a couple of natural 30s, but never on the first attempt.
30--or however many are left when you first start the game--would be the theoretical minimum. It's possible that the game will come up with a situation where you'd have to make at least one bad move to get it to the point where it's possible to complete, so there will be some days where it can't be done.
I've just updated the code and added Sudoku-style sub-boards; this makes Glint much more challenging. The Digg link is still broken some of the time ... hopefully we'll get some love from the Apple web app gallery.
Alpha transparency refers to the PNG format's transparent pixel method. It's more robust than GIF, in that the transparency can be partial. Think opacity in CSS. So basically, save your icon as a PNG, make sure it's got some transparency around it if it doesn't fill up the alloted 128x128 pixels. (i.e. start with a blank background in Photoshop.) If you need more help, email me!