Dec 212013

Screenshot 2013.12.17 19.06.22

All the scorecard apps have been modified to work on iOS7 with the new iOS7 style. Sorry that this update took so long, I’m glad I got them out before the holidays. Hopefully I have worked all the bugs out of them. If not, please report any here, or on facebook or twitter. Thanks everyone.

 Posted by at 10:09 pm
Jul 152012

I just spent my two week vacation fixing up my scorecard apps to be more stable, implemented a few new features, and made them all Universal iPad/iPhone apps.

I rewrote a lot of the code to make all the apps more uniform. The apps should run faster as well.

And fixed any bugs I came across while working on all that (several but I don’t really remember them now).

It’s been a fun vacation, now only if I got paid for any of this 🙂

I added reneging to Hearts, if a player is penalized it simply adds 26 points to their score.

I added reneging to Spades, if a player is penalized the team (baring Nil bids, see below) must get 3 (configurable) more tricks than they bid (3 for each offense) to not lose the contract and be set. For example, if a team bids 6 and one of them reneges and they get 8 then they have been set, and they get 2 bags for getting more than they bid. If the team gets 9 tricks then they score 63 points. For now at least, if a person bids Nil and reneges then they simply lose their Nil bid and get penalized for that. I can’t find any rules for the case of a Nil bidder reneging anywhere so this is my best guess as to how to handle it. In my house rules if someone reneges then they game is over, they lost. Please comment below if you play any differently.

 Posted by at 7:07 pm
May 112012

Well, since my last post I have released 3.3.1 versions of all my apps. Version 3.3.1 no includes a paid version and a free iAd supported version. They will continue to be in sync on features.

Since releasing the free version I’ve gotten a few good reviews that included feature requests. These features have been implemented for version 3.4:

ShanghaiSC now supports only 2 players (to be used as if they were teams [no actual support for teams]).

RookSC gets two new features:

There is a new option to include the ability to record which cards were called in Call Partner mode. Now after you select the bid, the declarer, and the trump color, you’ll be asked to choose a card (two cards if the number of players is 6). Then during scoring you’re asked for one (or two) partners. The first partner chosen should correspond to the first card chosen, and the second the second.

When selecting the score you selected the number of points the declarer(or their team) acquired. It was brought to my attention that it is usually easier to count the number of points of the defenders (since they are usually counting along anyway hoping to set). Now on the score choosing screen there is an option at the bottom to change perspective, from the declarer to the defenders and back. When in the “Declarer” perspective the highlighted score is the score they need to not get set. Selecting above that (a lower number) is a set and below that gives them extra points. When in the “Defender” perspective the highlighted score is the lowest score needed to set the declarer.

Another person messaged my Facebook page saying that GinSC would not record scores… I’ve gotten no further information and it works for me so there is nothing I can do about that now.

So I’m going to push 3.4 of Shanghai and Rook and do a much needed update of all the screenshots… which is a very time consuming process 🙁

 Posted by at 5:27 pm
Jan 262012

I was informed of a bug via an app review involving the selected dealer being off in RookSC. I looked into a fixed it and then started looking though my other Scorecard apps to see if that problem existed elsewhere. I found a bug in ShanghaiSC that would sometimes cause the last hand to not be playable. After the move to the new backend platform for score keeping apparently something happened to HeartsSC’s interpretation of Shooting the Moon.

For all Scorecard apps. Saving games — which is now possible because of the aforementioned new score keeping platform I made — would only save new copies or not save at all. Now the app remembers which game you opened (or it knows if you started a new game) and it will give you the option to save over the game file you opened or save a new copy… or not save at all obviously.

Also I reworked the preferences in all the apps a little to add some descriptions where I thought the meaning of an option might be vague.

Realizing that hardly anyone might read this or my iPhone app wiki, I added an “Undo” button to the top left corner off all the apps. Swipe to undo, although a natural iPhone action apparently isn’t thought of very often so people couldn’t find how to undo. This is a design flaw on my part (but I did write it down on the wiki).

Another thing, in 3.0.1 and before preferences where global. Changing them changed the score not only in the current game but also in all prior games. I moved these preferences into the game itself so that each game has its own copy. This creates a problem for older saved games that do not have save options inside of them. I’m really hoping that most people set the options once and play all of their games with them the same. Now when the organizer is loaded it loads all the old games and saves the currently selected options into that game giving each game its own copy. If you swap up options a lot this might mess up the scores for some of your games. Don’t delete them, open those games and change the settings back to what they were when you played the game and then “Save Over Previous” when you load a different game or start a new game.

