Tag: Click The Yellow Rhombus

I recall plenty of times when the platform I was working on didn’t know that.

In particular, the time I was dabbling in Objective-C for the iPhone.

At the time Xcode was hard to use.

I’ve heard it has gotten better, but there is just a bad taste in my mouth from it.

So, as one of the first steps towards my goals (stated yesterday), I came across JarSplice.

JarSplice is a really easy way to package the various pieces of a Java application as a single runnable JAR file, complete with natives.

This doesn’t help with the running in a browser part, but it does help with the running on a person’s desktop without having a huge tree of items to unpack. Just download the single JAR and go.

The applet part will be more complicated to set up (for me), but at the same site as JarSplice there are tutorials on it.

So basically, I will stand on the shoulders of Mr. Ninjacave, and be able to progress further in the quest.

—-

Next on the docket: the fate of PlayDeez.com.

Naturally, I want to keep it, but its current state (hopelessly broken) is no good, and I don’t want to be paying even the $4/month for the hosting.

So, I think I’m going to sign up for dyn.org’s service, get rid of the shared hosting on brinkster, and point playdeez.com to my little router at home and though that router to the little mac mini currently running MAMP.

My router is one of those that supports talking to dyn.org whenever its IP address changes, so we’re good to go there. I just have to set that and be done.

So, I’ve been looking into $_SESSION as the way of perpetuation data across web pages, now that I’ve got the site into PHP. Very likely there will be session data flying around when moving between pages on PlayDeez.com.

Of course, there will be no content associated with having a session. Its the plumbing for future expansion, and I think a reasonable first target is the Silverlight Jetlag, since it is a smallish code base, and it is relatively easy to get my PHP session data into the object via a <PARAM>.

I’ve also been reading into getting a Silverlight application to call another webpage silently. After reading the documentation on it, I must say that it is a whole lot easier doing this from Flash or even simply JavaScript.

I also need to start investigating getting information from a FlashVars param into Haxe. I’m going with a lower flash version(7) because I want compatibility with the Wii browser and potentially other flash lite devices.

The first Haxe target is CTYR. I’m going to take the art assets from the Yahoo! Widget I made of this game.

So I’m now getting to a point with HamQuest where I can start to look at the server side stuff. For the most part, the server side portions are merely those of statistics tracking. For example, the game will have a record of how many lovely hams have been picked up, how many skeletons have been killed, and how many potions quaffed.

But as is usual with this sort of idea, I want to check it out on a smaller scale game with fewer statistics. Something more along the lines of Click The Yellow Rhombus. I’m also not interested in using my old user system, nor in creating a new user system to use with these games, and so I’m probably going to go with Facebook, who will nicely deliver me a userid depending on who is logged in, and I don’t have to worry about that stuff.

In CTYR, there are only a few values to track: Hits, Misses, Score, Number of Games Played. I would track these on a daily basis per player, and keep only the last thirty days of information. I can then show reports depending on the last 24 hours, the last 7 days, and the last 30 days, and have rankings for each category.

But beyond rankings, which are good for a game, but people will lose interest after a short time, there needs to be some sort of incentive system, and the incentives need to be rule bending.

So, if I go with an experience point system, one game of CTYR earns the player 1 XP. After a certain threshhold, he reaches a new level, and gets a number of cheater points he can use to buy advantages, like 10 free hits in his final score of CTYR, or eliminating 10 misses, or whatever, but some sort of advantage that he can purchase with his cheater points.

The XP based system is all cool and stuff, but there needs to be another way to earn cheat points. Each day must have a high scorer, and whoever gets that high score gets a cheat point.

So, two ways to incentivize: play a lot, and earn new experience levels, or do really well compared to others, and bypass the grind.

Which always leads to the third manner of getting cheat points, which is paying for them. I don’t have any current plans, but that’s how these systems ultimately work, and I’m not forgetting that.

In order to make this work, I will need a Facebook enabled, MochiAds enabled, Server side talking version of CTYR in Flash written in Haxe and interfacing with PHP and MySQL, with this simply being a straw man test for its eventual incorporation in HamQuest.

Apparently, I missed the boat with Click The Yellow Rhombus. As is shown by the game You Have To Burn The Rope, the game of CTYR should have consisted entirely of a yellow rhombus that, when clicked, shows a really big “YOU WIN!” and then played a song. It is, of course, too late now to change it, as it would then be hopelessly derivative.