From 757a29a416b8821c5f98925e795727a867b7ed35 Mon Sep 17 00:00:00 2001 From: Maximilian Wagner Date: Mon, 12 Jun 2023 14:49:23 +0200 Subject: [PATCH] =?UTF-8?q?player=5Ftokens=5Fper=5Fturn=20hinzugef=C3=BCgt?= =?UTF-8?q?=20um=20die=20Anzahl=20der=20Tokens=20die=20pro=20Runde=20hinzu?= =?UTF-8?q?gef=C3=BCgt=20werden=20soll=20speichern=20zu=20k=C3=B6nnen.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- daten.pl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/daten.pl b/daten.pl index e396855..105585c 100644 --- a/daten.pl +++ b/daten.pl @@ -79,6 +79,7 @@ init_player1(Type1, Type2, Type3) :- player_tokens(Tokens), Cost is Tokens - (Cost1 + Cost2 + Cost3), assert( player_tokens(Player, Cost) ), + assert( player_tokens_per_turn(Player, Cost) ), % Definiert die aktiven einheiten der Spieler % einheit_active(Player, Einheit Type, feldX, feldY) @@ -96,6 +97,7 @@ init_player2(Type1, Type2, Type3) :- player_tokens(Tokens), Cost is Tokens - (Cost1 + Cost2 + Cost3), assert( player_tokens(Player, Cost) ), + assert( player_tokens_per_turn(Player, Cost) ), % Definiert die aktiven einheiten der Spieler % einheit_active(Player, Einheit Type, feldX, feldY)