SwiftUI Tic Tac Toe Online Multiplayer Game for iOS 15, MVVM [Video]
- FREE Subscription Read for free
- $134.99 Video Buy
- $12.99 Video + Subscription Buy
-
What do you get with a Packt Subscription?
- Instant access to this title and 7,500+ eBooks & Videos
- Constantly updated with 100+ new titles each month
- Breadth and depth in over 1,000+ technologies
-
Free ChapterIntroduction
- Introduction
- Creating Home View
- Refactoring Home View to MVVM
- Creating Game View
- Building Game Grid View
- Refactoring Game Grid View
- Adding Loading Indicator
- GameView Model Setup
- Game Logic and Model Setup
- Testing the Board with Game Object
- Checking for Win and Draw Patterns
- Finishing Win Pattern Identification
- Saving And Loading Current User
- Adding Firebase to Our Project with Swift Package Manager
- Firebase Helpers Setup
- Start Game Function and Firebase Service
- Create Game Functions
- Creating Game in Firestore
- Delete Game Function
- Update Game Function
- Listen to Changes and Update the Game UI
- Check Player to Identify Them by X/O Mark
- Creating Alert Object
- Showing Alerts to User
- Reset Game Function
- Game Notifications
In this course, we will be building an online multiplayer TicTacToe game with SwiftUI and Firebase.
By taking this course, you will learn how to refactor the home view to MVVM. You will explore how to create a game view, building a game grid view and refactoring the game grid view. Furthermore, you will learn how to add the loading indicator and GameView model setup, game logic and model setup. You will understand how to start the game function and firebase service. Learn how to create an alert object and show alerts to the user.
The course will cover multiple topics. At the end of this course, you will have an exceptionally good foundation to build on more functions to make this AppStore-ready game.
- SwiftUIXCode
- MVVM
- iOS15
- Swift Package Manager
- Firebase Firestore
- Data Structuring and transferring in SwiftUI
All resources and code files for this course are placed here: https://github.com/PacktPublishing/SwiftUI-Tic-Tac-Toe-Online-Multiplayer-Game-for-iOS-15-MVVM
- Publication date:
- October 2021
- Publisher
- Packt
- Duration
- 5 hours 0 minutes
- ISBN
- 9781803242262