Just for HeartsSC. While fixing the shoot the moon scoring bug I wrote in some new options. 1) Whether, upon shooting the moon, all the other players receive 26 points (known as “Give” in the app) or if -26 points is added to the score of the player that shot the moon (known as “Remove”). HeartsSC is also going to get (not in 3.2) better icons for which direction the swap occurs.

Just for RookSC. I added an option to change the user interface for bidding. It how has a “Simple” bid where you pick the final bid, who declared it and what trump they chose. It also still has the “Full” bid style like before. The app now defaults to “Simple.”

On a side note… What happened to version 3.1? Well, they were in the AppStore waiting on review for almost 2 weeks, by the time I fixed everything for 3.2 they hadn’t been accepted yet. 3.2’s bug fixes were necessary so I cancelled 3.1 and started 3.2 in the approval process.

Thanks for being patient, I fix and work on these in my spare time, not very often.

Feel free to comment with requests (I do not guarantee I’ll add in anything that gets suggested but I will look into it).

 Posted by at 2:06 pm
Sep 132009

I spent today, programmers day, fixing and updating all of my iPhone apps.  Specifically, I changed the way player names are selected in all of my scorecard apps (to match RummySC).  I updated the screen shots and submitted them all to the app store.  Also, I submitted a new version of sCalc to fix minor cosmetic issues.

 Posted by at 3:48 pm
Jul 162009

I kept finding more and more bugs with 1.2.  The ± thing, a problem with equals followed by a parenthetical, echoing variables without arithmetic.

I believe all the bugs I currently know about are fixed. Plus, I fixed some performance issues in how fast an equation is solved (barely noticeable on most equations though).  And I fixed the problem with the horizontal division bar and the bar over a rooted expression where they would disappear during a selection animation.

Features added:

You can now copy an equation out of the calculator as an image and paste it anywhere that is accepting of images, such as email.  Click and hold on the equation for half of a second and the copy bubble will appear when you let go.

The ± button works in front of numbers, variables, constants and it also will swap the sign of these types.  Also in front of parentheses, and functions to negate the calculated value. Pressing the ± button after the close parenthesis of a parenthetical or a function will swap the sign of the whole expression.

Read This for more features added since 1.1.

 Posted by at 10:43 am
Jul 132009

Pressing the ± button doesn’t behave completely like it should. Pressing 6, ±, +, 8 will result in 2 because the ± changes the sign of the 6. Pressing ±, 6, +, 8 also equals 2 because the 6 become negative from the ±, this is also correct. However, say x is set equal to 6, pressing x, ±, + 8 will equal 2 correctly. Pressing ±, x, + 8 will equal 8. This is because the ± starts input for a negative number then pressing a variable following it yields an implicit multiplication, much like 2x, with is interpreted as 0•x which equals 0.  Plus 8 will then equal 8.

This is part of a much bigger problem with the ± key. ±, log(1000) yeilds -•log(1000) which is also 0 not 3.  This is now my number one priority.

For now, just remember, ± changes the sign of the number or variable typed.  It is not the negative operator as it sometimes acts. But it will be…

 Posted by at 8:42 pm
Jul 122009

sCalc 1.1 has been on the app store for a very long time with the note, “saving history coming soon.” Over the past few weekends I’ve finally implemented history saving.

The quadratic equation

The quadratic equation

  • Swiping on the equations allow you to delete old equations that you no longer need.
  • The variable list has been moved into the “Variables” button the top bar.  You can swipe to clear these as well.
  • The catalog displays all the functions the calculator can perform.  This is not useful at all right now as there is a key for all operations in the catalog.  But it’s a foundation for further work.

I also added a ‘2nd’ button that swaps keys like your expect.  Very few change though, again it is foundational.  The keys that do change are ‘x’ => ‘y’; ln => lg; ‘=’ => ‘Ans’.

Further changes include updates to pretty printing the equations.  Division of two simple elements (numbers or variables) are displayed as 1/2 instead of 1 over 2.  Also, 2•x is now displayed with the implicit multiplication as 2x.

So, most changes where made with the future in mind and to fix the problem with losing the history when the application starts. I’ve been using the saved history for about a week so I feel it is necessary to get that feature out before adding more.

I’ll post more about future features soon.

 Posted by at 12:40 pm