Created
          June 15, 2020 02:08 
        
      - 
      
 - 
        
Save jhcheung/148d8435f50b492dd82995157b5f6215 to your computer and use it in GitHub Desktop.  
    phase boardgame.io
  
        
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | const game = { | |
| setup: ctx => ({ deck: 6, hand: Array(ctx.numPlayers).fill(0) }), | |
| turn: { moveLimit: 1 }, | |
| phases: { | |
| draw: { | |
| moves: { DrawCard }, | |
| }, | |
| play: { | |
| moves: { PlayCard }, | |
| }, | |
| }, | |
| }; | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment