A captivating tile-clearing puzzle game
A game that bucks the copycat match-3 fad and presents a deep puzzle that is completely fresh. Primrose's gameplay is deceptively simple: You're given random pairs of coloured tiles that you must place on a 7x7 grid. When you surround a group of one colour with another colour, the surrounded group clears, scoring points. The surrounding tiles flip to the colour of the tiles that were cleared. When tiles flip color, chain reactions are possible. Larger groups and longer chain reactions are awarded more points. As the game progresses, more colours are added to the pool, making the grid more and more constrained. Pressure builds until the grid finally fills up, and the game ends. Despite this mounting pressure, the game doesn't have a frantic feel, because you have as much time as you want to make each move. Primrose derives deep challenge from inherent properties of its core mechanics, not from time pressure or other external gimmicks. The game also features a world-wide online high score board complete with instant replay, move-by-move, of all top-scoring games.
License: free
Cost: $2.99 (iPhone version)
Requirements: SDL and OpenGL development libraries are needed to compile Primrose.
| Sound: | Play in X: | Play in Console: | Multiplayer: | Network Play: | 3D Acceleration: | Source Available: |
|---|---|---|---|---|---|---|
| yes | yes | no | no | no | yes | yes |

The solution might be to go to that file 'WebRequest.cpp' line 381 and change:
toThis fix is NOT correct.
The person who is having this problem is on a 64-bit platform (my guess). The pointers are 64-bit, so casting them to "int" (32-bit on a 64-bit platform) loses precision.
The problem with their fix is that responseString MAY NOT NECESSARILY be a valid C-String. This is being returned from a web server, so it may in fact be binary data that contains the \0 string termination character several times throughout or no \0 at all (which could lead to a crash if strlen is called on it). That's why I'm doing pointer arithmetic on them instead.
If you're on 64-bit, try changing line 381 of WebRequest to:
- (int)( contentStart - responseString );
I don't have access to a 64-bit platform... so I'm not 100% sure that it will work. I'll post more as soon as I know more!
Thanks,
Jason Rohrer (Primrose developer)