23 Commits (master)

Author SHA1 Message Date
Peter Babič 5d7c8c4ce7
Rework Spot number 8 years ago
Peter Babič 3fda5966bb
Implement map.structuredTiles 8 years ago
Peter Babič dfd8d2105d
Modify Spot so it now contains Tiles instead of Positions 8 years ago
Peter Babič 1880ebe1aa
Modify Table so it now extends Map 8 years ago
Peter Babič 70f40a1cfd
Implement Tile.getSpotNumber 8 years ago
Peter Babič 72b4370c40
Implement recursive algorithm to find Spots 8 years ago
Peter Babič d76f5f230b
Composer update 8 years ago
Peter Babič 760d641bae
Rework Tile constructor 8 years ago
Peter Babič fc82f617e9
Implement Map.getNeighboursOfTile 8 years ago
Peter Babič 84c8dd2ef7
Refactor Map.getTiles and Map.getUnvisitedTiles 8 years ago
Peter Babič 3e81e4d424
Implement Tile.isVisited 8 years ago
Peter Babič 790181fec3
Implement Map.getTileByPosition and do some refactoring 8 years ago
Peter Babič 5e840726d5
Normalize Position bounds for rows and columns 8 years ago
Peter Babič 538a725748
Implement Map.visitedTile as private Tile[] 8 years ago
Peter Babič f2ce51ec14
Change positioning system to start at [1, 1] not [0, 0] 8 years ago
Peter Babič be1bb7ba9b
Decouple Map, Position and Tile even more 8 years ago
Peter Babič af3b3b7633
Decouple Map and Position 8 years ago
Peter Babič 90009f29b4
Rename Tile to Position 8 years ago
Peter Babič eb8144ab09
Implement Map.isVisitedPosition 8 years ago
Peter Babič 2e54430432
Implement Map.isValidPosition 8 years ago
Peter Babič 5c57eec6a5
Implement Tile.getNeighbors 8 years ago
Peter Babič e2afa0a84c
Introduce index.php and require autoload.php in tests 8 years ago
Peter Babič 0f22fe9be0
Split Table and Map to the separate classes for decoupling 8 years ago