Update for 10,000 Farkle game

Z1010,000 Farkle has been updated to version 2.6 in BlackBerry AppWorld. This update smooths out some of the animations and improves the responsiveness of the game. Additionally the app now uses a custom accent color throughout all of the menus.

How to Play Farkle

Farkle gives you six dice to roll and awards points for a straight, three pairs or three or more of the same number. Fewer points ares also awarded for each individual 1 and 5. Any dice that do not score can be re-rolled for additional points. If all 6 dice can be scored, then all of the dice can be re-rolled on the same turn.

The skill in this game comes from knowing how far to push your luck, and which scoring combinations to take, and when to re-roll.

The default game mode gives you 10 turns to score as many points as you can. The 10,000 point mode gives you unlimited turns to reach 10,000 points. The two competitive game modes both use the traditional format of racing to 10,000 points.

Links & Information

icon

Getting web site text in Swift 2

Update: This process has been simplified for Swift 3

Loading the text of a webpage in Swift has not completely dropped its Objective-C origins, which makes the process a little bit less obvious than it should be. Fortunately it is only a few lines…

let url:NSURL = NSURL(string: "http://ebscer.com")!
let request:NSURLRequest = NSURLRequest(URL: url)
NSURLConnection.sendAsynchronousRequest(request, 
    queue: NSOperationQueue(),
    completionHandler: { (response:NSURLResponse?,
        data: NSData? error: NSError?) -> Void in
            let responseText:String = String(data: data!,
                encoding: NSUTF8StringEncoding)!
            print(responseText)
    })

You may also need to edit your plist file to whitelist the domain.