Book Image

Build a Tic Tac Toe Online Multiplayer Game for iOS Using SwiftUI [Video]

By : David Kababyan
Book Image

Build a Tic Tac Toe Online Multiplayer Game for iOS Using SwiftUI [Video]

By: David Kababyan

Overview of this book

Welcome to this comprehensive and hands-on course where you will learn how to build a fully functional Tic Tac Toe online multiplayer game for iOS. The course begins by guiding you through the process of adding a close button for a seamless user experience. You will then learn how to design and implement a score and notification view, allowing players to keep track of their progress and receive updates during gameplay. To enable multiplayer functionality, you will create game players and implement game moves, including processing moves, determining wins and draws, and updating scores and notifications accordingly. You will learn how to create a Firebase project and add it to your iOS app using SPM (Swift Package Manager). As you progress, you will explore advanced topics such as listening for changes in the online game, synchronizing game data, setting the active player, and updating the online game accordingly. Additionally, you will gain invaluable knowledge in writing unit tests, including testing move functions and mocking the Firebase repository for efficient testing. To prepare your app for the App Store, you will follow guidelines for project preparation, app submission, and publishing to ensure a smooth and successful process. Finally, the course concludes with a comprehensive overview of dependencies used throughout the development journey.
Table of Contents (7 chapters)
Chapter 3
Game View
Content Locked
Section 14
Show Alerts
In this video, you will learn to write a small piece of code in the body of the GameView to show alerts in the UI.