;redcode-94 ;name Cocktail ;author Maurizio Vittuari ;contact pan0178@iperbole.bologna.it ;NSFCWT Round 8 ;strategy Switching between Taking Names and a paper ;strategy according to Father and Son strategy ;strategy No time to do better :( ;assert CORESIZE==55440 ; 1=win, 2=tie, 0=loss ; Son : 1 -> stay, else goto father ; Father: 0 -> goto son, else stay ; Son = paper Father = TT son_str equ #413 ; son id fat_str equ #0 ; father id s_slot equ #210 ; strategy slot ; * * * Thinking routines * * * res ldp #0, 0 strat ldp s_slot, 0 sne son_str,strat djn father, res jmn father, res ; * * * Son * * * step1 equ 3743 step2 equ 1567 step3 equ 1349 son stp son_str,s_slot r_count spl 1, -1, }-1 mov bomb, >1942 s2 spl step2, #0 mov >-1, }-1 mov bomb, }1842 mov bomb, >2000 mov clrptr last jmp -1 end res