Thursday, 25 April 2013

Damn, multi-player game is so complicate!

I have got my single player version of Spade game working for a while and I have been quite excited with that - until I started working on the multi-player side - which made me so depressed... Damn, multi-player game is so complicate!

There's so many things to cover in a 4 players card game when there's multiple devices involved. As unlike single player mode where the 3 other computer players can be easily managed, now you could have mixed of 4 physical devices or 2 physical and 2 computer players...

And as things go on, I noticed the code have grown bigger and quiet difficult to manage. Debugging is also a nightmare as I now have to switch between the logs of the client and server devices, and work out where the problem came from - and have to test multiple times to make sure my fix doesn't break the single player mode too...

Any way, I am slowly getting there... Just posting a few screens here (running in debug mode, that's why all cards are visible), already changed a lot since the previous one in end of January... Oh, gash I am so slow, it's already end of April! I wish I have 72 hours per day to work on my games...










iPad 2 damaged after accidental drop

My little one dropped my iPad 2 to the floor accidentally while walking down the stairs... Even though it's protected in a cover, the volume on/off buttons, the volume up/down buttons all stopped working. Now we can't play any music or sound from the device any more, and it always display this huge gray square icon image in the middle of the screen all the time, very annoying...


After removed from the case, can visually see 2 damaged spots...

Wonder how much would cost to fix it... May be time to get a new iPad 4 or iPad mini, or better wait until end of June as WWDC 2013 is coming and there will definitely be new products announced??!!

[Update]
Sent an email to the iExpert guys where I normal get my iDevices repaired and received response within minutes as below even though it's public holiday today (ANZAC day) in Australia:

The price will depend on whether we need to remove the glass or not. If we need to remove the glass, there is a risk of breakage that needs to be factored into the cost.

If it is a minor dent that can be removed without lifting the glass, we would charge a $25 service charge.

If the glass needs to be lifted, we would charge $65.

In rare cases, the dent damages the switches underneath the volume button. If this is the case, the switches can be replaced for $89.

We can determine the price upon inspection of the device. Please note that when Aluminium is bent it creates small white streaks in the metal. There will be a permanent minor cosmetic blemish after the repair.
Will see how it goes, fingers crossed...

[Update]
Lucky it's only the button been stuck due to the dent, the audio and other parts are still functioning. Only cost me $40!! Yeah!