Virtuatable / virtuatable-core

The model layer gem for the jdr tools suite
0 stars 0 forks source link

Make the chatrooms more generic #47

Closed vincentcourtois closed 4 years ago

vincentcourtois commented 4 years ago

The chatroom should not be available only in campaigns. Users should be able to send messages to each other without the need to created a campaign.

  1. Create a Arkaan::Chatroom class that is a generic chatroom having several players in it
  2. Create a Arkaan::Chatrooms::Campaign class that represents a chatroom linked to a campaign, with all players and game masters of a campaign in it.

Warning : the dice rolls should only be possible in a campaign chatroom.