ENGLISH

Simulations in Swift 5: Design and Implement with Swift Playgrounds

Book information

Publisher
Apress
Year
2019
ISBN
978-1-4842-5336-6, 978-1-4842-5337-3
Language
english
Format
PDF
Filesize
3 MB (2703608 bytes)
Edition
1st ed.
Pages
XI, 144\151
Time added
2020-02-08 04:40:56

Description

Design and implement simulations using Apples Swift Playgrounds. Computer simulations are used to replicate the physical systems we see all around us. They help us solve problems by performing experiments that may otherwise be impossible in the real world. This book uses simulations to solve counter-intuitive logic puzzles, create procedural artworks, and build habitats for digital lifeforms. To help you create your own simulations using the Swift programming language, this book is filled with projects that you can easily follow along with. All you need is a Mac with the latest version of Xcode installed. All projects are written in Xcode’s Playgrounds. This keeps the process simple. No need to setup an Apple account, or learn anything further about building apps. Simulations are used in many areas within computer science and yet, barely anyone is teaching them. Sure, the fundamentals are in algorithm design, but simulations are a step above that. Usually when writing an algorithm you have a specific outcome in mind. However, when you create a simulation, the system you are modelling can be far more unpredictable than sorting a list, or navigating a maze. Simulations in Swift 5 will guide you through all of this. What You'll Learn Simulate situations with advanced algorithms to solve advanced problems Incorporate real-world physics into simulated problems Predict biological and other systems behavior and the outcome of events based on presented factors Who This Book Is For Swift programmers interested in tackling fun projects in Swift involving advanced algorithms and factors Front Matter ....Pages i-xi Swift Playgrounds (Beau Nouvelle)....Pages 1-10 The Monty Hall Problem (Beau Nouvelle)....Pages 11-18 Guessing Game (Beau Nouvelle)....Pages 19-30 Theatre Seating (Beau Nouvelle)....Pages 31-47 Projectile Motion (Beau Nouvelle)....Pages 49-67 Live Views (Beau Nouvelle)....Pages 69-80 Game of Life (Beau Nouvelle)....Pages 81-96 The Forest: Part One (Beau Nouvelle)....Pages 97-119 The Forest: Part Two (Beau Nouvelle)....Pages 121-140 Back Matter ....Pages 141-144

Similar books