Project

General

Profile

Feature #4355

Base AI for dwarfs

Added by erwin müller 8 months ago. Updated 2 months ago.

Status:
New
Priority:
Normal
Assignee:
erwin müller
Category:
dwarfs
Target version:
Start date:
02/10/2020
Due date:
% Done:

100%

Estimated time:
(Total: 0.00 h)
Type:
Epic
Tags:
s4

Description

Neuronal network for idling. Input are the senses. Eyes can see, nose can smell, ear can hear, etc. Each dwarf has likes and dislikes that are on a spectrum from [1.0,-1.0]. The input from the sense node is amplified or repressed by the likes/dislikes node. Then an action node is activates if the output from the likes nodes reaches a threshold. The action node has energy value that diminishes if the action node is activated and returns to maximum after a give time interval. The action node has a positive action and a negative action. Positive action is activates by the like nodes, negative action is activated by the dislike nodes. Action is the sum of the positive action node and negative action node. Personality nodes are activates after the likes nodes and amplify or diminish the output to the action nodes.

sense nodes

likes nodes

Activates based on the information the sense nodes provides. Returns a value [1.0,0.0].

Examples: likes color red. Likes color green. Likes shape campanulate (bell-shaped).

dislikes nodes

Activates based on the information the sense nodes provides. Returns a value [-1.0,0.0].

Examples: dislikes color red. Dislikes color green. Dislikes shape campanulate (bell-shaped).

personality nodes

  • fearful
    • diminish value from likes nodes based on distance to the object
      The more fearful a dwarf is the less likely she is to wander off.
  • brave
    • amplifies value from likes nodes based on distance to the object
      The more brave a dwarf is the more likely she is to wander off.
  • dutiful
    • diminish value from dislikes nodes
      The more dutiful a dwarf is the less likely she is to throw away an object that she dislikes.
  • loyal
    • diminish value from dislikes nodes, diminish value from likes nodes based on distance from home to the object
      The more loyal a dwarf is the less likely she is to wander off from the group.

positive action nodes

Is triggered if input > energy.
Is an action that can activate other neuronal networks.
Have energy as a property that diminishes over time if the node is active.

  • move to object
    • activates the path finding neural network and moves dwarf to tile
  • harvest object
  • look at object
  • smell at object
  • listen to object
  • mood boost
  • other verbs with object

negative action nodes

Is triggered if -input > energy.
Is an action that can activate other neuronal networks.
Have energy as a property that diminishes over time if the node is active.

  • move from object
    • activates the path finding neural network and moves dwarf to tile
  • throw away object
  • look away from object
  • smell away from object
  • stop listen object
  • mood loss
  • other verbs away/stop object

Subtasks

Feature #4356: Create a knowledge base using PowerLoomClosederwin müller

Actions
Feature #4357: Use deeplearning4j to create a net for preferences and idleClosederwin müller

Actions
Feature #4358: Map the knowledge base to types in the gameClosederwin müller

Actions
Feature #4359: Let neural net train for preferences and three categories of actions: back-off, nothing and go-toClosederwin müller

Actions

Related issues

Related to Dwarf Hustle The Game - Sprint #4354: Sprint 4Closed02/04/202002/23/2020

Actions

History

#1

Updated by erwin müller 8 months ago

#2

Updated by erwin müller 8 months ago

  • Description updated (diff)
#3

Updated by erwin müller 2 months ago

  • Target version changed from 0.1 to Unplanned

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 125 MB)