50 Commits (master)
 

Author SHA1 Message Date
Peter Babič 688fa63b77
MIT License 4 years ago
Peter Babič 51189cfa18
fix spacing 4 years ago
Peter Babič ec9aefbebd
Add README file 8 years ago
Peter Babič 07b9c3d56d
Convert output to English 8 years ago
Peter Babič 39b4a307f9
Polish final version 8 years ago
Peter Babič c0e4ce671d
Present final version functionality 8 years ago
Peter Babič 525ad4fcc2
Introduce Queue 8 years ago
Peter Babič 5d7c8c4ce7
Rework Spot number 8 years ago
Peter Babič 0a440e0843
Present third presentable version 8 years ago
Peter Babič 01360873b4
Implement Spot.getNumber 8 years ago
Peter Babič 36494332a0
Present second version with valid Spots output 8 years ago
Peter Babič b613806eaa
Implement Spot.setNumber 8 years ago
Peter Babič 9bb98df03c
Repair acidentaly refactored Position and PositionTest 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č 20d39e72a0
Present the first valid output of the namespace Coffee 8 years ago
Peter Babič 1b83057a7e
Implement Table.getSpotIndexByPosition 8 years ago
Peter Babič 7b620b11b2
Refactor largest Spot and its size 8 years ago
Peter Babič 30ef9912b4
Implement Spot size 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č 6e987c5a69
Rework Table constructor 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č f7b58eeb0e
Implement Tile.representsVoid 8 years ago
Peter Babič 53ea4f589e
Implemet Tile.getPosition 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č eaf0e77cd4
Implemet Tile extends Position 8 years ago
Peter Babič 4fa5b69730
Move tests to separate namespaced directory 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č 285fb1a27b
Refactor Table constructor to accept arguments 8 years ago
Peter Babič 42aad05241
Refactor Tile constructor to accept parameters 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
Peter Babič 6daef4326c
Refactor Table.isValidFortile to couldContainTile 8 years ago
Peter Babič 22beb4cede
Refactor coordinates in Tile from X,Y to col,row 8 years ago
Peter Babič 1eb064a478
Create Spot and SpotTest 8 years ago
Peter Babič c4acbb8ea8
initial commit 8 years ago