Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: DF bots  (Read 2210 times)

Flaming Dorf

  • Bay Watcher
  • Oh No Indian!
    • View Profile
DF bots
« on: September 19, 2009, 07:07:51 pm »

Are there bots which can play Dwarf Fortress?
I may have misread, but for some reason I remember there being an application for automatic dwarfing.
Logged
[PERMITTED_JOINT:100] (It's a maximum number per day. This is the elven setting)

bluephoenix

  • Bay Watcher
    • View Profile
Re: DF bots
« Reply #1 on: September 19, 2009, 07:12:46 pm »

I dont think so but why would you want a bot to play dwarfenfortress for you?
Why would you even bother turning DF on when using a bot ??? and what would you want to bot to do for you?
Logged

Flaming Dorf

  • Bay Watcher
  • Oh No Indian!
    • View Profile
Re: DF bots
« Reply #2 on: September 19, 2009, 07:19:28 pm »

I was mostly wondering if it had been done. I may code it myself, just to watch the disaster.
Logged
[PERMITTED_JOINT:100] (It's a maximum number per day. This is the elven setting)

Twiggie

  • Bay Watcher
    • View Profile
Re: DF bots
« Reply #3 on: September 19, 2009, 07:24:10 pm »

bots would be good for those playing adventure mode - just run the bot a couple dozen times on one world and voila, richer deeper world for you to explore/loot/kill/burn
Logged

Razoric480

  • Bay Watcher
    • View Profile
    • Iced Fire Studio
Re: DF bots
« Reply #4 on: September 19, 2009, 08:12:43 pm »

I dont think so but why would you want a bot to play dwarfenfortress for you?
Why would you even bother turning DF on when using a bot ??? and what would you want to bot to do for you?

For the same reason you make a giant pyramid, or a fortress underwater, or a 100-200 Z level tower, or try to make a large fortress.

To see if you can succeed, and for fun.

Kazindir

  • Bay Watcher
    • View Profile
Re: DF bots
« Reply #5 on: September 19, 2009, 08:30:14 pm »

I dont think so but why would you want a bot to play dwarfenfortress for you?
Why would you even bother turning DF on when using a bot ??? and what would you want to bot to do for you?

For the same reason you make a giant pyramid, or a fortress underwater, or a 100-200 Z level tower, or try to make a large fortress.

To see if you can succeed, and for fun.

I think the question was more "what fun is there?" All those examples you give are things you try to do to see if you can - using a bot to do it would void that.
Well, unless you get a feeling of achievement from simply starting a program, in which case I recommend Notepad.  ;D
Logged

Razoric480

  • Bay Watcher
    • View Profile
    • Iced Fire Studio
Re: DF bots
« Reply #6 on: September 19, 2009, 08:46:53 pm »

Ah, I wasn't saying 'to see if you can have the computer make you a pyramid in DF'.

I was saying 'to see if you can make a bot that CAN run DF'

Flaming Dorf

  • Bay Watcher
  • Oh No Indian!
    • View Profile
Re: DF bots
« Reply #7 on: September 19, 2009, 09:55:03 pm »

Ah, I wasn't saying 'to see if you can have the computer make you a pyramid in DF'.

I was saying 'to see if you can make a bot that CAN run DF'

Exactly. It'd be amusing to try and make such a bot, just to see if it was possible.
Logged
[PERMITTED_JOINT:100] (It's a maximum number per day. This is the elven setting)

Razoric480

  • Bay Watcher
    • View Profile
    • Iced Fire Studio
Re: DF bots
« Reply #8 on: September 19, 2009, 10:27:54 pm »

It would be, to a degree, at least. It'd be very hard to make it be successful, though.

It'd need to have a style of mining and layout, it'd need to be aware of its surroundings, of siegers and evil wildlife, it'd need to analyze announcements...

It'd be a pretty steep challenge, overrall, but could be fun to see it putz around.

Derakon

  • Bay Watcher
    • View Profile
Re: DF bots
« Reply #9 on: September 19, 2009, 11:11:09 pm »

There are trivial winning strategies right now. Dig out a small underground fortress, get everyone inside, set up workshops, beds, and a few spare barrels, then seal the entrance and dedicate your dwarves' lives to farmirng, booze production, and making babies. If your only goal is survival, then you should be able to make an entirely successful, albeit not very interesting bot, without too much trouble. Heck, you could probably do what I described with a key macro.

Anything more involved would pretty much require access to DF's data structures. You would not want to implement a complicated DF bot that relied on screenscraping or memory scans to figure out what's going on in the game.
Logged
Jetblade - an open-source Metroid/Castlevania game with procedurally-generated levels