Report question

Hi there. I’m working on a module for a 2 player game and I have a deck of cards that one player needs to draw from, and may also need to draw a specific card from. Problem is that when moving through the log file of that player’s turn, the other player can see the names of the cards drawn. How to prevent that?

Hi Eric,

Well, in your case i will use an Inventory object dedicated to the player who can draw cards …

  1. Do not allow to search cards from your deck
  2. Inventory window dedicated to the Player side granted
  3. A send to location or Send to deck trait on cards to use it when using the inventory window.