Advertisement
kaenan

Untitled

Nov 9th, 2018
102
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.41 KB | None | 0 0
  1. * Piece
  2. position: pair<x, y>
  3. enum Direction(NONE, NORHT, SOUTH, EAST, WEST)
  4. ** Pawn
  5. origin: Direction
  6. ** Wall
  7. direction: Direction
  8. * Board
  9. pieces: array< 9, array<9, Cell>>
  10. * Cell
  11. ocupant: optional<Pawn>>
  12. trench: Trench
  13. * Trench
  14. NorthOcupied: bit;
  15. SouthOcupied: bit;
  16. EastOcupied: bit;
  17. WestOcupied: bit;
  18. * PiecesPool
  19. pawns: array<4, Pawn>
  20. walls: array<20, Wall>
  21. * Player<int N>
  22. walls: array<N, Wall>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement