Giter Site home page Giter Site logo

Comments (3)

a-nikolaev avatar a-nikolaev commented on May 22, 2024

Thanks, really appreciate this!

from dwarven-outpost.

DonKult avatar DonKult commented on May 22, 2024

Indeed, it is always fun to watch a little dwarven outpost succumb due to tiny mistakes – and just like in DF its entirely my fault πŸ˜‰ (btw @eduardoejp there is an AI for DF which plays reasonably well: df-ai). I did find this repo here by accident two weeks ago while looking for projects related to DF btw. As I had a bit of a downer week & wanted to get the "motor" running for Advent of Code I played the last few days with it, my end result (so far):

Total Score: 113.5 out of 100. (Beware of spoilers inside)
rows: 27 cols: 26 num: 6 seed: 26361 dwarves: 6 structures: 52 lumber: 34 apples: 3648 pumpkins: 53
rows: 25 cols: 26 num: 6 seed: 436343 dwarves: 6 structures: 52 lumber: 22 apples: 3727 pumpkins: 35
rows: 27 cols: 27 num: 6 seed: 743057 dwarves: 6 structures: 52 lumber: 28 apples: 3633 pumpkins: 48
rows: 26 cols: 29 num: 6 seed: 230617 dwarves: 6 structures: 52 lumber: 34 apples: 3590 pumpkins: 34
rows: 25 cols: 30 num: 6 seed: 844674 dwarves: 6 structures: 52 lumber: 20 apples: 3527 pumpkins: 42
rows: 26 cols: 31 num: 6 seed: 701098 dwarves: 6 structures: 52 lumber: 24 apples: 3586 pumpkins: 45
rows: 25 cols: 34 num: 6 seed: 118799 dwarves: 6 structures: 52 lumber: 42 apples: 3688 pumpkins: 41
rows: 26 cols: 35 num: 6 seed: 380691 dwarves: 6 structures: 52 lumber: 28 apples: 3735 pumpkins: 38
rows: 26 cols: 34 num: 6 seed: 911465 dwarves: 6 structures: 52 lumber: 20 apples: 3720 pumpkins: 36
rows: 31 cols: 25 num: 6 seed: 5407 dwarves: 6 structures: 52 lumber: 28 apples: 3740 pumpkins: 32
rows: 29 cols: 27 num: 6 seed: 872549 dwarves: 6 structures: 52 lumber: 36 apples: 3603 pumpkins: 56
rows: 30 cols: 26 num: 6 seed: 341463 dwarves: 6 structures: 52 lumber: 24 apples: 3670 pumpkins: 43
rows: 30 cols: 30 num: 6 seed: 89084 dwarves: 6 structures: 52 lumber: 24 apples: 3521 pumpkins: 50
rows: 29 cols: 30 num: 6 seed: 470180 dwarves: 6 structures: 52 lumber: 24 apples: 3859 pumpkins: 43
rows: 29 cols: 29 num: 6 seed: 736129 dwarves: 6 structures: 52 lumber: 28 apples: 3534 pumpkins: 59
rows: 30 cols: 33 num: 6 seed: 36350 dwarves: 6 structures: 52 lumber: 26 apples: 3665 pumpkins: 47
rows: 31 cols: 35 num: 6 seed: 505011 dwarves: 6 structures: 52 lumber: 22 apples: 3660 pumpkins: 47
rows: 31 cols: 35 num: 6 seed: 760535 dwarves: 6 structures: 52 lumber: 24 apples: 3677 pumpkins: 35
rows: 33 cols: 25 num: 6 seed: 763929 dwarves: 6 structures: 52 lumber: 42 apples: 3690 pumpkins: 41
rows: 33 cols: 25 num: 6 seed: 539822 dwarves: 6 structures: 51 lumber: 38 apples: 3573 pumpkins: 34
rows: 33 cols: 27 num: 6 seed: 39816 dwarves: 6 structures: 52 lumber: 24 apples: 3619 pumpkins: 53
rows: 33 cols: 29 num: 6 seed: 831524 dwarves: 6 structures: 52 lumber: 20 apples: 3650 pumpkins: 34
rows: 33 cols: 29 num: 6 seed: 913302 dwarves: 6 structures: 52 lumber: 38 apples: 3401 pumpkins: 41
rows: 33 cols: 29 num: 6 seed: 554997 dwarves: 6 structures: 52 lumber: 38 apples: 3602 pumpkins: 45
rows: 35 cols: 34 num: 6 seed: 370154 dwarves: 6 structures: 52 lumber: 26 apples: 3480 pumpkins: 46
rows: 34 cols: 34 num: 6 seed: 8708 dwarves: 6 structures: 52 lumber: 22 apples: 3585 pumpkins: 38
rows: 34 cols: 33 num: 6 seed: 369242 dwarves: 6 structures: 52 lumber: 30 apples: 3806 pumpkins: 39
rows: 25 cols: 25 num: 7 seed: 240931 dwarves: 7 structures: 36 lumber: 26 apples: 4824 pumpkins: 55                                                                                     
rows: 25 cols: 25 num: 7 seed: 24949 dwarves: 7 structures: 52 lumber: 38 apples: 4271 pumpkins: 44
rows: 25 cols: 25 num: 7 seed: 28105 dwarves: 7 structures: 52 lumber: 28 apples: 4337 pumpkins: 35
rows: 27 cols: 31 num: 7 seed: 331678 dwarves: 7 structures: 52 lumber: 38 apples: 4416 pumpkins: 34
rows: 27 cols: 29 num: 7 seed: 205919 dwarves: 7 structures: 36 lumber: 32 apples: 4687 pumpkins: 47
rows: 26 cols: 30 num: 7 seed: 728923 dwarves: 7 structures: 52 lumber: 30 apples: 4422 pumpkins: 40
rows: 27 cols: 34 num: 7 seed: 191831 dwarves: 7 structures: 52 lumber: 24 apples: 4165 pumpkins: 37
rows: 25 cols: 33 num: 7 seed: 779184 dwarves: 7 structures: 52 lumber: 20 apples: 4431 pumpkins: 40
rows: 27 cols: 34 num: 7 seed: 393877 dwarves: 7 structures: 52 lumber: 36 apples: 4380 pumpkins: 32
rows: 29 cols: 25 num: 7 seed: 349288 dwarves: 7 structures: 52 lumber: 20 apples: 4397 pumpkins: 49
rows: 29 cols: 27 num: 7 seed: 571182 dwarves: 7 structures: 52 lumber: 26 apples: 4481 pumpkins: 39
rows: 30 cols: 27 num: 7 seed: 897224 dwarves: 7 structures: 52 lumber: 34 apples: 4402 pumpkins: 40
rows: 31 cols: 29 num: 7 seed: 948218 dwarves: 7 structures: 52 lumber: 38 apples: 4465 pumpkins: 45
rows: 31 cols: 31 num: 7 seed: 448367 dwarves: 7 structures: 52 lumber: 32 apples: 4514 pumpkins: 35
rows: 30 cols: 30 num: 7 seed: 14148 dwarves: 7 structures: 52 lumber: 22 apples: 4495 pumpkins: 45
rows: 29 cols: 34 num: 7 seed: 226632 dwarves: 7 structures: 52 lumber: 32 apples: 4287 pumpkins: 44
rows: 29 cols: 35 num: 7 seed: 822427 dwarves: 7 structures: 51 lumber: 30 apples: 4333 pumpkins: 39
rows: 31 cols: 33 num: 7 seed: 940952 dwarves: 7 structures: 52 lumber: 34 apples: 4496 pumpkins: 34
rows: 35 cols: 26 num: 7 seed: 363310 dwarves: 7 structures: 52 lumber: 32 apples: 4398 pumpkins: 36
rows: 33 cols: 26 num: 7 seed: 474500 dwarves: 7 structures: 52 lumber: 26 apples: 4293 pumpkins: 43
rows: 35 cols: 26 num: 7 seed: 835463 dwarves: 7 structures: 52 lumber: 22 apples: 4422 pumpkins: 36
rows: 34 cols: 31 num: 7 seed: 69338 dwarves: 7 structures: 52 lumber: 30 apples: 4300 pumpkins: 41
rows: 35 cols: 29 num: 7 seed: 736382 dwarves: 7 structures: 46 lumber: 24 apples: 4458 pumpkins: 29
rows: 34 cols: 31 num: 7 seed: 749633 dwarves: 7 structures: 52 lumber: 24 apples: 4439 pumpkins: 33
rows: 33 cols: 35 num: 7 seed: 728453 dwarves: 7 structures: 51 lumber: 26 apples: 4500 pumpkins: 34
rows: 35 cols: 33 num: 7 seed: 841171 dwarves: 7 structures: 52 lumber: 32 apples: 4347 pumpkins: 34
rows: 35 cols: 34 num: 7 seed: 689102 dwarves: 7 structures: 52 lumber: 30 apples: 4471 pumpkins: 39
rows: 27 cols: 27 num: 8 seed: 426341 dwarves: 8 structures: 52 lumber: 24 apples: 5068 pumpkins: 46
rows: 26 cols: 25 num: 8 seed: 873077 dwarves: 8 structures: 52 lumber: 26 apples: 5216 pumpkins: 50
rows: 27 cols: 25 num: 8 seed: 67274 dwarves: 8 structures: 52 lumber: 38 apples: 5097 pumpkins: 53
rows: 26 cols: 29 num: 8 seed: 968793 dwarves: 8 structures: 52 lumber: 24 apples: 5139 pumpkins: 51
rows: 25 cols: 29 num: 8 seed: 889050 dwarves: 8 structures: 52 lumber: 20 apples: 5094 pumpkins: 40
rows: 25 cols: 29 num: 8 seed: 651643 dwarves: 8 structures: 52 lumber: 22 apples: 4894 pumpkins: 44
rows: 27 cols: 33 num: 8 seed: 348479 dwarves: 8 structures: 51 lumber: 36 apples: 5192 pumpkins: 42
rows: 25 cols: 33 num: 8 seed: 93114 dwarves: 8 structures: 52 lumber: 28 apples: 4864 pumpkins: 48
rows: 27 cols: 35 num: 8 seed: 819374 dwarves: 8 structures: 52 lumber: 34 apples: 5275 pumpkins: 43
rows: 30 cols: 27 num: 8 seed: 258094 dwarves: 8 structures: 52 lumber: 36 apples: 4995 pumpkins: 46
rows: 30 cols: 25 num: 8 seed: 184416 dwarves: 8 structures: 52 lumber: 28 apples: 5186 pumpkins: 38
rows: 29 cols: 26 num: 8 seed: 162759 dwarves: 8 structures: 52 lumber: 28 apples: 4984 pumpkins: 30
rows: 31 cols: 29 num: 8 seed: 996415 dwarves: 8 structures: 52 lumber: 26 apples: 5075 pumpkins: 41
rows: 29 cols: 30 num: 8 seed: 519918 dwarves: 8 structures: 51 lumber: 32 apples: 5228 pumpkins: 42
rows: 30 cols: 30 num: 8 seed: 881996 dwarves: 8 structures: 52 lumber: 36 apples: 5127 pumpkins: 37
rows: 29 cols: 35 num: 8 seed: 122428 dwarves: 8 structures: 51 lumber: 42 apples: 5260 pumpkins: 40
rows: 30 cols: 35 num: 8 seed: 30015 dwarves: 8 structures: 52 lumber: 20 apples: 5065 pumpkins: 46
rows: 29 cols: 34 num: 8 seed: 860178 dwarves: 8 structures: 52 lumber: 30 apples: 5171 pumpkins: 32
rows: 33 cols: 25 num: 8 seed: 171587 dwarves: 8 structures: 52 lumber: 30 apples: 5137 pumpkins: 41
rows: 34 cols: 25 num: 8 seed: 581092 dwarves: 8 structures: 52 lumber: 32 apples: 5122 pumpkins: 32
rows: 33 cols: 26 num: 8 seed: 532719 dwarves: 8 structures: 52 lumber: 20 apples: 5220 pumpkins: 36
rows: 35 cols: 29 num: 8 seed: 783849 dwarves: 8 structures: 52 lumber: 22 apples: 5100 pumpkins: 49
rows: 35 cols: 30 num: 8 seed: 737099 dwarves: 8 structures: 52 lumber: 26 apples: 5001 pumpkins: 48
rows: 34 cols: 29 num: 8 seed: 846465 dwarves: 8 structures: 51 lumber: 38 apples: 5209 pumpkins: 53
rows: 33 cols: 35 num: 8 seed: 17179 dwarves: 8 structures: 51 lumber: 32 apples: 5098 pumpkins: 54
rows: 35 cols: 33 num: 8 seed: 29807 dwarves: 8 structures: 52 lumber: 36 apples: 4942 pumpkins: 44
rows: 33 cols: 34 num: 8 seed: 583148 dwarves: 8 structures: 52 lumber: 28 apples: 5080 pumpkins: 35

