summaryrefslogtreecommitdiffstats
path: root/lib
AgeCommit message (Expand)AuthorFilesLines
2024-03-20some rubocop cleanupJérémy Zurcher10-62/+70
2024-01-25Board : set adjacents by nameJérémy Zurcher1-32/+32
2023-12-05FLNBot : rewriteJérémy Zurcher2-709/+310
2023-12-05add Turn and specsJérémy Zurcher1-0/+239
2023-12-05FLNBotRules : add CASUALTIES_PRIORITYJérémy Zurcher1-0/+1
2023-12-04FLNBotRules : clean upJérémy Zurcher1-2/+3
2023-12-04FLNBotRules : add is_rallied block to rally_9_priorityJérémy Zurcher1-3/+3
2023-12-04FLNBotRules : fix rally_9_priority with infinite resourcesJérémy Zurcher1-2/+2
2023-12-03FLNBotRules : fix rally 9 and prioritiesJérémy Zurcher1-2/+3
2023-12-02FLNBotRules : rewrite priority specs and fix rally_7_priorityJérémy Zurcher1-2/+2
2023-11-19Spaces/Forces : add #activate(num) && specsJérémy Zurcher2-0/+11
2023-11-17FLNBotRules : fix attack_priorityJérémy Zurcher1-4/+4
2023-11-13FLNBotRules : add attack && ambush && specsJérémy Zurcher2-1/+32
2023-11-10FLNBotRules : support terror && placeable_guerrillasJérémy Zurcher1-0/+39
2023-11-09FLNBotRules : small fixesJérémy Zurcher1-3/+3
2023-11-09FLNBotRules : add #pick_guerrillas_fromJérémy Zurcher1-0/+6
2023-11-09FLNBotRules : protect _filter, _max, _min from empty spacesJérémy Zurcher1-0/+6
2023-11-09FLNBotRules : support SubvertJérémy Zurcher1-0/+21
2023-11-08Spaces : strengthen #shift and #independent!Jérémy Zurcher1-0/+1
2023-11-08Spaces: fix #shift_terrorJérémy Zurcher1-2/+2
2023-11-08Spaces : add #resettled? and #shift_terror(n) and specsJérémy Zurcher1-1/+11
2023-11-08FLNBotRules : support rally 9 and specsJérémy Zurcher1-0/+10
2023-11-07FLNBotRules : add #may_extort_0_in? and #extort_priorityJérémy Zurcher1-0/+14
2023-11-02FLNBotRules : dbg -> remove useless YESJérémy Zurcher1-1/+1
2023-11-02FLNBotRules place_guerrillas -> place_guerrillas_priorityJérémy Zurcher1-2/+2
2023-10-30FLNRules : fix #may_extort_in?Jérémy Zurcher1-2/+1
2023-10-30typos and commentJérémy Zurcher1-2/+2
2023-10-30FLNBotRules : rally_6 considers terror && opposeJérémy Zurcher1-2/+2
2023-10-30FLNRulse : add #max_agitate_cost(space)Jérémy Zurcher1-0/+4
2023-10-30FLNRules : may_agitate_in? only if terror || \!opposeJérémy Zurcher1-1/+1
2023-10-27FLNBotRules spec : simplify ({ ... }) into ( ... )Jérémy Zurcher1-1/+1
2023-10-26FLNBotRules : fix and spec dbg(msg, ret)Jérémy Zurcher1-5/+4
2023-10-26FLNBotRules : shuffle is not needed, prefix internal methodsJérémy Zurcher1-15/+14
2023-10-26FLNBotRules : rally 6 checks agitateJérémy Zurcher1-0/+5
2023-10-24Forces _base -> _basesJérémy Zurcher2-16/+17
2023-10-24FLNBotRules : add #place_guerrillas_in, fix rally_7Jérémy Zurcher1-15/+25
2023-10-24FLNBotRules : add #available_fln_bases, comment, fix Mock#terrorJérémy Zurcher1-16/+18
2023-10-23Board : clean upJérémy Zurcher1-13/+9
2023-10-23Track : must return new valueJérémy Zurcher1-0/+1
2023-10-23FLNBotRules : major rewrite + specsJérémy Zurcher1-62/+119
2023-10-22fln_cubes -> guerrillas and fix #max_placable_flnsJérémy Zurcher3-6/+6
2023-10-21Spaces : #shift raise if out of limits, set @independent add #terror?Jérémy Zurcher1-8/+9
2023-10-21Forces : #update_control return true if changedJérémy Zurcher2-2/+4
2023-10-09fix FLNRules#max_fln_to_place_inJérémy Zurcher1-1/+1
2023-10-06FLNRulse : clean, add #max_fln_to_place_inJérémy Zurcher1-11/+13
2023-10-03add fln_bot_rules & specsJérémy Zurcher1-0/+160
2023-10-03Board : split out spaces & forcesJérémy Zurcher3-407/+427
2023-09-29ColorizedString : add CLEAR_LINEJérémy Zurcher1-1/+3
2023-09-29FLNRules : remove useless ()Jérémy Zurcher1-8/+8
2023-09-24Board : fix Country @descrJérémy Zurcher1-8/+16