function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Shiva RajendranShiva Rajendran 

Is it possible to create two player tic tac toe game in salesforce?

I have a scenerio where two player  , lets call them player1 and player2,they get connected with the same vf page , which contains data from two different object corresponding to each player. I want to know if the player1 can get his vf page refreshed if player 2 updates his object reference .I want to know if notification like this is possible . Also if this is possible, i want to know ,if  multicasting is also possible when n player access a same vf page ? This will help me create a tic tac toe game in salesforce
Best Answer chosen by Shiva Rajendran
Gordon EngelGordon Engel
You could take the single-player Tic Tac Toe blog below, review the Checkmate implementation and reverse engineer a solution:

https://developer.salesforce.com/blogs/developer-relations/2015/06/building-tic-tac-toe-game-using-lightning-components.html

Checkmate Lightning: https://www.youtube.com/watch?v=o4EHBSZUAEI

Checkmate Blog: http://www.absi.be/checkmate-with-lightning-components/