summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-08-21refactorFlorian Jung
2015-08-218-connected graph instead of 4-connectedFlorian Jung
2015-08-19automatically recalculate path if it becomes blocked (slow!)Florian Jung
2015-08-18Merge branch 'master' into pathfindingFlorian Jung
2015-08-18show mass/size on cellsFlorian Jung
2015-08-18fix breakageFlorian Jung
2015-08-18smoother path-followingFlorian Jung
2015-08-18s/manhattan/euclidic distance/gFlorian Jung
2015-08-18performance optimisation. lol :DFlorian Jung
2015-08-18refactoring, no changesFlorian Jung
2015-08-18follows path \o/Florian Jung
2015-08-18fine tuningFlorian Jung
2015-08-18pathfinding works \o/Florian Jung
it's still horribly slow (2 seconds calculation time), and atm it only weighs every cell with a really large cost (so it avoids basically everything). BUT HEY IT F***ING WORKS \o/
2015-08-18draw_text is now callable externally (cherrypick from strategy-rework)SpitfireX
2015-08-18draw and set markersFlorian Jung
2015-08-18skip "both user and bot can control" modeFlorian Jung
2015-08-18draw_circle: also convert radius to window lengthsFlorian Jung
2015-08-17install instructionsFlorian Jung
2015-08-14Improved cell weight functionSpitfireX
2015-08-14The RefactoringSpitfireX
moved tons of helper functions out of process_frame() into the class scope.
2015-08-13Added basic cell weightingSpitfireX
Very basic and still needs several refinements.
2015-08-13better weightsFlorian Jung
2015-08-13Merge remote-tracking branch 'origin/tastyness'SpitfireX
Conflicts: strategy.py Todesmerge aus der Hölle.
2015-08-12rate quality of food, avoid close-to-wall or close-to-enemy food, prefer ↵tastynessFlorian Jung
close-to-other-food food
2015-08-12improve(?) runaway: nonsplitkillable cells are less dangerousFlorian Jung
2015-08-12Method refactoringSpitfireX
...from hell!
2015-08-12merge conflict fixedSpitfireX
2015-08-12remove test stuffFlorian Jung
2015-08-12fix old runaway corridor size (was twice as large as needed)Florian Jung
2015-08-12check_cell_in_intervalFlorian Jung
2015-08-12fixed check_point_in_intervalFlorian Jung
2015-08-12potentially buggy check_point_in_intervalSpitfireX
2015-08-12Fixed interval checking to be inclusive of the start and end valuesSpitfireX
2015-08-12Some more angle stuffSpitfireX
(possibly incomplete and/or hacky)
2015-08-12Fixed missing import for randomSpitfireX
Seems like someone forgot to check all dependencies while refactoring...
2015-08-12Made gui surface update explicit + some angle stuffSpitfireX
2015-08-12A minor target locking fix.SpitfireX
Cell could stay locked onto an "edible" cell even after it has become inedible.
2015-08-12Updated to newest agarnet versionSpitfireX
2015-08-11clear_screen() functionFlorian Jung
2015-08-11a bit of debugging and commentsFlorian Jung
2015-08-11move out strategy into own classFlorian Jung
2015-08-11Increased wall avoidance radiusSpitfireX
2015-08-11hopefully fix virus avoidanceFlorian Jung
2015-08-11fix viruses being not drawnFlorian Jung
oar spitfire pls
2015-08-11fixed wall avoidance at top and bottomFlorian Jung
OAR math, OAR.
2015-08-11Fixed locking onto moving cells as foodSpitfireX
I totally forgot to account for moving food, derp.
2015-08-11Changed input locking controlsSpitfireX
instead of two separate toggles S now cycles through the different lock combinations.
2015-08-11Fixed render order and added bot input lockingSpitfireX
- the render order is now strictly food < cells(small -> big) -> viruses(small -> big) - added the option to lock the bot input (b key)
2015-08-11Some minor changesSpitfireX
- increased the detection radius for possible threats - removed some unnecessary conditions which lead to some buggy behavior - changed the default resolution (again... maybe it's better)
2015-08-11Fixed the jerky target selectionSpitfireX
The cell now locks onto a target and tries to reach it. This target can either be a source of food or a random point (in case no food is around). The locked target only gets reset when the cell has to flee.