#ifndef __GAME_STRUCT_H__
#define __GAME_STRUCT_H__

#include "game.h"

typedef struct history_s *history;

struct game_s {
  shape *shapes;
  direction *directions;
  bool wrapping;
  uint cols;
  uint rows;
  history history;
};

struct history_s {
  uint i;
  uint j;
  int nb_turns;
  history previous;
  history next;
};

#endif  // __GAME_STRUCT_H__