summaryrefslogtreecommitdiffstats
path: root/core/src/ch/asynk/gdx/boardgame/boards
AgeCommit message (Expand)AuthorFilesLines
2020-07-15HexBoard : remove unused paramaterHEADmasterJérémy Zurcher1-4/+4
2020-07-14hexBoard : normalise and optimize Orientation in lineOfSightJérémy Zurcher1-32/+20
2020-07-12HexBoard : fix the mess I madeJérémy Zurcher1-43/+43
2020-07-10HexBoard : no float comparaisonJérémy Zurcher1-1/+1
2020-07-10HexBoard : slope -> mJérémy Zurcher1-9/+8
2020-07-08HexBoard : fix diagonal los with out of board tilesJérémy Zurcher1-1/+4
2020-07-08HexBoard : fix slope usage on horizontal conditionJérémy Zurcher1-3/+4
2020-07-08HexBoard : prevent div 0 that never happenJérémy Zurcher1-1/+1
2020-07-08HexBoard : shorten contact point computationJérémy Zurcher1-15/+9
2020-07-08HexBoard : tiny code clean upJérémy Zurcher1-2/+2
2020-07-08HexBoard : fix lineOfSight()Jérémy Zurcher1-12/+5
2020-07-07HexBoard : simplify computeOrientation()Jérémy Zurcher1-23/+9
2020-07-07HexBoard : third Tile in diagonal move is always on the BoardJérémy Zurcher1-14/+10
2020-07-07HexBoard : offboard tiles are blockingJérémy Zurcher1-0/+6
2020-07-07HexBoard : tiny fixJérémy Zurcher1-2/+1
2020-07-07HexBoard : distance cleanupJérémy Zurcher1-10/+7
2020-07-03isOnMap -> isOnBoardJérémy Zurcher4-18/+18
2020-07-03HexBoard : dh + side / 2 = sideJérémy Zurcher1-10/+10
2020-07-03HexBoard : code refactoringJérémy Zurcher1-97/+86
2020-07-02HexBoard : orientation -> boolean verticalJérémy Zurcher1-15/+14
2020-06-30Board : implement shortestPath() for HexBoardsJérémy Zurcher4-0/+97
2020-06-30HexBoard : possibleMoves, do not blindly follow roadsJérémy Zurcher1-2/+2
2020-06-18HexBoard : lineOfSight(…) compute contact pointJérémy Zurcher4-10/+131
2020-06-18HexBoard : merge verticalLineOfSight(…) into diagonalLineOfSight(…)Jérémy Zurcher1-58/+17
2020-06-18HexBoard : fix slope definitionJérémy Zurcher1-4/+5
2020-06-09HexBoard : possibleMoves() supports roadMarchJérémy Zurcher1-4/+11
2020-06-09Piece : add atLeastOneTileMove()Jérémy Zurcher1-1/+1
2020-06-08implement HexBoard::possibleMoves(…)Jérémy Zurcher4-0/+79
2020-06-04Board : add lineOfSight(Tile, Tile, Collection<Tile>)Jérémy Zurcher1-0/+5
2020-06-04HexBoard : LOS, must set from to not blockedJérémy Zurcher1-0/+3
2020-06-04HexBoard : block LOS if left&right of hex sides blockedJérémy Zurcher1-8/+12
2020-06-03Tile : add distances to blockLos(…)Jérémy Zurcher1-11/+14
2020-06-03Board : add distance(…) default to Geometry.EUCLIDEANJérémy Zurcher1-0/+5
2020-06-02HexBoard : remove empty lineJérémy Zurcher1-1/+0
2020-06-02HexBoard : add comments to lineOfSightJérémy Zurcher1-14/+23
2020-06-02Board,TileStorage : use Tile.OffMapJérémy Zurcher3-16/+17
2020-06-01Board : implement lineOfSight for VERTICAL HexBoardJérémy Zurcher4-0/+190
2020-06-01Board : add getTile(…), TileProvider goes into BoardFactoryJérémy Zurcher5-30/+55
2020-05-31TriangleBoard : clean upJérémy Zurcher1-5/+4
2020-05-31TriangleBoard : fix horizontal negative indexJérémy Zurcher1-11/+9
2020-05-31Board/Piece : add dropInPlace(…), dropOnBoard(…)Jérémy Zurcher1-0/+8
2020-01-23TileStorage -> tilestorages/TileStorageJérémy Zurcher4-5/+5
2020-01-23Board : add adjacents API, implement it for HEX and Square boardsJérémy Zurcher4-2/+57
2020-01-23Board : reoder prototypesJérémy Zurcher1-2/+3
2020-01-23Board : extends TileKeyGeneratorJérémy Zurcher4-7/+8
2020-01-23Piece : add angleCorrection, fix boards anglesJérémy Zurcher3-5/+5
2020-01-22set units up, and reorder anglesJérémy Zurcher3-5/+8
2020-01-21Board : add size() and getIdx(int, int)Jérémy Zurcher4-0/+50
2020-01-21Board : add boolean isOnBoard(int, int)Jérémy Zurcher5-11/+54
2019-12-03Board : implements distance for Hex and Square boardsJérémy Zurcher4-0/+74