Gottschalk Technologies, Inc.
Life is Work - Work is Play - Play is Life
  • Email: info@gottschalktechnologies.com
  • Phone: 206-618-5682
  • Location: Seattle Washington

August 24, 2010

A Quick Look at Survey Results

Since launching our first iPhone app back in March of 2009 we’ve been collecting survey responses for all of the apps we’ve published.  Although we’ve been following the survey results and using them to guide the development of the apps we haven’t gotten around to writing much about what we’re learning.  Here are some quick thoughts and reflections.

The first thing that jumps out in the results is that you can’t make everyone happy.  In the responses for Hangman GTi Free a close to equal number of respondents said that “the words are too easy” as those that said “it’s too hard!”  Based on that we think we might have hit the right balance.

The second lesson learned is that people want to play games like this with their friends and family.  One of the questions we’ve asked on both the Hangman GTi Free and Hangman GTi surveys is “Please rate the following features based on how much value they would add to your use of Hangman GTi”.  The answers tend to bunch around the features that allow for interaction with others.  Specifically, “Two Player Mode – Sharing one phone”, “Two Player Mode – Separate phones over network”, “High Score of Everyone Playing Game”, and “Create Your Own Word Lists”.

The third lesson is that most of the users of our game applications are using iPods rather than iPhones.  Around 71% of respondents said that they’re using an iPod.  This trend surprised us as we expected there would be mostly iPhone users and iPod would be secondary.

We hope to post more about survey results as there is some interesting information buried in the responses.

If there is something you would like us to dig into in the responses let us know in the comments.

March 9, 2010

New iPhone Game Released Today

Filed under: Game Development,iPhone™ Development — Tags: — bart @ 4:31 pm

GTi just launched it’s latest iPhone/iPod Touch Game today, Rotations GTi. You can view and download the game on the iTunes App Store or take a look at the game on the GTi website.

photo2

February 1, 2010

New Game has a Programming Challenge

Filed under: Game Development,iPhone™ Development — Tags: , — bart @ 4:15 pm

See bottom of post for updates…

I’m working on a new game which involves developing an algorithm that I’m struggling with a bit.  I thought it would be interesting to share the challenge and work it out with the larger community.

Here is a the challenge:

I’m trying to figure out an algorithm for determining the maximum score that can be generated for a game board with the following rules:

1) Game board is 3 tiles x 3 tiles
2) Each tile has four numbers on it that are between 1 and 9
3) Each number is on a side of the tile
4) Tiles can be rotated
5) Tile location can not be changed (you can’t pick up a tile and move it to the location of another tile and have them swap locations)
6) Game Score is determined by multiplying adjacent numbers on different tiles.  (see example calculations below)

To help illustrate the rules here is how the score is claculated for gameboard 1 below starting from top left tile:


(4 * 9) + (2 * 2) + (4 * 8) + (6 * 2) + (1 * 9) + // first row of tiles
(6 * 9) + (3 * 5) + (3 * 5) + (1 * 8) + (3 * 6) + // second row of tiles
(3 * 7) + (4 * 3)                                 // third row of tiles
= 236

gameboard 1

gameboard 1

And here is the calculation for gameboard 2 starting from top left tile:


(9 * 3) + (4 * 3) + (7 * 6) + (6 * 4) + (7 * 5) + // first row of tiles
(6 * 5) + (2 * 1) + (9 * 6) + (2 * 2) + (1 * 4) + // second row of tiles
(6 * 7) + (6 * 9)                                 // third row of tiles
= 330

gameboard 2

gameboard 2

So, given that the numbers are variable and each tile can be rotated how do I figure out what the max possible value is for a board with any give arrangement of tiles and numbers?

Please add your ideas and questions as comments.  I’m sure I’m forgetting some rules or other information and I will update this post as things come up.

I’ll also update the post with sudo code as the algorithm starts to come together.

————-
Updated

Here are some initial thoughts:
There are 24 number positions that count toward the score
There are 9 possible values for each number position
There are 4 possible arrangements for each tile
So there are 24 x 9 x 4 = 864 possible arrangements for the game board.

So, which of these 864 arrangements gives the highest score? Do we need to test them all? I sure hope not, because I need to scale this algorithm to a 4 x 4 , 5 x 5 , 6 x 6 and 7 x 7 grid as well!

If not, then there must be some rules we can apply to reduce the set we need to test…

February 2, 2009

Debugging iPhone™ Apps

Filed under: iPhone™ Development — Tags: , — bart @ 5:16 pm

Today’s task is to dive in and understand the debugging tools that are built into Xcode.  The good news is that my development it to the point where I need to start debugging things.  The bad news is that the debugging tools aren’t working quite as I expected.  I’m going to be spending quality time this afternoon/ evening with the Xcode Debugging Guide in the iPhone Reference Library.

I’ll update this post with some lessons learned about debugging apps for iPhone.  Hopefully soon!

==========

Updated

==========

It was really pretty simple.  Once I figured out how to view the console (there are lots of ways to see the console but what I did was go to Xcode Preferences -> Debugging -> In the “On Start” select box choose Show Console) the I got all of the info I needed.  I also played around enough with the debugger to figure out how to set break points, examine variable values and step through the code.

January 29, 2009

iPhone™ Develpment – First Impressions

Filed under: iPhone™ Development — Tags: , — bart @ 1:10 pm

I’ve mostly been writing about the business process and decisions I’ve made that have gotten me to this point.  I haven’t written much about the technology learning curve but I think it would be good to start touching on this part of the process.

Here are some initial thoughts on my experience of diving into the iPhone SDK over the last few weeks:

  • It’s humbling to step back and start from scratch with a new platform.  All of the tutorials and videos have to assume some level of familiarity with Apple development tools and technologies.  Prior to a couple of weeks ago I didn’t have any familiarity at all.  This has meant I’ve been doing a lot of reading and re-reading, watching and re-watching.  Slow and painful at times.
  • My Java OO programming days are turning out to be a huge help.  I did a fair amount of Java OO dev 9-5 years ago.  That experience has been invaluable as I’ve been diving into the details of Objective-C.
  • I’m having a blast.  I haven’t had this much fun with technology in a long time.
  • Progress has been in baby steps.  But what seemed like black magic last week is starting to make sense.  Little things make a HUGE difference at these early stages.
  • I’m finding my way around the dev tools and figuring out how to find basic info in the iPhone Reference Library.  Seems silly to say this but even knowing where to go to look up reference info about a class or concept is something I’ve had to learn.
  • Each day something new falls into place.  See baby steps above.  The challenge I’m having is that I need to keep at this and not get too high on success or too low on a feeling of being stuck.  I burned myself out the first week and I’m trying to stay more balanced going forward.
  • The most valuable resource I found so far is a video from the 2008 WWDC called “Fundamentals of Cocoa”.  This video helped to put a lot of what I had read and seen in other places into context.  I would strongly recommend that you watch this session AFTER you have struggled with some of the other tutorials and work through the examples that are provided.  Although, it’s focused on Mac desktop app development it fits right in with iPhone dev as well.

That is all I can think of for now.  More to come…