Is turn based like this possible?

Options
Hello !
I'm looking for MP solution for a simple puzzle game and I was wondering if something like this is possible on Photon.

Basically my game will generate a level, which can be recreated from simple string sent over server.

So idea is
1. one player starts a game
2. a level is generated for that player
3. when player completes a games the time it took him to complete is recorded
4. another player will "join" the game started by first player
5. he will receive a string that will recreate exactly the same puzzle from game client side
6. when he completes that puzzle his time is recorded
7. player with least time spent on a puzzle is declared a victor

So basically the only interaction between players is they get same random seed for puzzle, and their completetion time is compared. Can photon be used to create something like this?

thanks in advance

Comments

  • Tobias
    Options
    Yes, you can use Photon for this. Use Room.SetCustomProperties() to store the seed and a key per player to store the score.
    While both players are online, they could also update the score from time to time to make it more exciting to play together.