From 553e4655f2227783051d5ea7fba65d9135310ad4 Mon Sep 17 00:00:00 2001 From: Benjamin Franzke Date: Thu, 8 Nov 2012 13:17:20 +0100 Subject: Prisoners Dilemma: Move rules to subdirectory --- prisoners_dilemma.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'prisoners_dilemma.pl') diff --git a/prisoners_dilemma.pl b/prisoners_dilemma.pl index b690fbe..16d0388 100644 --- a/prisoners_dilemma.pl +++ b/prisoners_dilemma.pl @@ -46,5 +46,5 @@ loop(Module, ModuleState, Hist, PayedA, PayedB) :- do(Choice, Module, ModuleState, Hist, PayedA, PayedB). -start(Module) :- consult(Module), loop(Module, [], [], [], []). +start(Module) :- atom_concat('rules/', Module, Path), write(Path), consult(Path), loop(Module, [], [], [], []). start :- start(tit4tat),halt. -- cgit