Coinflip

From Pilot_51's Wiki
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Coinflip is a typical coin-flipping game. The coin is flipped when you call heads or tails and you win if you guessed right. You can also place bets and get a local high score.

Read this QR Code with an Android device to go to Coinflip in the Android Market

Links

Coinflip in Android Market (Android-only link)
Coinflip on AppBrain


Backstory

This is the timeline of Coinflip and my programming experiences from initial creation to release on Android.

~2005: I originally programmed Coinflip on my Casio fx-7400G graphing calculator, where the core functionality was put in place.

August 2008: I started learning C++ and converted Coinflip to it with few changes, but shortly became discouraged by the difficulty of teaching myself beyond the basics.

My 2010 New Years resolution was to extensively learn a programming language by the end of the year, which essentially means half-decent 2D or basic 3D applications.

April 15, 2010: I began learning Java with an online friend using Eclipse SDK and quickly became hooked to the point of holding off sleep well into the next day on several occasions.
Coinflip was converted from C++ to Java, again without many changes, but with the help of my friend and several side-projects, I learned quickly and with great interest.

May 1, 2010: I learned Swing (Java GUI) with my project for calculating the value of building purchases in the 'World War' game for Android/iPhone.

May 6, 2010: I began learning Android development and naturally my first objective was to make Coinflip. This was where Coinflip finally got a GUI and changed more than any of the other variations.

May 15, 2010: Coinflip released on the Android Market as my first program available to the public!


Changelog

v1.1.1 [2010-10-23]

  • Improved: Layouts optimized for small QVGA screens, coin scaled down to fit if actual size is too big.
  • Added: Preference for continuous play.
  • Added: Preference for speed of game.
  • Changed: Saving is done automatically, no more manual save.
  • Changed: More score information on main screen.
  • Added: Win streaks.
  • Changed: Text in About dialog is smaller and linkified.
  • Changed: Market button in About dialog is now More Apps and goes to developer apps instead of Coinflip.
  • Fixed: Pre-flip coin not positioned properly over hand for most devices.
  • Changed: Money text box is cleared between start money and bet.
  • Changed: Virtual keyboard for money entry is numeric keypad.
  • Improved: Several code efficiency tweaks that shouldn't be noticeable to the user.
  • Changed: Data is saved as preference type instead of to a file.
  • Fixed: Loss of unsaved game when going back from the bet screen to main screen.
  • Fixed: Display of saved high score on main screen is updated when saved.
  • Removed: Menu option to exit.
  • Removed: \'Thank you for playing!\' and 1 second delay on exit.
  • Fixed: Previous score being loaded instead of current.
  • Added: Ads, because the donation model completely failed.


Release 2 (v1.1.0) [2010-05-31]

  • Fixed: back button losing unsaved game data.
  • Added: mode to flip without guessing.
  • Changed: Pressing back button while in main menu is identical to Exit (temp data cleared).
  • Changed: Icon to eliminate hard edges.
  • Added: Hand images for flip sequence with overlay of selected coin on thumb.
  • Added: History, Changelog, and Market buttons to About dialog.
  • Changed: Moved About and Exit options to menu button.
  • Added: support for 1.5 (Cupcake) - This may say 'Storage' and 'Phone calls' permissions are required even though they aren't used (SDK bug).
  • Added: preferences to menu button including sound toggle, coin selection, reset preferences, and clear game data.
  • Added: Sounds for flip and landing.
  • Added: Coin images at actual size with random orientation.
  • Added: Support for moving to SD card (Froyo).


Release 1 (v1.0.0) [2010-05-15]

  • Initial release to the Android Market!

Started development on 2010-05-06


Known Issues