Game:SDL Mille

From WebOSnerd Wiki

Jump to: navigation, search

Contents

Summary

SDL Mille is a cross-platform clone of Mille Bornes, brought to the Palm Pre through the PDK.

Details

Mille Bornes is a card game in which players "race" to the finish by playing mileage cards. Hazards are cards that restrict a player's use of mileage cards until a matching safety or remedy is played. Safeties offer immunity from that hazard for the remainder of the round, while remedies are only a one-time fix.

SDL Mille began with the following design principles in mind:

  • Open source: SDL Mille was written from scratch and is entirely open-source. The code is available for anyone to read, modify, and redistribute.
  • Platform agnosticism: Excepting the SDL library, SDL Mille does not require any non-standard libraries, nor any platform-specific or compiler-specific code. It will (or at least, should) run on any platform that supports the SDL library and a C++ compiler.
  • Reusability: SDL Mille was written with the intention to keep game-specific logic isolated from generic code as much as possible. This is to facilitate easy re-use of the code in other card games, requiring minimal or no changes to the basic foundations.

Beta

SDL Mille is currently in beta. Expect missing features and possible bugs.

Download

Current release: beta3 (0.5.4) IPK

License

SDL Mille is released under the GNU General Public License version 3. All source code is freely available to anyone through the WebOS Internals public git repository. All rights not granted under the license are reserved by the author.

Supporting Development

If you wish to support development with a donation, you may do so here.

Recent Changes

beta3

  • Drag-and-drop. If you don't use it, game play is exactly the same.
  • Animations for the following actions. Animations can be disabled in the menu.
    • Making a play
    • Discarding
    • Card "bounced" due to coup fourre
    • Cards dropped outside of a target
  • Smoother animation for remedies spawned from Right-of-Way safety.
  • All dead zones eliminated.
  • Fuzzy discard detection, especially when dragging.
  • Artificial intelligence when computer decides whether to extend trip.
  • End support for webOS versions earlier than 1.4.5.
  • Fix broken black "X"
  • Reduced package size by around 150 KiB.
  • Reduced memory usage.
  • Miscellaneous bug fixes.

Android Build

This build is experimental and extremely buggy. It has been brought to Android via a project called sdl_android and the Android NDK. sdl_android has several issues. The biggest one is that the app will crash any time it loses focus. Switching to other apps, the home screen, and incoming phone calls will all cause a Force Close.

SDL Mille itself is fully functional. Just please don't come yelling when you get a phone call right before you win the game and you lose everything. The beta1 APK is available here. Only WVGA resolution is supported at this time. It is very unlikely that this game will get put into the Android Market any time soon. Only if sdl_android becomes a lot more stable will I consider submission to Market.

Old Releases

webOS

Personal tools