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?
Well, in your case i will use an Inventory object dedicated to the player who can draw cards …
- Do not allow to search cards from your deck
- Inventory window dedicated to the Player side granted
- A send to location or Send to deck trait on cards to use it when using the inventory window.