Mine Detective

Apprentice
Posts: 7
Joined: 2014.08
Post: #1
Some work in progress:





http://apelab.com/mine-detective/index.html

A minesweeper written in Swift and SpriteKit.
Quote this message in a reply
⌘-R in Chief
Posts: 1,277
Joined: 2002.05
Post: #2
How's Swift working out?
Quote this message in a reply
Apprentice
Posts: 7
Joined: 2014.08
Post: #3
Well. I like it - SpriteKit and Swift together is a productive environment for making casual games.

Swift is a lot more concise than Objective-C. That is the first thing you notice and to me really its main selling point. Now this is mostly because Objective-C is really verbose and at times really primitive.

Swift is like an updated and Applelified version of C++. It has the potential of being a fast language with precise control (ARC instead of GC, structs and classes instead of just classes). It also means throwing away the dynamic features / strong reflection support of Objective-C.

Making it impossible to do things like CoreData in Swift.

I think is Swift's biggest downside and this will be the reason the language newer will be used outside Apple app/application development, i.e. for building web applications / server-side services (like Java is used today) or cross-platform client stuff (like JavaScript is used today).

A lot of programming today is about mapping between different "domains" ie. from HTML <-> JavaScript <-> JSON <-> Your application programming language (ie. Swift) <-> SQL. That is why most stuff today is written in languages that have a dynamic open runtime a its core (C#, Java, JavaScript, Ruby + friends).

For smaller casual game programming this is of course less of an issue.
Quote this message in a reply
Post Reply