Ryan6578 / Codewords

A LUA script for Codewords on Tabletop Simulator for Steam.
https://ryan6578.com
GNU General Public License v3.0
29 stars 16 forks source link

Prevent other team from turning cards accidentally or intentionally during your turn #85

Closed dreTodk closed 3 years ago

dreTodk commented 3 years ago

There have been cases where players from the other team accidentally or intentionally turned cards (which is used to indicate that the word is considered as a possible guess) and thus affected decision-making negatively, and might go unnoticed OR noticed by codemasters but not called out due to them having to not influence decision making by talking. Examples of such scenarios (players mentioned are all on the other team):

1) new player doesn't know which team they're on, or thinks that it's ok to participate in the pre-voting process of the other team by tilting cards they're considering 2) semi-troll or restless player randomly tilts cards intentionally 3) player accidentally hitting Q or E when they had their cursor on cards

I suppose you have met such players before too, and for those who intentionally tilted cards you had to unseat them to get them to stop, but that's provided a person with promoted/host notices it and deals with it quickly enough. Usually by the time it's noticed, there would have been a few rounds which they have negatively affected without anyone realizing or being sure enough to confront the player (since we usually give the benefit of the doubt when we noticed it once or twice). Thus I hope you can consider implementing something to only allow tilting of cards by the team taking their turn. I'm not a coder, but from my understanding I think this might be a potential way to do it: Make cards "interactable = false" or maybe just lock them, add buttons to each card that when clicked unlocks and rotates the card after verifying (with your existing function TurnTracker) whether the person clicking the button is currently having their turn, then relocks it.

dreTodk commented 3 years ago

It has been added so I'll close this, thanks for the hard work