octgn / OCTGN

Online Card and Tabletop Gaming Network

Home Page:http://www.octgn.net

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Feature request: Modify dialog boxes to let players chat and inspect the game state

Wirox opened this issue · comments

commented

Currently all dialog boxes (such as confirm()) block the player from doing anything except for interacting with the dialog box. In many cases it makes sense because it ensures the player will execute no scripts in between. However, there are many actions which can never execute any scripts on their own, so it'd be safe to allow them.
They include, but aren't limited to:
– hovering over a card to zoom it
– using the 'Look at' action for face-up groups
– switching to a different player's tab
– chatting

To explain why such a possibility would be very useful, I'll use an example from the game I'm developing.

In this game, when a player draws their starting hand, they are asked with confirm() whether they want to keep it or change it. Unfortunately for as long as the dialog box is up, it's impossible to zoom the cards in hand, which makes it difficult to read their text. What is even worse, if that player accidentally switches to their opponent's tab, they won't see their own hand at all. Being able to chat in this situation would also be helpful at times because in friendly games someone might want to ask their opponent if it's a good idea to keep a certain hand.