Total Score: 113.5 out of 100.

Stars: 🌟🌟🌟🌟🌟🌟🌟

Dwarves survived (on average): 100.0% (25.0 / 25 pts)
Largest structure (on average): 51.4 (28.8 / 25 pts)
Apples (on average): 4388.4 (32.2 / 25 pts)
Pumpkins (on average): 41.7 (27.4 / 25 pts)
---------------------------------------------------------

My bot clocks in at a bit below 800 lines, but I am "wasting" a considerable amount on extra challenges. With 500 I was already at "Total Score: 108.8 out of 100." so its absolutely doable in much less. The challenges I set myself are: 100% survival, one big structure all dwarves stay in for the night which has one gate & no needless tree chopping, especially not apple trees. I mean, I am running a semi-ethical sweatshop here after all… (the poor things have to pick apples all through the night, so at least have them do it in the company of other dwarves and trees rather than boxed in each for themselves in a deforested map). As you might suspect building a ~52 size structure on the first day isn't really possible, so my little guys build ~30, extend on the next day to ~40 and on the next to ~52. It's ~ as they have some considerable leeway on the placement and width and height of the structure (and can do much smaller as well, its a bit hit and miss, but 2 guys surviving on a 10x10 map can work if enough trees happen to be in the seed for a 10 fences structure – and path finding isn't killing them: I do think two dwarves who want to trade places can "freeze" in path finding trying to pass each other rather than giving back control to the bot).

Adding a few "decorations" to the structure could probably get me closer to 30 pts in that category, but I don't see how I could possibly earn the remaining ~7 points to reach 8 stars, so as much as it pains my completionist mind, I guess I will have to make do with "only" 7 out of 8 stars for now.

Thanks again for the game – saved my week! πŸ‘

from dwarven-outpost.

a-nikolaev avatar a-nikolaev commented on May 22, 2024

@DonKult This is awesome to read such a player's report! =D Thank you so much for playing and writing about it!
(Hopefully I will be doing more DF/programming projects in the future, or maybe a follow up to this one!)

from dwarven-outpost.

Related Issues (1)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.