Forum Academy Marketplace Showcase Pricing Features

Turn-by-Turn Game

So I have been working on my first real site for HOURS and weeks now, and I have made much progress, but now I’m down to the nitty gritty of my site, and I’m stuck on trying to figure out how to make the game aspect of my site turn-by-turn based.

I have made it so that people can’t click a button more than 4x per hour, but what I’d really like to do is make it so that someone can click a button to set someone else’s element state. Is this possible?

As explanation, I am making a site that combines social media and a game, and I’m working on the gameplay aspect of it.

It’s called if you want to check it out and see what I’ve managed to do so far.

For one user to make changes that reflect on another user’s session you should make these changes on the DB. That way it will update in realtime for the other user.

So instead of making an element conditional based on a custom state, make it depend on this gameplay value of the current user

1 Like

I think I understand what you are saying. So I want to make it its own separate Thing and then when the button is clicked, it “makes changes to thing” and then vice versa?

1 Like

I got it to work! Thank you so much for the tip!

1 Like