summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2012-11-19Add compile options for OpenBSD current.HEADmasterJan Klemkow1-3/+5
2012-11-19Start player api for c implementation.Jan Klemkow1-7/+18
2012-11-12doc: Add GNU MakefileBenjamin Franzke1-0/+11
2012-11-12doc: Move Makefile to BSDmakefileBenjamin Franzke1-0/+0
2012-11-12Add gradual killer to doc.Jan Klemkow1-0/+1
2012-11-12pd_server: Reset payment in each roundBenjamin Franzke1-0/+2
2012-11-12gradual_killer: Optimize rules a bitBenjamin Franzke1-4/+3
2012-11-12Prisoners Dilemma: Add parameter description to modulesBenjamin Franzke13-0/+30
2012-11-12Prisoners Dilemma: Implement Gradual KillerBenjamin Franzke1-0/+19
2012-11-12Add internet updload script in Makefile.Jan Klemkow1-1/+4
2012-11-12Add player rules wrapper for battle program.Jan Klemkow1-0/+21
2012-11-12Add prolog code and algorithm list.Jan Klemkow1-0/+21
2012-11-12tit4tat.pl: Remove obsolete syntax descriptionBenjamin Franzke1-2/+0
2012-11-12Add c implementation for algorithm battle with working payment.Jan Klemkow3-2/+46
2012-11-11Merge branch 'master' of ssh://git.bnfr.net/git/wbsJan Klemkow1-0/+28
2012-11-11Add tit4tat prolog code example.Jan Klemkow1-11/+1
2012-11-10Add pd_client that works with SWI-PrologBenjamin Franzke1-0/+28
Since SWI-Prolog provides a different socket interface.
2012-11-10Add prolog code for tit3tat rules.Jan Klemkow1-0/+17
2012-11-10doc: Valentina has only one 'l'Benjamin Franzke1-1/+1
2012-11-10Fix game rules image.Jan Klemkow2-6/+7
2012-11-10Add build system for presentation and images.Jan Klemkow5-0/+39
2012-11-10Merge branch 'master' of ssh://git.bnfr.net/git/wbsJan Klemkow2-36/+48
2012-11-10doc: image of network protocolJan Klemkow1-0/+0
2012-11-09pd_client: Use atom_codes/2 instead of name/2Benjamin Franzke1-1/+1
As its recommended by the gprolog documentation
2012-11-09pd_client: Add some informative outputBenjamin Franzke1-1/+2
2012-11-09pd_server: Start a new round after one has finishedBenjamin Franzke1-23/+26
So that 2 new clients can connect.
2012-11-09pd_server: Check rounds parameter to be a numberBenjamin Franzke1-3/+3
2012-11-09pd_server: Some code cleanupBenjamin Franzke1-3/+8
2012-11-09pd_servert: Fix space vs tabsBenjamin Franzke1-11/+14
2012-11-09Add makefile for BSD make.Jan Klemkow1-0/+13
2012-11-08pd_client: Use descriptive paramter names for byte_to_atomBenjamin Franzke1-4/+4
And move byte_to_atom around.
2012-11-08Add a very simple prisoner dilemma serverBenjamin Franzke3-1/+88
2012-11-08pd_client: Prepend new choice to history in loop()Benjamin Franzke1-5/+5
So that we dont produce a list with an empty list in the initial do-invokation.
2012-11-08Revert "pd_client: Close streams"Benjamin Franzke1-1/+1
This reverts commit 80c9333a5987997362753f992b4d5b665033e6b3. Closing the streams gives following error: error(system_error('Bad file descriptor'),socket_close
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
since its a trivial wrapper for call
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