summaryrefslogtreecommitdiff
AgeCommit message (Expand)AuthorFilesLines
2012-11-08pd_client: Prepend new choice to history in loop()Benjamin Franzke1-5/+5
2012-11-08Revert "pd_client: Close streams"Benjamin Franzke1-1/+1
2012-11-08pd_client: Use get_code to read only a single byteBenjamin Franzke1-1/+6
2012-11-08pd_client: Close streamsBenjamin Franzke1-1/+1
2012-11-08pd_client: Correctly exit when receiving an eBenjamin Franzke1-1/+1
2012-11-08prisoners_dilemma: Remove unneeded decide ruleBenjamin Franzke1-3/+1
2012-11-08Add prisoners dilemma prolog clientBenjamin Franzke1-0/+24
2012-11-08Add an example on how to connect, write and read from a socket with GNU PrologBenjamin Franzke1-0/+10
2012-11-08prisoners_dilemma: Use format instead of writeBenjamin Franzke1-4/+3
2012-11-08prisoners_dilemma.pl: Remove debug codeBenjamin Franzke1-1/+2
2012-11-08Prisoners Dilemma: Move rules to subdirectoryBenjamin Franzke13-1/+1
2012-11-08Prisoners Dilemma: Add descriptions to non-trivial understandable modulesBenjamin Franzke6-4/+17
2012-11-08naive_prober: Use if-then-else for random decision tooBenjamin Franzke1-7/+1
2012-11-07random_choice.pl: Rework to use if-then-elseBenjamin Franzke1-4/+2
2012-11-07Prisoners Dilemma: Add naive prober algorithmBenjamin Franzke1-0/+14
2012-11-07Prisoners Dilemma: Add hard_tit4tat algorithmBenjamin Franzke1-0/+2
2012-11-07grudger,mistrust_tit4tat: Add missing parameterBenjamin Franzke2-4/+4
2012-11-07tit42tat: Fix incorrect second solution if thre are two defacts in historyBenjamin Franzke1-1/+1
2012-11-07Prisoners Dilemma: Fix pavlov algorithmBenjamin Franzke1-2/+2
2012-11-07Prisoners Dilemma: Add not-yet-working pavlovBenjamin Franzke1-0/+5
2012-11-07Prisoners Dilemma: Add periodically DDC and SSZ algorithmBenjamin Franzke2-0/+8
2012-11-07prisoners_dilemma: Track module stateBenjamin Franzke8-16/+16
2012-11-06grudger: Rework to stop searching on first found d.Benjamin Franzke1-3/+3
2012-11-06Prisoners Dilemma: Add grudger algorithmBenjamin Franzke1-0/+7
2012-11-06prisoners_dilemma.pl: Disable automatic start for now..Benjamin Franzke1-3/+3
2012-11-06Prisoners Dilemma: Add random decision moduleBenjamin Franzke1-0/+4
2012-11-06Prisoners Dilemma: Add mistrust_tit4tat algorithmBenjamin Franzke1-0/+6
2012-11-06prisoners_dilemma: Output player decisionsBenjamin Franzke1-2/+2
2012-11-06Prisoners Dilemma: Add tit for two tats algorithmBenjamin Franzke1-0/+5
2012-11-06Add simple test modules for prisoners dilemma to always defect or coorporateBenjamin Franzke2-0/+2
2012-11-06tit4tat.pl: Try to document the syntaxBenjamin Franzke1-0/+2
2012-11-06prisioners_dilemma: Dont pass user choice to moduleBenjamin Franzke2-10/+6
2012-11-06Begin modularization of prolog prisoners dilemma implementationBenjamin Franzke4-50/+54
2012-11-06tit4tat.pl: Coding styleBenjamin Franzke1-3/+1
2012-11-06tit4tat.pl: Remove debug outputBenjamin Franzke1-1/+0
2012-11-06Add .gitignoreBenjamin Franzke1-0/+2
2012-11-06tit4tat.pl: Coding style fixesBenjamin Franzke1-2/+2
2012-11-06Makefile: Add clean targetBenjamin Franzke1-0/+3
2012-11-06tit4tat.c: Remove non-standard fpurge by adding an ugly while-loopBenjamin Franzke1-3/+2
2012-11-06Makefile: Compile tit4tat.plBenjamin Franzke1-0/+5
2012-11-06tit4tat.pl: Halt programm after finishBenjamin Franzke1-1/+1
2012-11-06tit4tat.pl: Fix going through work-loop when we get end-signalBenjamin Franzke1-11/+13
2012-11-06tit4tat.pl: Coding style fixes in sum()Benjamin Franzke1-1/+1
2012-11-06tit4tat.pl: Rename step to pay2Benjamin Franzke1-4/+4
2012-11-06tit4tat.pl: Add initialization predicateBenjamin Franzke1-0/+2
2012-11-05tit4tat.pl: Count total paymenetBenjamin Franzke1-6/+12
2012-11-05tit4tat.pl: Fix variable namesBenjamin Franzke1-5/+8
2012-11-05tit4tat.pl: Try to split ruleset and input/output operationBenjamin Franzke1-6/+16
2012-11-05Add tit4tat c implemantation.Jan Klemkow2-0/+61
2012-11-05Add tit4tat.plBenjamin Franzke1-0/+34