diff --git a/virtupet/.idea/misc.xml b/virtupet/.idea/misc.xml index d4cdf73..9780b6b 100644 --- a/virtupet/.idea/misc.xml +++ b/virtupet/.idea/misc.xml @@ -1,8 +1,4 @@ -<<<<<<< HEAD - -======= - ->>>>>>> aaa86423ec248d32b4e27f160d302ae2ae368651 + \ No newline at end of file diff --git a/virtupet/.idea/virtupet.iml b/virtupet/.idea/virtupet.iml index e0841ce..6711606 100644 --- a/virtupet/.idea/virtupet.iml +++ b/virtupet/.idea/virtupet.iml @@ -2,7 +2,7 @@ - + diff --git a/virtupet/Pudgi.py b/virtupet/Pudgi.py index c3e285d..7d436f1 100644 --- a/virtupet/Pudgi.py +++ b/virtupet/Pudgi.py @@ -350,7 +350,7 @@ def make_decision(self): w_phy = self.weights["physical"] w_ment = self.weights["mental"] - if random.random() > 1.0: + if random.random() > 0.5: index = 0 for decision in self.known_decisions: name = decision["name"] @@ -430,3 +430,10 @@ def make_decision(self): self.happiness = 10 self.known_decisions[choice_index]["count"] += 1 + + print("---------------------------------------------") + print("Pudgi: " + self.name) + print("Choice: " + choice["name"]) + print("Happiness increased by: " + str(happiness_optimized)) + print("Times chosen: " + str(self.known_decisions[choice_index]["count"])) + print("---------------------------------------------") diff --git a/virtupet/clock.py b/virtupet/clock.py index 7af5ac5..fb0194e 100644 --- a/virtupet/clock.py +++ b/virtupet/clock.py @@ -33,3 +33,9 @@ def time_stamp(self): def update_time(self): self.cur_time = int(self.elapsed_time()) + + def get_minutes(self): + return "%02d" % (datetime.datetime.now().second, ) + + def get_seconds(self): + return "%02d" % (datetime.datetime.now().microsecond, ) diff --git a/virtupet/data/decisions.json b/virtupet/data/decisions.json index 5661a28..184222e 100644 --- a/virtupet/data/decisions.json +++ b/virtupet/data/decisions.json @@ -61,15 +61,12 @@ "confidence": 0.3, "contentment": 0.7, "entertainment": 0.7, -<<<<<<< HEAD + "vitality": 0.1, + "mental_energy": 0.5, + "physical_energy": 0.1, "vitality": 0.1, "mental_energy": 0.5, "physical_energy": 0.1 -======= - "vitality": -0.1, - "mental_energy": -0.5, - "physical_energy": -0.1 ->>>>>>> aaa86423ec248d32b4e27f160d302ae2ae368651 } }, { "name": "eat_veggies", "values": @@ -112,5 +109,4 @@ "physical_energy": 0.1 } } - ] -} +] diff --git a/virtupet/data/pudgies/0x10f22.json b/virtupet/data/pudgies/0x10f22.json new file mode 100644 index 0000000..0feae58 --- /dev/null +++ b/virtupet/data/pudgies/0x10f22.json @@ -0,0 +1,157 @@ +{ + "uid": "0x10f22", + "name": "Jadyn", + "dna": [ + 1, + 1, + 0, + 0, + 0, + 1, + 1, + 0, + 1, + 1, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 1, + 1, + 1, + 0, + 1, + 0, + 1, + 1, + 1, + 1, + 1, + 0, + 0, + 1, + 0, + 0, + 0, + 1, + 0, + 0, + 0, + 1, + 0, + 0, + 1, + 1, + 0, + 0, + 0, + 1, + 1, + 0, + 1, + 0, + 0, + 0, + 1, + 0, + 1, + 1, + 1, + 0, + 0, + 1, + 1, + 0, + 0, + 1, + 0, + 0, + 1, + 0, + 0, + 0, + 1, + 1, + 1, + 1, + 0, + 1, + 1, + 0, + 1, + 1, + 1, + 1, + 1, + 1, + 0, + 1, + 1, + 1, + 1, + 1, + 0, + 1, + 0, + 0, + 1, + 1, + 0, + 0, + 0, + 1, + 1, + 1, + 1, + 1, + 0, + 0, + 1, + 1, + 0, + 0, + 0, + 0, + 0, + 0, + 1, + 0, + 0, + 1, + 1, + 1, + 0, + 1, + 1, + 1, + 0, + 1, + 1, + 0, + 0, + 0 + ], + "color": "Vampire", + "personality": "ESFP", + "parents": [ + null, + null + ], + "happiness": 6.283615629740961, + "known_decisions": [ + { + "name": "nothing", + "count": 1 + }, + { + "name": "reading", + "count": 1 + } + ] +} \ No newline at end of file diff --git a/virtupet/data/pudgies/0x11dbe.json b/virtupet/data/pudgies/0x11dbe.json new file mode 100644 index 0000000..517c3ae --- /dev/null +++ b/virtupet/data/pudgies/0x11dbe.json @@ -0,0 +1,153 @@ +{ + "uid": "0x11dbe", + "name": "Devyn", + "dna": [ + 0, + 0, + 0, + 1, + 0, + 0, + 1, + 1, + 1, + 0, + 0, + 1, + 0, + 1, + 0, + 1, + 0, + 0, + 1, + 1, + 1, + 0, + 1, + 1, + 0, + 1, + 1, + 0, + 1, + 1, + 0, + 1, + 0, + 1, + 1, + 1, + 1, + 0, + 1, + 1, + 1, + 1, + 1, + 1, + 1, + 1, + 1, + 0, + 0, + 1, + 0, + 1, + 0, + 0, + 0, + 0, + 1, + 0, + 1, + 0, + 1, + 1, + 0, + 1, + 0, + 0, + 1, + 0, + 1, + 1, + 1, + 0, + 0, + 1, + 1, + 0, + 0, + 0, + 1, + 1, + 1, + 1, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 1, + 0, + 1, + 0, + 1, + 0, + 1, + 0, + 1, + 0, + 1, + 0, + 0, + 1, + 0, + 0, + 0, + 1, + 1, + 1, + 1, + 0, + 1, + 0, + 0, + 1, + 0, + 0, + 1, + 1, + 0, + 0, + 1, + 1, + 0, + 0, + 0, + 1, + 0, + 0, + 0, + 0 + ], + "color": "Vampire", + "personality": "ESFP", + "parents": [ + null, + null + ], + "happiness": 3.2392281679259907, + "known_decisions": [ + { + "name": "nothing", + "count": 1 + } + ] +} \ No newline at end of file diff --git a/virtupet/data/pudgies/0x12bc0.json b/virtupet/data/pudgies/0x12bc0.json new file mode 100644 index 0000000..ac6da39 --- /dev/null +++ b/virtupet/data/pudgies/0x12bc0.json @@ -0,0 +1,153 @@ +{ + "uid": "0x12bc0", + "name": "Savannah", + "dna": [ + 0, + 1, + 0, + 0, + 1, + 1, + 1, + 1, + 0, + 1, + 1, + 1, + 1, + 0, + 1, + 1, + 0, + 1, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 1, + 0, + 0, + 1, + 1, + 1, + 1, + 0, + 1, + 1, + 1, + 1, + 0, + 0, + 1, + 1, + 1, + 1, + 1, + 1, + 1, + 1, + 0, + 1, + 0, + 0, + 0, + 1, + 0, + 0, + 1, + 0, + 0, + 0, + 1, + 1, + 1, + 1, + 1, + 0, + 0, + 0, + 0, + 0, + 1, + 0, + 0, + 0, + 1, + 1, + 0, + 0, + 0, + 0, + 1, + 0, + 1, + 1, + 0, + 0, + 1, + 0, + 1, + 1, + 1, + 1, + 0, + 0, + 0, + 0, + 1, + 1, + 1, + 0, + 0, + 1, + 0, + 1, + 1, + 1, + 0, + 1, + 1, + 1, + 1, + 0, + 1, + 1, + 1, + 1, + 1, + 1, + 0, + 1, + 0, + 1, + 0, + 0, + 1, + 1, + 0, + 1, + 1, + 0, + 0, + 1, + 0, + 0, + 1 + ], + "color": "Red", + "personality": "INTJ", + "parents": [ + null, + null + ], + "happiness": 0.5, + "known_decisions": [ + { + "name": "nothing", + "count": 0 + } + ] +} \ No newline at end of file diff --git a/virtupet/data/pudgies/0x146f9.json b/virtupet/data/pudgies/0x146f9.json new file mode 100644 index 0000000..6d7d6ce --- /dev/null +++ b/virtupet/data/pudgies/0x146f9.json @@ -0,0 +1,153 @@ +{ + "uid": "0x146f9", + "name": "Corbin", + "dna": [ + 1, + 1, + 1, + 0, + 1, + 0, + 0, + 1, + 1, + 0, + 0, + 1, + 0, + 1, + 1, + 1, + 1, + 0, + 1, + 1, + 0, + 1, + 0, + 0, + 0, + 0, + 1, + 1, + 0, + 0, + 1, + 0, + 0, + 1, + 0, + 1, + 0, + 1, + 0, + 0, + 1, + 1, + 1, + 1, + 1, + 0, + 0, + 1, + 1, + 1, + 1, + 1, + 1, + 0, + 0, + 1, + 1, + 1, + 1, + 0, + 1, + 1, + 1, + 0, + 0, + 0, + 1, + 0, + 0, + 0, + 1, + 0, + 0, + 0, + 0, + 0, + 1, + 0, + 1, + 1, + 0, + 1, + 1, + 1, + 0, + 1, + 0, + 0, + 1, + 1, + 1, + 0, + 1, + 0, + 0, + 1, + 0, + 0, + 0, + 1, + 0, + 0, + 0, + 0, + 0, + 1, + 1, + 1, + 1, + 1, + 0, + 1, + 1, + 0, + 1, + 1, + 1, + 0, + 0, + 1, + 1, + 1, + 0, + 0, + 0, + 0, + 1, + 0, + 1, + 1, + 1, + 1, + 1, + 0 + ], + "color": "Blue", + "personality": "INTJ", + "parents": [ + null, + null + ], + "happiness": 3.7435782950469365, + "known_decisions": [ + { + "name": "nothing", + "count": 2 + } + ] +} \ No newline at end of file diff --git a/virtupet/data/pudgies/0x14918.json b/virtupet/data/pudgies/0x14918.json new file mode 100644 index 0000000..2eda6a6 --- /dev/null +++ b/virtupet/data/pudgies/0x14918.json @@ -0,0 +1,153 @@ +{ + "uid": "0x14918", + "name": "Jaylen", + "dna": [ + 1, + 1, + 0, + 1, + 1, + 1, + 1, + 1, + 1, + 0, + 0, + 1, + 1, + 1, + 1, + 0, + 1, + 1, + 0, + 1, + 0, + 0, + 0, + 0, + 1, + 1, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 1, + 1, + 0, + 0, + 1, + 0, + 1, + 0, + 1, + 1, + 1, + 0, + 1, + 1, + 1, + 1, + 0, + 0, + 1, + 1, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 1, + 1, + 0, + 1, + 1, + 1, + 1, + 0, + 0, + 1, + 1, + 0, + 0, + 0, + 0, + 0, + 1, + 0, + 0, + 0, + 1, + 1, + 1, + 1, + 0, + 0, + 0, + 0, + 1, + 1, + 0, + 0, + 0, + 1, + 1, + 0, + 1, + 1, + 0, + 0, + 1, + 1, + 0, + 0, + 1, + 1, + 0, + 1, + 0, + 0, + 0, + 1, + 1, + 1, + 1, + 1, + 0, + 1, + 1, + 1, + 0, + 1, + 0, + 0, + 1, + 0, + 1, + 0, + 0, + 0, + 0, + 0, + 0, + 1 + ], + "color": "Vampire", + "personality": "ESTP", + "parents": [ + null, + null + ], + "happiness": 3.0170367955205712, + "known_decisions": [ + { + "name": "nothing", + "count": 1 + } + ] +} \ No newline at end of file diff --git a/virtupet/data/pudgies/0x14e47.json b/virtupet/data/pudgies/0x14e47.json new file mode 100644 index 0000000..c157404 --- /dev/null +++ b/virtupet/data/pudgies/0x14e47.json @@ -0,0 +1,153 @@ +{ + "uid": "0x14e47", + "name": "Dakota", + "dna": [ + 0, + 1, + 1, + 0, + 1, + 1, + 1, + 1, + 0, + 1, + 0, + 0, + 1, + 0, + 1, + 0, + 1, + 1, + 1, + 0, + 0, + 1, + 0, + 1, + 1, + 1, + 0, + 1, + 1, + 0, + 1, + 1, + 1, + 1, + 0, + 1, + 1, + 0, + 0, + 1, + 1, + 1, + 1, + 0, + 1, + 1, + 0, + 0, + 0, + 1, + 1, + 1, + 1, + 1, + 1, + 0, + 0, + 1, + 0, + 0, + 1, + 0, + 0, + 0, + 0, + 1, + 0, + 0, + 1, + 1, + 0, + 1, + 0, + 0, + 1, + 1, + 1, + 0, + 1, + 1, + 1, + 0, + 0, + 1, + 1, + 0, + 1, + 1, + 0, + 0, + 0, + 1, + 1, + 1, + 1, + 1, + 0, + 0, + 1, + 1, + 0, + 1, + 0, + 1, + 0, + 0, + 0, + 1, + 0, + 1, + 1, + 0, + 1, + 0, + 1, + 1, + 1, + 1, + 0, + 1, + 1, + 1, + 1, + 0, + 0, + 0, + 0, + 1, + 1, + 1, + 1, + 0, + 1, + 1 + ], + "color": "Blue", + "personality": "ENFJ", + "parents": [ + null, + null + ], + "happiness": 0.5, + "known_decisions": [ + { + "name": "nothing", + "count": 0 + } + ] +} \ No newline at end of file diff --git a/virtupet/data/pudgies/0x14f48.json b/virtupet/data/pudgies/0x14f48.json new file mode 100644 index 0000000..1e76d7e --- /dev/null +++ b/virtupet/data/pudgies/0x14f48.json @@ -0,0 +1,177 @@ +{ + "uid": "0x14f48", + "name": "Nehemiah", + "dna": [ + 1, + 1, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 1, + 1, + 1, + 1, + 0, + 1, + 0, + 0, + 0, + 1, + 1, + 1, + 0, + 0, + 1, + 0, + 0, + 0, + 0, + 1, + 0, + 0, + 1, + 1, + 1, + 1, + 0, + 1, + 1, + 1, + 0, + 0, + 1, + 0, + 1, + 1, + 0, + 1, + 0, + 0, + 0, + 1, + 0, + 0, + 0, + 1, + 1, + 1, + 0, + 0, + 1, + 0, + 1, + 1, + 1, + 0, + 0, + 1, + 0, + 0, + 0, + 1, + 0, + 1, + 1, + 0, + 1, + 1, + 1, + 1, + 0, + 1, + 1, + 0, + 0, + 1, + 1, + 1, + 0, + 1, + 1, + 0, + 0, + 1, + 1, + 1, + 1, + 0, + 0, + 1, + 0, + 1, + 0, + 1, + 0, + 1, + 1, + 1, + 0, + 1, + 0, + 1, + 1, + 1, + 1, + 1, + 0, + 1, + 1, + 1, + 1, + 0, + 1, + 1, + 0, + 0, + 0, + 0, + 1, + 0, + 0, + 1, + 1, + 1 + ], + "color": "Angel", + "personality": "ISFJ", + "parents": [ + null, + null + ], + "happiness": 10, + "known_decisions": [ + { + "name": "nothing", + "count": 1 + }, + { + "name": "meditate", + "count": 1 + }, + { + "name": "push_car", + "count": 13 + }, + { + "name": "sleep", + "count": 1 + }, + { + "name": "eat_veggies", + "count": 1 + }, + { + "name": "roll_ball", + "count": 1 + }, + { + "name": "eat_cake", + "count": 1 + } + ] +} \ No newline at end of file diff --git a/virtupet/data/pudgies/0x16fe1.json b/virtupet/data/pudgies/0x16fe1.json new file mode 100644 index 0000000..b299b5c --- /dev/null +++ b/virtupet/data/pudgies/0x16fe1.json @@ -0,0 +1,153 @@ +{ + "uid": "0x16fe1", + "name": "Memphis", + "dna": [ + 1, + 1, + 0, + 1, + 0, + 1, + 1, + 0, + 1, + 0, + 0, + 0, + 0, + 1, + 1, + 0, + 0, + 1, + 1, + 1, + 1, + 1, + 0, + 1, + 0, + 0, + 0, + 1, + 1, + 0, + 0, + 0, + 0, + 1, + 1, + 0, + 0, + 0, + 0, + 0, + 1, + 1, + 1, + 1, + 0, + 0, + 1, + 0, + 1, + 1, + 1, + 1, + 1, + 0, + 1, + 1, + 1, + 0, + 1, + 1, + 1, + 1, + 0, + 1, + 1, + 0, + 1, + 1, + 1, + 1, + 1, + 0, + 0, + 0, + 1, + 1, + 0, + 1, + 0, + 0, + 1, + 0, + 1, + 1, + 0, + 1, + 1, + 1, + 0, + 1, + 0, + 0, + 0, + 1, + 0, + 0, + 1, + 0, + 1, + 1, + 1, + 1, + 0, + 1, + 1, + 1, + 1, + 0, + 1, + 1, + 1, + 1, + 1, + 0, + 0, + 0, + 1, + 1, + 1, + 0, + 0, + 1, + 0, + 0, + 1, + 0, + 1, + 1, + 1, + 0, + 1, + 0, + 1, + 1 + ], + "color": "Blue", + "personality": "ENTJ", + "parents": [ + null, + null + ], + "happiness": 0.5, + "known_decisions": [ + { + "name": "nothing", + "count": 0 + } + ] +} \ No newline at end of file diff --git a/virtupet/data/pudgies/0x18f1.json b/virtupet/data/pudgies/0x18f1.json new file mode 100644 index 0000000..bb8d94c --- /dev/null +++ b/virtupet/data/pudgies/0x18f1.json @@ -0,0 +1,181 @@ +{ + "uid": "0x18f1", + "name": "Camilla", + "dna": [ + 1, + 1, + 1, + 1, + 0, + 0, + 0, + 0, + 1, + 1, + 1, + 0, + 1, + 0, + 0, + 1, + 1, + 0, + 1, + 0, + 0, + 0, + 1, + 1, + 1, + 0, + 0, + 1, + 1, + 0, + 1, + 1, + 0, + 1, + 0, + 0, + 1, + 0, + 1, + 1, + 1, + 0, + 1, + 0, + 1, + 0, + 0, + 1, + 1, + 0, + 1, + 0, + 0, + 1, + 1, + 0, + 0, + 1, + 1, + 0, + 0, + 0, + 0, + 1, + 1, + 0, + 1, + 0, + 0, + 0, + 0, + 1, + 0, + 1, + 0, + 0, + 1, + 1, + 0, + 1, + 0, + 1, + 1, + 0, + 1, + 1, + 0, + 0, + 1, + 0, + 0, + 1, + 1, + 0, + 0, + 1, + 1, + 0, + 0, + 1, + 0, + 0, + 1, + 0, + 0, + 1, + 0, + 1, + 0, + 1, + 0, + 0, + 1, + 0, + 1, + 0, + 1, + 0, + 0, + 1, + 1, + 0, + 0, + 1, + 0, + 1, + 0, + 0, + 0, + 0, + 1, + 1, + 0, + 1 + ], + "color": "Green", + "personality": "ENFP", + "parents": [ + null, + null + ], + "happiness": 10, + "known_decisions": [ + { + "name": "nothing", + "count": 1 + }, + { + "name": "meditate", + "count": 1 + }, + { + "name": "sleep", + "count": 1 + }, + { + "name": "roll_ball", + "count": 7 + }, + { + "name": "reading", + "count": 1 + }, + { + "name": "eat_veggies", + "count": 1 + }, + { + "name": "eat_cake", + "count": 1 + }, + { + "name": "push_car", + "count": 6 + } + ] +} \ No newline at end of file diff --git a/virtupet/data/pudgies/0x1bec.json b/virtupet/data/pudgies/0x1bec.json new file mode 100644 index 0000000..a1d4aca --- /dev/null +++ b/virtupet/data/pudgies/0x1bec.json @@ -0,0 +1,153 @@ +{ + "uid": "0x1bec", + "name": "Jonathan", + "dna": [ + 1, + 1, + 0, + 1, + 0, + 0, + 0, + 0, + 0, + 1, + 0, + 0, + 0, + 0, + 0, + 1, + 0, + 1, + 1, + 0, + 1, + 0, + 1, + 1, + 0, + 0, + 0, + 1, + 0, + 0, + 0, + 1, + 0, + 1, + 0, + 0, + 0, + 1, + 1, + 1, + 1, + 1, + 1, + 0, + 0, + 0, + 0, + 0, + 0, + 1, + 1, + 0, + 1, + 1, + 0, + 0, + 0, + 1, + 1, + 0, + 0, + 0, + 1, + 0, + 0, + 0, + 1, + 0, + 1, + 0, + 1, + 0, + 0, + 0, + 0, + 1, + 0, + 1, + 0, + 1, + 0, + 1, + 0, + 0, + 0, + 1, + 1, + 1, + 1, + 1, + 1, + 0, + 1, + 0, + 0, + 1, + 1, + 1, + 1, + 0, + 0, + 1, + 1, + 1, + 0, + 0, + 1, + 0, + 0, + 1, + 0, + 0, + 1, + 1, + 0, + 1, + 1, + 1, + 0, + 0, + 0, + 0, + 1, + 1, + 0, + 1, + 1, + 0, + 0, + 1, + 0, + 0, + 0, + 1 + ], + "color": "Midnight", + "personality": "ENTJ", + "parents": [ + null, + null + ], + "happiness": 3.916994691111455, + "known_decisions": [ + { + "name": "nothing", + "count": 2 + } + ] +} \ No newline at end of file diff --git a/virtupet/data/pudgies/0x1dc8.json b/virtupet/data/pudgies/0x1dc8.json new file mode 100644 index 0000000..bb1c9b5 --- /dev/null +++ b/virtupet/data/pudgies/0x1dc8.json @@ -0,0 +1,153 @@ +{ + "uid": "0x1dc8", + "name": "Anika", + "dna": [ + 1, + 0, + 0, + 0, + 0, + 0, + 1, + 0, + 1, + 1, + 0, + 1, + 1, + 0, + 0, + 1, + 1, + 0, + 0, + 1, + 1, + 1, + 0, + 1, + 1, + 1, + 0, + 0, + 1, + 0, + 0, + 1, + 0, + 0, + 1, + 0, + 1, + 1, + 0, + 0, + 0, + 1, + 0, + 1, + 1, + 1, + 1, + 0, + 0, + 0, + 1, + 0, + 0, + 1, + 0, + 1, + 1, + 1, + 1, + 0, + 1, + 0, + 1, + 1, + 1, + 0, + 0, + 1, + 1, + 0, + 0, + 1, + 1, + 0, + 0, + 1, + 1, + 0, + 1, + 1, + 0, + 1, + 1, + 1, + 0, + 1, + 1, + 0, + 0, + 0, + 1, + 0, + 0, + 0, + 1, + 0, + 1, + 0, + 1, + 1, + 0, + 1, + 1, + 1, + 1, + 1, + 0, + 1, + 0, + 1, + 0, + 0, + 0, + 0, + 1, + 0, + 0, + 0, + 1, + 1, + 1, + 1, + 0, + 0, + 1, + 1, + 0, + 1, + 0, + 1, + 1, + 0, + 0, + 1 + ], + "color": "Midnight", + "personality": "ENFJ", + "parents": [ + null, + null + ], + "happiness": 0.5, + "known_decisions": [ + { + "name": "nothing", + "count": 0 + } + ] +} \ No newline at end of file diff --git a/virtupet/data/pudgies/0x1e15.json b/virtupet/data/pudgies/0x1e15.json new file mode 100644 index 0000000..04309f7 --- /dev/null +++ b/virtupet/data/pudgies/0x1e15.json @@ -0,0 +1,153 @@ +{ + "uid": "0x1e15", + "name": "Finn", + "dna": [ + 1, + 1, + 0, + 0, + 1, + 0, + 1, + 1, + 1, + 0, + 0, + 1, + 1, + 0, + 0, + 0, + 0, + 1, + 0, + 0, + 0, + 0, + 1, + 1, + 1, + 1, + 0, + 1, + 1, + 0, + 1, + 1, + 0, + 1, + 0, + 1, + 0, + 0, + 0, + 1, + 0, + 0, + 1, + 1, + 1, + 1, + 1, + 0, + 0, + 1, + 0, + 1, + 1, + 0, + 1, + 0, + 0, + 1, + 1, + 0, + 0, + 1, + 1, + 1, + 1, + 0, + 1, + 1, + 1, + 1, + 1, + 1, + 1, + 1, + 0, + 0, + 0, + 0, + 1, + 0, + 0, + 1, + 1, + 0, + 1, + 1, + 1, + 0, + 0, + 0, + 0, + 1, + 1, + 1, + 0, + 0, + 0, + 1, + 0, + 1, + 0, + 0, + 1, + 0, + 0, + 1, + 1, + 0, + 0, + 1, + 0, + 0, + 1, + 1, + 1, + 0, + 1, + 0, + 0, + 1, + 1, + 1, + 1, + 1, + 0, + 0, + 1, + 1, + 0, + 1, + 0, + 1, + 1, + 1 + ], + "color": "Green", + "personality": "ENTJ", + "parents": [ + null, + null + ], + "happiness": 0.5, + "known_decisions": [ + { + "name": "nothing", + "count": 0 + } + ] +} \ No newline at end of file diff --git a/virtupet/data/pudgies/0x2506.json b/virtupet/data/pudgies/0x2506.json new file mode 100644 index 0000000..e7216d8 --- /dev/null +++ b/virtupet/data/pudgies/0x2506.json @@ -0,0 +1,157 @@ +{ + "uid": "0x2506", + "name": "Ariana", + "dna": [ + 0, + 1, + 0, + 0, + 0, + 1, + 1, + 0, + 1, + 0, + 1, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 1, + 1, + 1, + 0, + 1, + 1, + 1, + 0, + 1, + 1, + 0, + 1, + 1, + 0, + 1, + 1, + 0, + 1, + 1, + 0, + 0, + 1, + 1, + 1, + 0, + 0, + 1, + 1, + 1, + 1, + 0, + 1, + 1, + 0, + 0, + 0, + 1, + 1, + 0, + 0, + 1, + 0, + 1, + 1, + 0, + 1, + 0, + 0, + 0, + 1, + 1, + 0, + 0, + 1, + 0, + 1, + 0, + 1, + 1, + 1, + 0, + 0, + 0, + 1, + 0, + 1, + 0, + 0, + 1, + 1, + 1, + 1, + 0, + 0, + 1, + 0, + 1, + 0, + 0, + 0, + 1, + 1, + 1, + 0, + 0, + 0, + 1, + 1, + 0, + 1, + 0, + 0, + 0, + 0, + 1, + 1, + 1, + 0, + 0, + 1, + 1, + 1, + 0, + 1, + 1, + 1, + 0, + 0, + 1, + 0, + 1, + 1, + 0, + 1, + 0, + 1 + ], + "color": "Blue", + "personality": "INFJ", + "parents": [ + null, + null + ], + "happiness": 5.1044258433384, + "known_decisions": [ + { + "name": "nothing", + "count": 1 + }, + { + "name": "sleep", + "count": 1 + } + ] +} \ No newline at end of file diff --git a/virtupet/data/pudgies/0x30.json b/virtupet/data/pudgies/0x30.json new file mode 100644 index 0000000..553fc8a --- /dev/null +++ b/virtupet/data/pudgies/0x30.json @@ -0,0 +1,157 @@ +{ + "uid": "0x30", + "name": "Danika", + "dna": [ + 0, + 0, + 1, + 1, + 0, + 1, + 0, + 1, + 0, + 1, + 1, + 0, + 0, + 0, + 1, + 0, + 1, + 1, + 0, + 1, + 0, + 0, + 1, + 0, + 0, + 0, + 1, + 0, + 1, + 0, + 1, + 1, + 0, + 0, + 1, + 0, + 0, + 1, + 1, + 0, + 1, + 0, + 1, + 1, + 0, + 0, + 0, + 1, + 0, + 1, + 1, + 1, + 0, + 1, + 0, + 0, + 1, + 0, + 1, + 1, + 0, + 0, + 0, + 0, + 0, + 1, + 1, + 0, + 1, + 1, + 0, + 1, + 1, + 1, + 0, + 1, + 0, + 1, + 1, + 1, + 0, + 1, + 1, + 0, + 1, + 0, + 0, + 1, + 1, + 1, + 0, + 0, + 1, + 0, + 1, + 1, + 1, + 1, + 1, + 0, + 1, + 0, + 1, + 1, + 1, + 1, + 0, + 0, + 0, + 0, + 0, + 1, + 1, + 1, + 1, + 1, + 0, + 1, + 0, + 0, + 0, + 1, + 0, + 1, + 1, + 0, + 1, + 1, + 0, + 0, + 1, + 0, + 1, + 1 + ], + "color": "Blue", + "personality": "ENTP", + "parents": [ + null, + null + ], + "happiness": 3.8286040709700058, + "known_decisions": [ + { + "name": "nothing", + "count": 0 + }, + { + "name": "meditate", + "count": 1 + } + ] +} \ No newline at end of file diff --git a/virtupet/data/pudgies/0x340c.json b/virtupet/data/pudgies/0x340c.json new file mode 100644 index 0000000..36b54db --- /dev/null +++ b/virtupet/data/pudgies/0x340c.json @@ -0,0 +1,173 @@ +{ + "uid": "0x340c", + "name": "Dustin", + "dna": [ + 1, + 0, + 0, + 1, + 0, + 1, + 1, + 1, + 1, + 1, + 1, + 1, + 0, + 0, + 1, + 0, + 0, + 0, + 1, + 1, + 1, + 0, + 0, + 0, + 0, + 1, + 1, + 0, + 1, + 1, + 1, + 0, + 0, + 1, + 0, + 0, + 1, + 1, + 1, + 1, + 1, + 0, + 0, + 1, + 1, + 0, + 1, + 1, + 0, + 1, + 1, + 0, + 0, + 1, + 1, + 0, + 0, + 1, + 0, + 1, + 1, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 1, + 1, + 1, + 0, + 0, + 0, + 0, + 1, + 0, + 0, + 1, + 0, + 0, + 0, + 0, + 1, + 1, + 0, + 0, + 0, + 1, + 1, + 1, + 0, + 0, + 1, + 0, + 0, + 0, + 1, + 0, + 1, + 1, + 0, + 0, + 0, + 0, + 1, + 1, + 0, + 1, + 1, + 1, + 0, + 0, + 0, + 1, + 1, + 1, + 1, + 1, + 1, + 1, + 1, + 1, + 0, + 0, + 1, + 1, + 1, + 1, + 0, + 1, + 0, + 1 + ], + "color": "Angel", + "personality": "ESTJ", + "parents": [ + null, + null + ], + "happiness": 10, + "known_decisions": [ + { + "name": "nothing", + "count": 0 + }, + { + "name": "roll_ball", + "count": 16 + }, + { + "name": "eat_cake", + "count": 1 + }, + { + "name": "sleep", + "count": 1 + }, + { + "name": "eat_veggies", + "count": 1 + }, + { + "name": "meditate", + "count": 1 + } + ] +} \ No newline at end of file diff --git a/virtupet/data/pudgies/0x3526.json b/virtupet/data/pudgies/0x3526.json new file mode 100644 index 0000000..a9b49ac --- /dev/null +++ b/virtupet/data/pudgies/0x3526.json @@ -0,0 +1,173 @@ +{ + "uid": "0x3526", + "name": "Zara", + "dna": [ + 1, + 1, + 0, + 0, + 0, + 0, + 0, + 1, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 1, + 1, + 0, + 0, + 0, + 1, + 1, + 0, + 1, + 0, + 1, + 1, + 0, + 1, + 1, + 1, + 1, + 1, + 0, + 1, + 0, + 0, + 1, + 1, + 0, + 0, + 1, + 1, + 1, + 1, + 0, + 1, + 0, + 0, + 0, + 0, + 1, + 1, + 1, + 1, + 0, + 0, + 1, + 0, + 1, + 0, + 1, + 1, + 1, + 1, + 1, + 0, + 1, + 1, + 0, + 1, + 0, + 1, + 0, + 0, + 0, + 1, + 1, + 0, + 0, + 0, + 1, + 0, + 1, + 1, + 1, + 1, + 1, + 1, + 1, + 0, + 1, + 0, + 0, + 0, + 1, + 0, + 0, + 0, + 0, + 1, + 0, + 1, + 0, + 0, + 0, + 0, + 1, + 1, + 0, + 0, + 1, + 0, + 0, + 0, + 1, + 0, + 0, + 0, + 0, + 1, + 0, + 1, + 0, + 0, + 1, + 1, + 1, + 0, + 0, + 0, + 0, + 1 + ], + "color": "White", + "personality": "ISFJ", + "parents": [ + null, + null + ], + "happiness": 10, + "known_decisions": [ + { + "name": "nothing", + "count": 4 + }, + { + "name": "eat_cake", + "count": 2 + }, + { + "name": "roll_ball", + "count": 2 + }, + { + "name": "push_car", + "count": 11 + }, + { + "name": "eat_veggies", + "count": 1 + }, + { + "name": "sleep", + "count": 1 + } + ] +} \ No newline at end of file diff --git a/virtupet/data/pudgies/0x46a7.json b/virtupet/data/pudgies/0x46a7.json new file mode 100644 index 0000000..eefe584 --- /dev/null +++ b/virtupet/data/pudgies/0x46a7.json @@ -0,0 +1,157 @@ +{ + "uid": "0x46a7", + "name": "Kamden", + "dna": [ + 1, + 1, + 0, + 0, + 0, + 1, + 0, + 0, + 1, + 0, + 0, + 0, + 0, + 0, + 1, + 1, + 0, + 1, + 1, + 1, + 1, + 0, + 0, + 1, + 0, + 0, + 1, + 1, + 1, + 0, + 0, + 1, + 1, + 0, + 0, + 1, + 0, + 0, + 0, + 1, + 0, + 0, + 0, + 1, + 1, + 1, + 1, + 1, + 1, + 1, + 1, + 0, + 1, + 1, + 0, + 0, + 1, + 0, + 0, + 1, + 0, + 1, + 1, + 1, + 0, + 1, + 1, + 1, + 1, + 1, + 0, + 0, + 1, + 0, + 0, + 0, + 1, + 1, + 1, + 0, + 1, + 1, + 0, + 1, + 0, + 1, + 0, + 1, + 1, + 1, + 1, + 1, + 0, + 1, + 0, + 1, + 1, + 0, + 0, + 0, + 0, + 1, + 1, + 0, + 0, + 0, + 1, + 1, + 1, + 1, + 0, + 1, + 0, + 1, + 1, + 1, + 1, + 1, + 0, + 0, + 0, + 1, + 1, + 1, + 1, + 1, + 0, + 0, + 0, + 0, + 1, + 1, + 1, + 0 + ], + "color": "White", + "personality": "ENFJ", + "parents": [ + null, + null + ], + "happiness": 3.242076363414334, + "known_decisions": [ + { + "name": "nothing", + "count": 0 + }, + { + "name": "meditate", + "count": 1 + } + ] +} \ No newline at end of file diff --git a/virtupet/data/pudgies/0x551.json b/virtupet/data/pudgies/0x551.json new file mode 100644 index 0000000..a74c053 --- /dev/null +++ b/virtupet/data/pudgies/0x551.json @@ -0,0 +1,153 @@ +{ + "uid": "0x551", + "name": "Micah", + "dna": [ + 1, + 1, + 1, + 0, + 0, + 1, + 1, + 1, + 1, + 1, + 1, + 0, + 0, + 0, + 0, + 0, + 0, + 1, + 0, + 1, + 1, + 0, + 0, + 0, + 1, + 0, + 0, + 1, + 0, + 1, + 0, + 0, + 0, + 1, + 1, + 0, + 1, + 0, + 0, + 0, + 1, + 1, + 1, + 1, + 0, + 0, + 1, + 1, + 1, + 1, + 1, + 0, + 0, + 1, + 0, + 1, + 0, + 0, + 1, + 0, + 1, + 0, + 0, + 0, + 1, + 0, + 1, + 1, + 0, + 1, + 1, + 1, + 1, + 1, + 1, + 1, + 1, + 0, + 1, + 0, + 0, + 0, + 1, + 0, + 0, + 0, + 0, + 0, + 1, + 0, + 1, + 1, + 0, + 0, + 0, + 0, + 1, + 1, + 1, + 1, + 0, + 1, + 0, + 1, + 0, + 1, + 0, + 0, + 1, + 0, + 1, + 1, + 1, + 1, + 1, + 0, + 0, + 1, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 1, + 0, + 0, + 0, + 0, + 0, + 0, + 1, + 0 + ], + "color": "Vampire", + "personality": "ISTJ", + "parents": [ + null, + null + ], + "happiness": 0.5, + "known_decisions": [ + { + "name": "nothing", + "count": 0 + } + ] +} \ No newline at end of file diff --git a/virtupet/data/pudgies/0x61cb.json b/virtupet/data/pudgies/0x61cb.json new file mode 100644 index 0000000..61348ed --- /dev/null +++ b/virtupet/data/pudgies/0x61cb.json @@ -0,0 +1,173 @@ +{ + "uid": "0x61cb", + "name": "Justice", + "dna": [ + 0, + 0, + 0, + 0, + 0, + 0, + 1, + 1, + 1, + 0, + 1, + 0, + 1, + 0, + 1, + 1, + 1, + 0, + 1, + 1, + 0, + 0, + 1, + 0, + 0, + 0, + 1, + 1, + 1, + 0, + 0, + 1, + 1, + 0, + 0, + 0, + 1, + 1, + 0, + 0, + 1, + 1, + 0, + 1, + 0, + 0, + 0, + 0, + 0, + 1, + 1, + 0, + 1, + 0, + 0, + 1, + 1, + 1, + 1, + 1, + 1, + 0, + 0, + 0, + 0, + 1, + 0, + 1, + 0, + 1, + 0, + 1, + 0, + 0, + 0, + 1, + 0, + 0, + 0, + 0, + 0, + 1, + 1, + 0, + 1, + 0, + 0, + 0, + 0, + 1, + 1, + 1, + 0, + 1, + 1, + 0, + 0, + 1, + 1, + 1, + 0, + 1, + 1, + 0, + 1, + 1, + 1, + 0, + 1, + 1, + 1, + 1, + 0, + 0, + 0, + 1, + 0, + 0, + 0, + 1, + 0, + 1, + 0, + 0, + 1, + 0, + 0, + 0, + 1, + 1, + 0, + 1, + 0, + 0 + ], + "color": "Red", + "personality": "ISTJ", + "parents": [ + null, + null + ], + "happiness": 10, + "known_decisions": [ + { + "name": "nothing", + "count": 0 + }, + { + "name": "eat_cake", + "count": 2 + }, + { + "name": "push_car", + "count": 16 + }, + { + "name": "sleep", + "count": 1 + }, + { + "name": "reading", + "count": 1 + }, + { + "name": "meditate", + "count": 1 + } + ] +} \ No newline at end of file diff --git a/virtupet/data/pudgies/0x6ef3.json b/virtupet/data/pudgies/0x6ef3.json new file mode 100644 index 0000000..ce538d6 --- /dev/null +++ b/virtupet/data/pudgies/0x6ef3.json @@ -0,0 +1,153 @@ +{ + "uid": "0x6ef3", + "name": "Ariana", + "dna": [ + 1, + 1, + 0, + 1, + 1, + 1, + 1, + 0, + 1, + 0, + 1, + 0, + 1, + 1, + 1, + 1, + 0, + 0, + 0, + 0, + 0, + 1, + 1, + 0, + 0, + 0, + 1, + 1, + 1, + 0, + 1, + 0, + 1, + 0, + 0, + 0, + 1, + 1, + 0, + 1, + 1, + 1, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 1, + 0, + 1, + 0, + 1, + 1, + 1, + 1, + 0, + 1, + 1, + 0, + 1, + 1, + 1, + 0, + 1, + 0, + 1, + 0, + 1, + 1, + 1, + 0, + 1, + 1, + 1, + 0, + 1, + 1, + 1, + 0, + 0, + 0, + 1, + 0, + 0, + 1, + 1, + 0, + 1, + 1, + 1, + 1, + 0, + 0, + 1, + 0, + 0, + 0, + 1, + 1, + 0, + 0, + 0, + 1, + 1, + 0, + 1, + 0, + 0, + 0, + 1, + 0, + 0, + 1, + 1, + 0, + 0, + 0, + 1, + 0, + 1, + 1, + 1, + 1, + 1, + 1, + 1, + 0 + ], + "color": "Angel", + "personality": "INTP", + "parents": [ + null, + null + ], + "happiness": 0.5, + "known_decisions": [ + { + "name": "nothing", + "count": 0 + } + ] +} \ No newline at end of file diff --git a/virtupet/data/pudgies/0x88c3.json b/virtupet/data/pudgies/0x88c3.json new file mode 100644 index 0000000..19d1f1c --- /dev/null +++ b/virtupet/data/pudgies/0x88c3.json @@ -0,0 +1,153 @@ +{ + "uid": "0x88c3", + "name": "Rayne", + "dna": [ + 0, + 1, + 1, + 1, + 0, + 1, + 0, + 0, + 1, + 1, + 1, + 0, + 1, + 1, + 0, + 0, + 0, + 0, + 0, + 1, + 1, + 1, + 1, + 0, + 0, + 0, + 0, + 1, + 0, + 0, + 0, + 1, + 0, + 1, + 1, + 0, + 1, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 1, + 0, + 1, + 1, + 1, + 0, + 1, + 0, + 0, + 1, + 0, + 0, + 1, + 0, + 1, + 0, + 0, + 1, + 0, + 1, + 1, + 0, + 0, + 0, + 1, + 0, + 0, + 1, + 0, + 0, + 1, + 1, + 0, + 0, + 1, + 0, + 1, + 0, + 0, + 1, + 1, + 1, + 1, + 1, + 0, + 0, + 0, + 0, + 0, + 1, + 1, + 0, + 0, + 0, + 1, + 0, + 1, + 1, + 1, + 0, + 0, + 1, + 0, + 1, + 0, + 1, + 1, + 1, + 1, + 0, + 1, + 0, + 1, + 1, + 0, + 1, + 1, + 0, + 0, + 0, + 1, + 1, + 1, + 1, + 1, + 0, + 1, + 0 + ], + "color": "Purple", + "personality": "ENTJ", + "parents": [ + null, + null + ], + "happiness": 0.5, + "known_decisions": [ + { + "name": "nothing", + "count": 0 + } + ] +} \ No newline at end of file diff --git a/virtupet/data/pudgies/0xc51f.json b/virtupet/data/pudgies/0xc51f.json new file mode 100644 index 0000000..69dec8d --- /dev/null +++ b/virtupet/data/pudgies/0xc51f.json @@ -0,0 +1,177 @@ +{ + "uid": "0xc51f", + "name": "Channing", + "dna": [ + 0, + 1, + 1, + 1, + 1, + 1, + 1, + 0, + 0, + 1, + 1, + 1, + 0, + 0, + 0, + 1, + 0, + 0, + 1, + 0, + 0, + 0, + 1, + 0, + 1, + 0, + 1, + 0, + 0, + 1, + 1, + 0, + 0, + 0, + 1, + 1, + 1, + 1, + 1, + 0, + 0, + 0, + 0, + 1, + 1, + 1, + 1, + 1, + 0, + 1, + 1, + 0, + 0, + 1, + 1, + 1, + 1, + 1, + 1, + 1, + 1, + 1, + 0, + 0, + 0, + 0, + 0, + 1, + 0, + 0, + 1, + 1, + 0, + 0, + 1, + 1, + 1, + 1, + 1, + 1, + 1, + 0, + 0, + 1, + 1, + 1, + 0, + 0, + 0, + 1, + 1, + 0, + 1, + 1, + 1, + 1, + 0, + 0, + 1, + 0, + 0, + 0, + 0, + 1, + 0, + 1, + 1, + 0, + 1, + 1, + 0, + 0, + 0, + 0, + 1, + 1, + 0, + 0, + 0, + 0, + 0, + 0, + 1, + 0, + 0, + 0, + 0, + 0, + 1, + 1, + 1, + 0, + 1, + 0 + ], + "color": "Purple", + "personality": "INTP", + "parents": [ + null, + null + ], + "happiness": 10, + "known_decisions": [ + { + "name": "nothing", + "count": 1 + }, + { + "name": "reading", + "count": 1 + }, + { + "name": "sleep", + "count": 1 + }, + { + "name": "eat_cake", + "count": 9 + }, + { + "name": "meditate", + "count": 1 + }, + { + "name": "eat_veggies", + "count": 1 + }, + { + "name": "roll_ball", + "count": 5 + } + ] +} \ No newline at end of file diff --git a/virtupet/data/pudgies/0xc6e.json b/virtupet/data/pudgies/0xc6e.json new file mode 100644 index 0000000..6787dc9 --- /dev/null +++ b/virtupet/data/pudgies/0xc6e.json @@ -0,0 +1,153 @@ +{ + "uid": "0xc6e", + "name": "Nelson", + "dna": [ + 1, + 0, + 0, + 0, + 1, + 1, + 0, + 1, + 0, + 0, + 0, + 1, + 0, + 0, + 0, + 0, + 0, + 1, + 0, + 1, + 1, + 0, + 0, + 0, + 0, + 1, + 0, + 0, + 1, + 0, + 1, + 1, + 0, + 1, + 0, + 0, + 0, + 0, + 1, + 0, + 1, + 0, + 1, + 1, + 0, + 0, + 0, + 0, + 0, + 1, + 0, + 0, + 0, + 1, + 0, + 1, + 0, + 1, + 0, + 0, + 0, + 0, + 1, + 1, + 1, + 0, + 1, + 1, + 1, + 0, + 0, + 0, + 1, + 0, + 0, + 0, + 1, + 1, + 1, + 0, + 0, + 0, + 1, + 0, + 0, + 0, + 1, + 1, + 0, + 1, + 1, + 1, + 0, + 1, + 0, + 1, + 0, + 0, + 1, + 1, + 1, + 0, + 1, + 1, + 0, + 1, + 1, + 1, + 1, + 1, + 0, + 0, + 0, + 1, + 1, + 0, + 0, + 1, + 1, + 1, + 1, + 1, + 0, + 0, + 1, + 0, + 0, + 1, + 1, + 0, + 1, + 1, + 1, + 1 + ], + "color": "Angel", + "personality": "ISFJ", + "parents": [ + null, + null + ], + "happiness": 0.5, + "known_decisions": [ + { + "name": "nothing", + "count": 0 + } + ] +} \ No newline at end of file diff --git a/virtupet/data/pudgies/0xd403.json b/virtupet/data/pudgies/0xd403.json new file mode 100644 index 0000000..112303c --- /dev/null +++ b/virtupet/data/pudgies/0xd403.json @@ -0,0 +1,153 @@ +{ + "uid": "0xd403", + "name": "Landen", + "dna": [ + 1, + 0, + 0, + 1, + 0, + 1, + 1, + 1, + 0, + 1, + 0, + 1, + 1, + 1, + 0, + 0, + 1, + 0, + 1, + 0, + 0, + 1, + 1, + 0, + 0, + 1, + 1, + 1, + 1, + 0, + 0, + 1, + 0, + 0, + 0, + 0, + 0, + 0, + 1, + 0, + 1, + 0, + 1, + 1, + 0, + 1, + 0, + 1, + 1, + 0, + 0, + 1, + 0, + 0, + 1, + 1, + 0, + 1, + 0, + 0, + 0, + 0, + 1, + 1, + 1, + 0, + 1, + 1, + 0, + 1, + 0, + 0, + 0, + 1, + 1, + 0, + 0, + 1, + 1, + 1, + 1, + 0, + 0, + 0, + 1, + 1, + 0, + 0, + 1, + 0, + 0, + 1, + 1, + 0, + 1, + 1, + 1, + 1, + 0, + 0, + 1, + 0, + 0, + 0, + 1, + 1, + 0, + 0, + 1, + 0, + 0, + 0, + 1, + 0, + 1, + 0, + 0, + 0, + 1, + 1, + 0, + 0, + 0, + 1, + 1, + 0, + 1, + 0, + 1, + 0, + 1, + 0, + 1, + 0 + ], + "color": "Purple", + "personality": "ENFJ", + "parents": [ + null, + null + ], + "happiness": 3.5538269738558705, + "known_decisions": [ + { + "name": "nothing", + "count": 1 + } + ] +} \ No newline at end of file diff --git a/virtupet/data/pudgies/0xd687.json b/virtupet/data/pudgies/0xd687.json new file mode 100644 index 0000000..e3b7abf --- /dev/null +++ b/virtupet/data/pudgies/0xd687.json @@ -0,0 +1,157 @@ +{ + "uid": "0xd687", + "name": "Wendy", + "dna": [ + 0, + 0, + 1, + 1, + 0, + 1, + 0, + 1, + 0, + 1, + 0, + 1, + 0, + 0, + 1, + 0, + 1, + 0, + 0, + 0, + 0, + 1, + 1, + 1, + 1, + 0, + 0, + 0, + 0, + 0, + 1, + 1, + 1, + 1, + 1, + 0, + 0, + 1, + 0, + 0, + 1, + 0, + 0, + 0, + 1, + 0, + 1, + 1, + 1, + 1, + 1, + 0, + 1, + 0, + 0, + 0, + 1, + 1, + 1, + 1, + 0, + 0, + 1, + 1, + 0, + 1, + 0, + 1, + 0, + 0, + 0, + 1, + 1, + 0, + 0, + 1, + 0, + 0, + 0, + 1, + 1, + 0, + 0, + 0, + 0, + 1, + 0, + 1, + 0, + 1, + 1, + 0, + 0, + 0, + 0, + 0, + 0, + 1, + 0, + 1, + 1, + 0, + 0, + 0, + 1, + 1, + 0, + 0, + 0, + 0, + 1, + 0, + 1, + 1, + 1, + 0, + 0, + 1, + 0, + 1, + 0, + 0, + 1, + 1, + 0, + 0, + 1, + 1, + 0, + 1, + 1, + 1, + 0, + 1 + ], + "color": "Green", + "personality": "ISTJ", + "parents": [ + null, + null + ], + "happiness": 3.7676232362400612, + "known_decisions": [ + { + "name": "nothing", + "count": 0 + }, + { + "name": "push_car", + "count": 1 + } + ] +} \ No newline at end of file diff --git a/virtupet/data/pudgies/0xfa7f.json b/virtupet/data/pudgies/0xfa7f.json new file mode 100644 index 0000000..e2f1c3a --- /dev/null +++ b/virtupet/data/pudgies/0xfa7f.json @@ -0,0 +1,153 @@ +{ + "uid": "0xfa7f", + "name": "Clara", + "dna": [ + 1, + 0, + 0, + 0, + 1, + 1, + 1, + 1, + 0, + 1, + 0, + 0, + 1, + 0, + 1, + 1, + 0, + 1, + 1, + 0, + 0, + 0, + 0, + 0, + 1, + 1, + 0, + 1, + 1, + 0, + 0, + 1, + 1, + 1, + 0, + 0, + 0, + 0, + 1, + 1, + 1, + 1, + 1, + 1, + 0, + 0, + 1, + 1, + 0, + 1, + 1, + 0, + 0, + 0, + 1, + 1, + 0, + 1, + 1, + 1, + 0, + 1, + 1, + 1, + 1, + 0, + 0, + 0, + 1, + 0, + 1, + 0, + 0, + 1, + 0, + 0, + 1, + 1, + 0, + 1, + 1, + 1, + 1, + 0, + 1, + 0, + 0, + 1, + 1, + 1, + 0, + 1, + 0, + 0, + 0, + 1, + 1, + 1, + 0, + 0, + 1, + 1, + 0, + 0, + 1, + 0, + 0, + 0, + 1, + 0, + 0, + 0, + 1, + 0, + 1, + 1, + 0, + 0, + 1, + 1, + 0, + 1, + 0, + 1, + 0, + 0, + 0, + 1, + 0, + 1, + 0, + 1, + 1, + 0 + ], + "color": "White", + "personality": "ESTJ", + "parents": [ + null, + null + ], + "happiness": 0.5, + "known_decisions": [ + { + "name": "nothing", + "count": 0 + } + ] +} \ No newline at end of file diff --git a/virtupet/main.py b/virtupet/main.py index 9f98c04..9fb56bf 100644 --- a/virtupet/main.py +++ b/virtupet/main.py @@ -62,7 +62,7 @@ def main(): done = False - clock = pygame.time.Clock() + game_clock = pygame.time.Clock() # ----------- JSON objects ------------ # handler.load_file("./data/metadata.json") @@ -72,8 +72,7 @@ def main(): # for char in number: # node = node[char] - agent.make_decision() - + frames_run = 0 # --------------Main While loop--------------- while not done: @@ -117,11 +116,23 @@ def main(): screen.blit(clockSurface, clockRect) - clock.tick(30) + game_clock.tick(30) + + if int(time_clock.get_minutes()) % 15 == 0 and frames_run == 0: + for pudgi in active_agent_list: + pudgi.make_decision() + pygame.display.flip() - # agent.export_to_json() + frames_run += 1 + + if frames_run > 30: + frames_run = 0 + + for pudgi in active_agent_list: + pudgi.export_to_json() + pygame.quit()