Glint, by Kent Brewster
Fill the board without repeating in rows, columns, or sub-boards.
The background color is the color of the next piece. If you duplicate a color in a row, column, or sub-board, it will clear.
Puzzles change every day - come back tomorrow!
play - discuss - digg - reddit
Welcome to Glint. In its current incarnation, it's a six-color Sudoku board; to finish, you need to fit one piece of each color into each row, column, and two-by-three sub-board.
- You get one piece at a time; the current background color is the color of the piece you're placing.
- If you make an illegal move, enough of the board (the row, column, and sub-board, in that order) will be cleared to make your move legal.
- When you fit all the pieces in, you're done; the fewer moves you make, the better.
- To try Glint on your iPhone or iPod Touch, visit http://kentbrewster.com/glint
- 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.
- I've had good luck finding information about iPhone web development on iphonewebdev.com, the iPhoneWebDev Google Group, iphonedojo.net, and (of course) the official Apple site. Have fun with Glint, and please let me know how it goes.