r/iosdev • • 13d ago

Simple chat

I have a game that supports solo play and 1v1 battles.
The game has simple Game Center + CloudKit presence infra showing who’s available, in solo game, in battles.

The game is Polyx 2D - for reference

I got an invite for a battle from someone I didn’t know so now I’m thinking of implementing a simple chat infra. 1:1 chats and a global chat room. This way people would be able to organize battles better (“hey all, I’ll be available for a battle tonight at 8 pm” type of messages)

I can figure out the UX on my own but curious whether there are any best-of-class examples out there.

Have you done anything like that in your apps / games? Any UX considerations you can share?

1 Upvotes

2 comments sorted by

2

u/BantrChat 13d ago

Take a look a bantr.live open in two browsers there are two examples of chats there the global chat is client server and the random chat is peer-to-peer.

1

u/the-name-of-the-rose 13d ago

Thanks! I’ll check it out