Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1] 2 3 ... 31

Author Topic: Cyberdorf Systems: Dwarfputing an A.I. (0.1.1 Alpha)  (Read 113176 times)

BloodBeard

  • Bay Watcher
    • View Profile
Cyberdorf Systems: Dwarfputing an A.I. (0.1.1 Alpha)
« on: November 10, 2011, 05:51:58 pm »



Dwarven AI 0.1.1 Alpha available for download here


News:

17/2/12 - Dwarven AI 0.1.1 Alpha released. This isn't the new version i'm working on with word recognition, it's the same as 0.1 Alpha but with new optimizations I just recently discovered. It has 1,344 less linkages, 448 less gears and over 600 redundant doors removed so there should be a small increase in FPS. If you've already downloaded 0.1 Alpha and are getting good FPS you won't really gain anything from this.

21/12/11 - Alpha Version 0.1 is released, consisting of the text display component capable of displaying up to 32 characters. Instructions on how to use it are included.

Original post:
Quote
This topic will serve as a journal detailing my progress and discussions on a project i'm working on, programming an A.I. in Dorfs.

I'm self taught in the basics of computer programming and that's all i'm going on for this. I'm bound to run into roadblocks and that's partially why i'm making this thread. Though i've made my share of megaprojects i've never even dipped my toes in the art of dwarf computing. Help would be much appreciated.

I don't have much to show as far as mechanical logic but I do have my input/output displays constructed as well as a mock keyboard to be used to communicate with the A.I. -

Spoiler (click to show/hide)

At the top is the keyboard, with another image next to it showing what the keys are when you use 'N'otes. I'm hoping I can get this to work and keep the input device nice and simple like that but I could end up adding more. The top display shows your input and the bottom is where the A.I would respond.

This isn't going to be some fluid logic and timers that control the goings of the fort, I fully intend the A.I to be capable of recognizing words and word combinations and computing an appropriate response based on a varying emotional state. Be nice to it and become friends and it might help your dwarves out, try to mess with its inner workings or be a dick then well... you've seen the movies.

There's likely to be a lot of pre-programmed responses to pre-programmed inquiries, but i'm hoping to go more in depth to its decision making process and not just be a parrot. This will probably be the hardest part of all seeing how real A.I. even have trouble with it. I also want it be be able to learn from the user, teaching it words and other more complicated things.


The fort i'm working in is highly modded to make things easier on my brain. It's also a fort that i'll eventually throw away and start anew when I get a better idea of the design and amount of space needed.

ATM i'm working on input. Given the sheer number of letter and number combinations across a large display it will probably take up a sizeable chunk of my fort so i'm experimenting with different designs. Getting it to work shouldn't be too hard but I need to make sure it will be compatible with the search and logic functions. And be fast, of course. I'll be starting out small and trying to find a design that can be scaled.
« Last Edit: February 29, 2012, 02:10:36 am by BloodBeard »
Logged

MrShovelFace

  • Bay Watcher
    • View Profile
Re: The Dwarven Learning Computer (WIP)
« Reply #1 on: November 10, 2011, 06:17:53 pm »

can somebody link the mega project where that guy used fluids to make a crude computer?
Iv looked around for it but have never found it

+1 cookies if you can make a von neumann machine that replicates itself across multiple levels under certain conditions
Logged

Diamond

  • Bay Watcher
  • Did someone just say "elves" ?
    • View Profile
Re: The Dwarven Learning Computer (WIP)
« Reply #2 on: November 10, 2011, 06:21:11 pm »

please create an proper A.I. so my dream of DF being the first sentient program can come true.
What ? A game that simulates mass murders at will using magma and permanent loss of common sense due to constant alcohol consumption as a sentient AI ? We would be doomed.
Logged

Teneb

  • Bay Watcher
  • (they/them) Penguin rebellion
    • View Profile
Re: The Dwarven Learning Computer (WIP)
« Reply #3 on: November 10, 2011, 06:26:41 pm »

This... this is awesome. But dangerous. Delete the save folder at the first sign of true sentience.
Logged
Monstrous Manual: D&D in DF
Quote from: Tack
What if “slammed in the ass by dead philosophers” is actually the thing which will progress our culture to the next step?

Urist McDwarfFortress

  • Bay Watcher
  • Suspected elephant sympathizer
    • View Profile
Re: The Dwarven Learning Computer (WIP)
« Reply #4 on: November 10, 2011, 06:55:15 pm »

I'm not much of a programmer, but this sounds like quite a task, even for a modern computer.  And you want to try to build such an AI out of stone, water, and beards?  You, sir, are the epitome of dwarfyness!
Logged
Sorry, for a moment there I forgot we were all psychopaths.
Someone who has random urges to make mog juice isn't exactly going to care about the cost effectiveness of obtaining it.

BloodBeard

  • Bay Watcher
    • View Profile
Re: The Dwarven Learning Computer (WIP)
« Reply #5 on: November 10, 2011, 07:06:27 pm »

Spoiler (click to show/hide)

OH GOD!

...

Yes, it sounds crazy. That's why i'm doing it  :D

Zyro

  • Bay Watcher
    • View Profile
Re: The Dwarven Learning Computer (WIP)
« Reply #6 on: November 10, 2011, 08:39:24 pm »

Whatever you do,don't insult that AI!(Or And badgers,or and giant badgers,or and badgermen,or and honey badgers,or and Ing theives)
Logged

