Andrew Glen (@_nanothread) header
Andrew Glen (@_nanothread) profile picture

Find me at https://teapawt.org/t.co/0YoBBmK5qH Music & Podcasts UI at Apple (previously Wallet)

UK
Joined June 2012
(the office)
1
87
A few weeks ago I was invited to speak with the @dailyecho about the #SwiftStudentChallenge. This morning, some friends in Southampton told me I'd made the front page! Article: dailyecho.co.uk/news/2021512…
2
5
Replying to @jesse_squires
I use a similar extension that puts the existence check first -- it reads even more like English to me this way. Even better, add an overload that uses a closure instead of a KeyPath.
8
Haskell, but it's Swift
1
I'm very happy to have been chosen for a #SwiftStudentChallenge award! My submission used a SpriteKit physics sim to introduce concepts behind functional pipelines. More detail here: github.com/nanothread/Functi…
4
2
1
13
Here's a function composition in Swift to make our pipelines a little neater: nums.filter { !primes.contains($0) } vs nums.filter(!primes.contains)
1
Replying to @theLucilleXOXO
Thanks for trying it out! I thought this might be the case for some players so you can reduce or completely remove the particle effects under Settings > Customisation > Particle Effects. Sorry it’s not under accessibility but I hope that helps!
1
Some end-of-project stats, for the record: - 297 commits - 1 month between the idea and release - 7.5k lines of Swift (Sitrep stats attached) - A finished to-do list taller than my monitor Thanks for following the development!
2
And here, the particle effects are cranked up to Ludicrous (I was aiming for 'playable, but barely' with this setting).
1
2
Before I wrap up this thread, I want to show some finished gameplay. I threw in an obvious option at the eleventh hour: multicoloured grids (leading to multicoloured fireworks). Here's part of a game played with random colours:
1
2
Designing the app icon to emphasise the particle effects in the game (they're the most fun part).
1
1
We're getting towards release now. I've added unit tests for the loop and optimal path detection in the scoring system--it's very important they're correct. I also had to rewrite my optimal path algorithm because it was /very/ exponential and took seconds on really huge swipes.
1
1
Settings tied to the IAP have a custom view modifier attached. When not unlocked, the modifier greys out the content, disables it (important when locking Picker controls), and shows the promo screen when interaction is attempted.
1
1