Video description
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.
What You Will Learn
- Learn to add a close button for improved user experience
- Create a game board with the necessary functionality
- Implement a game indicator view to show which player’s turn it is
- Create game players and manage their moves within the game
- Add a reset function to restart the game
- Increase the score and updating notifications accordingly
Audience
This course is designed for individuals with prior experience and is not suitable for beginners. To fully benefit from this course, it is essential that you have a solid understanding of xCode and are familiar with its functionality. Additionally, a basic knowledge of Swift, SwiftUI, and application building is required. The course assumes a certain level of proficiency in these areas to ensure that you can grasp the concepts and follow along effectively.
About The Author
David Kababyan: David Kababyan is a multimedia developer who graduated from university in 2012 with a bachelor of arts in multimedia. Since then, he has completed various other courses in programming in PHP, objective C, and Swift with his passion for programming.
He has been developing for iOS since 2014 and has worked on various other multimedia projects such as movie shooting and editing, 3D modeling and animations, flash animations, and website design and development.
Table of contents
- Chapter 1 : Introduction
- Chapter 2 : Home View
- Chapter 3 : Game View
- Chapter 4 : VS CPU
-
Chapter 5 : Online Game
- Create Game Object
- Create Firebase Project
- Add Firebase to Our Project with SPM
- Create Firebase Repository
- Finishing Touches to Firebase Repository
- Online Game Repository
- Finishing with Online Game Repository
- Listen for Changes
- Start Online Game Function
- Create Firebase Game
- Subscribe to Online Game Changes
- Sync Online Game
- Set Active Player
- Update Online Game
- Test Ready Game
- Chapter 6 : Unit Tests
- Chapter 7 : Publish to App Store
Product information
- Title: Build a Tic Tac Toe Online Multiplayer Game for iOS Using SwiftUI
- Author(s):
- Release date: July 2023
- Publisher(s): Packt Publishing
- ISBN: 9781803242262
You might also like
video
SwiftUI and Node.js Full Stack - Build Twitter - iOS 16
In this course, we will guide you through the process of building two applications: a Notes …
video
iPhone Apps for Complete Beginners - Swift, SwiftUI & iOS17
This course begins with an insightful introduction to the app development landscape. It then progresses to …
video
Build an iOS 16 Coffee Shop Application Using SwiftUI And Firebase
In this course, we will build a real online coffee shop ordering application using SwiftUI. You …
book
iOS 15 Programming Fundamentals with Swift
Move into iOS development by getting a firm grasp of its fundamentals, including the Xcode 13 …