Commit Graph

32 Commits

Author SHA1 Message Date
Adam Mikolajczak eb34cbfab3 fix: tractor does not explode after seeing dynia anymore 2024-05-12 18:24:34 +02:00
Adam Mikolajczak c341c02249 fix: tractor doesn't explode when it encounters onion anymore. 2024-05-12 17:31:30 +02:00
Adam Mikolajczak c0d05cce43 feat(decision tree)
program sie wywala jesli traktor chce zasadzic cebule. czemu? nie wiem.
2024-05-12 16:45:03 +02:00
Adam Mikolajczak 37d0084561 feat: decision tree
Dodałem tree.csv, gdzie jest zbiór przykładów, w pliku decisiontree.py użyty
jest pakiet sklearn
2024-05-10 19:01:11 +02:00
Adam Mikolajczak 697736d7b5 fix: the cost of entering water in a-star alg is now 1000. 2024-05-10 11:25:50 +02:00
Adam Mikolajczak c30d6ffc5c feat: adding water tiles
1/3 of free tiles are now water. water.png obviously is a prototype (it's ugly).
2024-05-10 11:21:15 +02:00
Wojciech Kubicki f85f5b4cdc feat: enable setting starting coords and direction from .env 2024-04-29 15:32:52 +02:00
Wojciech Kubicki c6b61e8f69 feat: store constants in .env for easier adjustments during presentations 2024-04-27 20:37:12 +02:00
Zofia Lorenc 4d9fda66e8 dodanie ikonek warzyw 2024-04-27 09:47:06 +02:00
Wojciech Kubicki 79ce3cc3ec feat: automate tractor to find path using A* while avoiding vegetable tiles 2024-04-26 14:43:39 +02:00
Zofia Lorenc ac6a8771e6 generowanie nastepnikow 2024-04-15 09:36:04 +02:00
Zofia Lorenc f6d9fa609e dodanie czesci ikonek warzyw 2024-04-15 03:40:46 +02:00
Wojciech Kubicki a7db089ce4 feat(tractor): implement tank controls 2024-04-10 17:41:16 +02:00
Wojciech Kubicki a1d4895a7a feat(tractor): rotate tractor on left-right arrow keys 2024-04-10 17:38:08 +02:00
Wojciech Kubicki e6566cee48 feat: add new sprites & direction to tractor 2024-04-10 17:33:11 +02:00
Wojciech Kubicki 505926461e feat(logs): print out growth modifier based on tile neighbours 2024-03-25 13:04:21 +01:00
Wojciech Kubicki 5baf1c3a3d refactor(tractor): use icons to print statements in console log 2024-03-25 12:36:01 +01:00
Wojciech Kubicki 2658f77669 feat(tractor): update water level and add replenish functionality 2024-03-25 12:35:03 +01:00
Wojciech Kubicki e4aa771022 style: fix inconsistent spacing & add newline at end of files 2024-03-25 12:32:24 +01:00
Wojciech Kubicki c99e738034 refactor(TILE_SIZE): load environment variables in config.py file 2024-03-25 12:30:06 +01:00
Wojciech Kubicki 7c30177bf1 feat(tractor): add basic watering functionality 2024-03-25 02:16:14 +01:00
Wojciech Kubicki 09b65e9fd1 feat(tractor): print how much water current tile needs 2024-03-25 02:01:09 +01:00
Wojciech Kubicki ff7e5c4b99 feat(tractor): add method to get current tile 2024-03-25 02:00:28 +01:00
Wojciech Kubicki 7de410c59a refactor(tile_init): set type based on random vegetable 2024-03-25 01:52:34 +01:00
Wojciech Kubicki 8ce604df46 feat(tile_type): randomly assign each tile a vegetable at init 2024-03-25 01:27:20 +01:00
Wojciech Kubicki eaaac9f277 feat(tractor): print out on what tile type the tractor is currently on 2024-03-25 00:38:40 +01:00
Wojciech Kubicki af87ff2475 fix(tractor): prevent tractor from moving off board 2024-03-25 00:11:09 +01:00
Hubert Westerlich 1009851475 Zaimplementowano bazę wiedzy z uzyciem pytholog oraz prostych metod 2024-03-24 16:54:25 +01:00
Adam Mikolajczak 129f100ed3 small correction 2024-03-11 14:35:44 +01:00
Wojciech Kubicki d9f07cdfe6 feat: adjust window size based on TILE_SIZE 2024-03-11 01:55:45 +01:00
Wojciech Kubicki f8e5d9574f fxi(images): prepend with 'src/' to load images in modules 2024-03-11 01:10:05 +01:00
Wojciech Kubicki 7faf1c5ab7 chore: rename 'program' to 'src' 2024-03-11 00:27:40 +01:00