Primrose Screenshot 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:
yesyesnononoyesyes
Suggest an update

Comments

When I try to compile I get:
WebRequest.cpp:381: error: cast from 'char*' to 'int' loses precision
WebRequest.cpp:381: error: cast from 'char*' to 'int' loses precision

The solution might be to go to that file 'WebRequest.cpp' line 381 and change:

- ( (int)contentStart - (int)responseString );
to
- ( strlen(contentStart) - strlen(responseString) );

I'll contact the author, but who knows how long it will take for a fix to be implemented. Either way it's silly to cast a string as an integer, and gcc agrees with me :-)

Re: error posted by jcr13 on Mar 7 2009 1:07 PM
Warning:

This 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)
Re: error posted by Draconishinobi on Mar 7 2009 2:06 PM
I see, you're right, I'm running 64-bit, and yes your fix does work for me. I didn't realize that it was a 64-bit specific issue. Anyway thanks for addressing the problem.
Very interesting game, it's neat when you can get combos, but unfortunately as the game progresses (rather quickly) it becomes exponentially harder to get combos, and then new colored pieces come in and it gets even harder. It's fun but only for about half an hour. I would like explosive pieces to blow away some of the junk that gets in the way.

Log in or register to rate this game or post a comment.