fabienjuif / subterra

Not finished clone of subterra board game
https://pedantic-lalande-d5e881.netlify.com/
0 stars 0 forks source link

:recycle: engine / myrtille #1

Closed WesleyRUCHAUD closed 4 years ago

fabienjuif commented 4 years ago
const state = {
  gameOver: false,
  players: [],
  enemies: [],
  deckTiles: { length: 10 }, // should be an array in a futur iteration
  deckCards: { length: 10 }, // should be an array in a futur iteration
  activeCards: [], // current active cards
  grid: [{
    ...tilesData[0],
    x: 0,
    y: 0,
    status: [/* gaz, water, landslide, etc */],
  }],
  playerActions: {
    tile: undefined,
    current: {}, // action the player is currently doing
    possibilities: [], // known possible actions for the current player
  },
  technical: {
    actions: [],
  }
}