Commit Graph

516 Commits

Author SHA1 Message Date
Mateusz
f7c5deafda Finishing raport 2020-06-01 01:20:16 +02:00
Mateusz
9dc60c7062 Describe changes, and raport progress 2020-05-31 19:54:27 +02:00
Mateusz
2fdbf014aa my traveling raport init 2020-05-30 20:31:10 +02:00
Mateusz
1b71fe886b check entities list instead of entitiesRawData list 2020-05-30 20:30:46 +02:00
Mateusz
f6fa3b461b some refactor 2020-05-30 20:30:25 +02:00
Mateusz
c8557f3de6 good console messages 2020-05-30 20:30:09 +02:00
Mateusz
5c8a48e30d print message to console when agent take the herb works 2020-05-29 00:47:11 +02:00
Mateusz
14850cd230 random first population - herbs random spawn works 2020-05-28 23:57:27 +02:00
Mateusz
cf0a4be82f algorithm and movement work 2020-05-27 00:57:53 +02:00
Mateusz
80c72f1ba0 method that return travel as correct list work 2020-05-27 00:23:56 +02:00
Mateusz
b63be724f5 run by ga_travel parametr in game work 2020-05-26 23:50:31 +02:00
Mateusz
80b7e32f47 generate list of traveling by GA 2020-05-26 23:44:56 +02:00
Mateusz
d363120ef4 GA skelethon 2020-05-26 21:33:36 +02:00
Mateusz
87a341744c spawn 10 transparent herbs 2020-05-26 13:23:13 +02:00
Mateusz
1eb62c3382 when player pickup all herbs, his statistics reset 2020-05-26 12:31:55 +02:00
Michał Czekański
51d50f7cd6 Use added images in DT report 2020-05-25 15:28:05 +02:00
Michał Czekański
068eb3dfed Add images to DT report 2020-05-25 15:20:31 +02:00
Michał Czekański
7906524047 Fix displaying code on github 2020-05-25 15:06:53 +02:00
Michał Czekański
d9d67388e5 DT Report alpha version 2020-05-25 04:28:12 +02:00
Michał Czekański
3229d9405a Add decision tree dsc in report 2020-05-25 03:04:38 +02:00
Michał Czekański
f57bc6463b Add missing file with DT testing function 2020-05-25 02:46:23 +02:00
Michał Czekański
b17221c7c2 Add specifying training set size when testing DT 2020-05-25 02:45:13 +02:00
Michał Czekański
a256fc1cfe Fix too many newlines at end of dt examples file 2020-05-25 02:21:59 +02:00
Michał Czekański
63b1d36c36 Add function testing decision tree and game mode to use it 2020-05-25 02:21:18 +02:00
Michał Czekański
c1b12883f8 Fix calculating distance between two dt interactables 2020-05-25 01:41:23 +02:00
Michał Czekański
f0c77a154b Add more dt examples 2020-05-25 01:24:47 +02:00
Michał Czekański
04e3b29c21 If there are is no food left, then make decision tree return water. 2020-05-25 01:24:17 +02:00
Michał Czekański
29ba3d23c0 Add more dt examples. 2020-05-25 00:45:13 +02:00
Michał Czekański
d383fdefc4 Add printing score after dt run end. 2020-05-25 00:44:58 +02:00
Michał Czekański
939c3f9072 Add entity picking being adjustable for pure dt run and ga with dt run
In pure dt mode player can choose the same object like water any times in a row.
In dt with ga mode player can't choose same object two times in a row.
2020-05-24 23:40:13 +02:00
Michał Czekański
1e4b44558c Add more dt examples 2020-05-24 23:25:17 +02:00
Michał Czekański
994c509831 Fix calculating dst from player in dt objects 2020-05-24 22:58:41 +02:00
Michał Czekański
326551ad1c Add dt attribute - distance between water and food and some examples 2020-05-24 22:56:00 +02:00
Michał Czekański
e7cd571d95 Add method returning dt distance between two dt interactables 2020-05-24 22:32:42 +02:00
Michał Czekański
da119fca37 Add new field for accurate dst from player in dt interactable class
This will be used to sort foods more precisely when looking for nearest food, water, etc.
2020-05-24 22:21:10 +02:00
Michał Czekański
9825cd9b7d Add more dt examples 2020-05-24 19:44:29 +02:00
Michał Czekański
597a709224 Fix running game in pure dt mode 2020-05-24 19:29:29 +02:00
Michał Czekański
34eb74d980 Add game mode for generating dt examples and delete unnecessary class
This class was storing dt examples. Now they are generated to file and read from it to be used.
2020-05-24 19:19:56 +02:00
Michał Czekański
3f2e5550c7 Make prints done by method gen dt exmpls readable 2020-05-24 19:10:45 +02:00
Michał Czekański
6969a81616 Add method generating dt examples 2020-05-24 18:48:53 +02:00
Michał Czekański
f025df0381 Fix method writing dt examples to file
Method wasn't removing trailing new line chars.
2020-05-24 18:48:30 +02:00
Michał Czekański
f73ae6290f Change resolution to smaller in mainConfig.json
It won't fit on my screen without window adjusting.
2020-05-24 18:39:36 +02:00
Michał Czekański
df70b321ae Adjust project after new enum value addition 2020-05-24 18:38:55 +02:00
Michał Czekański
48560fb3a1 Add >= 15 value in dist from object enum 2020-05-24 18:37:46 +02:00
Michał Czekański
873bfd0d8e Add method returning description of dt survival example 2020-05-24 18:26:10 +02:00
Michał Czekański
98f692a6d8 Add method comparing survival dt examples attributes
This will be used to check for duplicates when generating decision tree's examples.
2020-05-24 17:48:11 +02:00
Michał Czekański
ed58517b82 Fix method reading from and adding examples to file 2020-05-24 17:12:35 +02:00
Michał Czekański
8e9d0c1267 Add method appending examples to file 2020-05-24 17:07:34 +02:00
Michał Czekański
9dc74bc599 Add file with for dt examples and manager capable of reading them 2020-05-24 17:02:35 +02:00
Michał Czekański
b8d2a4f379 Add decision tree pause mode 2020-05-24 15:57:49 +02:00