We complete the series by finishing off our third game mode whereby users advertise their desire to play against others nearby and at the same time browse for others doing the same.
Once an invitation has been accepted, the game begins. Either play can choose to start and after each move, game play is frozen on the device until the opposing player makes a move. The game play continues until a winner is determined by our game logic or until there is a draw or stalemate.
Timestamps:
00:00 Into
0:20 Inject MPGameManager into environment
02:18 MPPeersView
08:20 Complete MPConnectionManager Class
09:20 Advertise and browse for peers and accept Invitation
13:03 Update GameView code to handle peer moves
Resources for this series: https://www.dropbox.com/sh/1idek65wab9bstu/AABvHV7ywbjhoMIfLrwRD6lqa?dl=0
SPECIAL CWC+ OFFER FOR YOUTUBE:
Our "Launch Your First App" program will help you build up your iOS skills to publish your very own feature rich app even if you’re a beginner starting from scratch. https://cwc.to/youtubeoffer
APPLE DEVELOPER PROGRAM:
https://developer.apple.com/programs/
MY FAVOURITE APP RESOURCES:
The SwiftUI Reference Books I Use - SwiftUI Views Mastery - https://cwc.to/swiftui-book
How I Monetize My Apps - RevenueCat - https://cwc.to/revenuecat
My Automation Tool of Choice - Bitrise - https://cwc.to/bitrise
What I Use For App Design - Figma - https://cwc.to/figma
WEEKLY UPDATES VIA EMAIL:
Every Saturday, receive an email digest of new content - https://cwc.to/newsletter
CONNECT:
My website - https://codewithchris.com
GitHub - https://github.com/codewithchris
Instagram - https://www.instagram.com/codewithchris/
Twitter - https://twitter.com/codewithchris
ABOUT CODEWITHCHRIS:
Hi I’m Chris! I’m dedicated to teaching fundamentals about how to make an app. This is important if you’re trying to land an iOS job, be a freelancer, increase or start a business with an app idea. On this channel and my website, you'll find a ton of free resources and tutorials to aid you on your journey to learn iOS development. Many people have learned to code and build apps on their own! https://cwc.to/reviews
Note: Some of the links in this description are affiliate links that help support this channel. Thank you if you used any of them!
#CodeWithChris #CodeCrew #HowToMakeAnApp