As an exciting surprise Apple announced a new framework for iOS 15 to simultaneously join a video stream or custom experiences via a FaceTime call - this game is such a custom experience by playing "hangman" together.
The implementation is very rough but shows:
- how to set up and start a custom experience
- exchange data with participants
- draw a hangman (via PaintCode)
- you need at least two devices on iOS 15
- you need two Apple IDs set up on these device to initiate a FaceTime call between them
- install the app on both devices, launch it on one, then tap connect (top left)
- provide a guess word and start the game (top right)
- when somebody wants to guess either a character or the full word, tap on the wand and enter your guess
- at the end a small sound is played either for a successful/lost game
This is an experiment on top of the current iOS 15 beta - as this project is a test to explore Group Activities, it is not production ready and will contain bugs. Feel free to clone, tweak, hack around it.
- understanding session life cycle and data limits
- proper session teardown and recovery
- better state management
Oliver Michalak - [email protected] - @omichde
This hangman is available under the MIT license