BloodBeard

  • Bay Watcher
    • View Profile
Re: The Dwarven Learning Computer (WIP)
« Reply #7 on: November 10, 2011, 10:00:14 pm »

3,608 pressure plates, roughly 64,944 mechanisms to link them and 3,608, possibly 7,216 pumps.

And that's just to make it so that the display can support all the characters. I'd like to think I could scale it down a bunch but mechanically it needs to be done if I want to converse with the A.I with the display.  :'(

This display is killing me more then I thought it would. I can probably eliminate the numbers, that would cut costs by a quarter. And maybe I can cut corners with the A.I,'s display. It doesn't need the flexability the input display needs. Come to me maths.

Either way if I want to get this done i'm going to need one hell of a reactor to power everything.  8)


QUICKEDITZ: Maybe i'm going about it the wrong way. Right now i'm thinking about linking each pressure plate to produce an individual character on each large tile. It would make things more difficult to utilize, but maybe I could instead link each individual game tile that make up the larger tile. I don't know, just putting it out there for me to think about and remind myself later.
« Last Edit: November 10, 2011, 10:05:59 pm by BloodBeard »
Logged

Kilroy the Grand

  • Bay Watcher
  • I only want to give you a small kiss
    • View Profile
Re: The Dwarven Learning Computer (WIP)
« Reply #8 on: November 10, 2011, 10:04:43 pm »

Imma build yo' a computer in yo' computer so you can play DF while playing DF.
Logged
*pew* *blam* "Aughgghggurglegurgle..." *slither* *slither* *pit* *pat* *tap* *click-click* *BOOM* "Aiiieeegurgle gurgle..."
X-com meets Dwarf Fortress

FearfulJesuit

  • Bay Watcher
  • True neoliberalism has never been tried
    • View Profile
Re: The Dwarven Learning Computer (WIP)
« Reply #9 on: November 10, 2011, 10:08:34 pm »

That is the ultimate megaproject, isn't it? Playing DF on a dwarfputer.
Logged


@Footjob, you can microwave most grains I've tried pretty easily through the microwave, even if they aren't packaged for it.

Quietust

  • Bay Watcher
  • Does not suffer fools gladly
    • View Profile
    • QMT Productions
Re: The Dwarven Learning Computer (WIP)
« Reply #10 on: November 10, 2011, 10:27:33 pm »

Imma build yo' a computer in yo' computer so you can play DF while playing DF.
You forgot the "Yo dawg I herd you like Dwarf Fortress"...
Logged
P.S. If you don't get this note, let me know and I'll write you another.
It's amazing how dwarves can make a stack of bones completely waterproof and magmaproof.
It's amazing how they can make an entire floodgate out of the bones of 2 cats.

Kofthefens

  • Bay Watcher
  • Keep calm and OH GOD CAPYBARAS
    • View Profile
    • Marshland Games
Re: The Dwarven Learning Computer (WIP)
« Reply #11 on: November 10, 2011, 10:39:20 pm »

I'm scared. Very scared. What if a crundle contaminates the device?
Logged
I don't care about your indigestion-- How are you is a greeting, not a question.

The epic of Îton Sákrith
The Chronicles of HammerBlaze
My website - Free games

Geen

  • Bay Watcher
  • I'm gonna live forever, or die trying.
    • View Profile
Re: The Dwarven Learning Computer (WIP)
« Reply #12 on: November 10, 2011, 10:51:39 pm »

Dear god. We're all doomed. I'm gonna go get in my underground apocalypse bunker filled with canned food and guns. You guys can come if you want. But it'll be no use, since we're all gonna die screaming. Due to magma. and/or zombies.

kudos if you got the Jonathan Coulton reference. I got to FREAKING meet him two days ago.
Logged

BloodBeard

  • Bay Watcher
    • View Profile
Re: The Dwarven Learning Computer (WIP)
« Reply #13 on: November 11, 2011, 02:07:06 am »

I pondered and pondered and decided smaller is better.

New display:
Spoiler (click to show/hide)

Some of the letters and numbers will look a little wonky but they're legible.

As to the potentially better way to control the input I mentioned in my last post, it's definately a better plan. Instead of linking 40+ different pressure plates for each of those big tiles to support letters and numbers, i'm just going to link each individual floor hatch. The downside is i'll need a secondary logic cell to find the memory addresses to control them, which means slower processing (also a lot more pumps working at once in general).

Doing it this way i'll only need 960 pressure plates (as opposed to 3608), 1920 mechanisms to link them (as opposed to 64944) and 1920 pumps (as opposed to 7216). The secondary logic cell (or memory address finding whatchamacallit) isn't included, but it won't be nearly as big. Also i'll be able to keep numbers in and potentially support more characters at very little cost.

Keep in mind i'm just using phrases like logic cell and memory address without fully understanding what they mean, i'm just going by what sounds right  :)

Random_Physics_Nerd

  • Bay Watcher
  • [DOES_NOT_EXIST]
    • View Profile
Re: The Dwarven Learning Computer (WIP)
« Reply #14 on: November 11, 2011, 02:31:51 am »

You're in for quite a bit of insanity I beleive. Computers have troubgle simulating an AI, I can't imagine the difficulty of simulating another computer simulating an AI.
Logged
Take two magma and call me in the morning.
I was thinking about pumping magma up his legs and having a floodgate in his crotch. What could be more dorfy than pissing magma upon your enemies?
Pages: [1] 2 3 ... 31