dmangame

an ai game. maybe.

building an ai

quick start

    

# if you were here last week
cd dmangame && git pull
cd dmanai && git pull

# otherwise, download the engine
git clone http://github.com/dmangame/dmangame
cd dmangame/

# download more AIs, this will download AIs from
# dmangame's dmanai repository.
git clone http://github.com/dmangame/dmanai
grep -Rl AIClass * # Prints a list of files with AI in them

python main.py --hl dmanai/basic/searchai.py -o search.html
# open search.html

    
    

ai = artificial intelligence.

where would a human start?

(discuss)

priorities

defense

exploration

capturing / attack

ai patterns

individual intelligence

what's good for me is good for yuo

KillNCapture vs BasePatroller

  
    python main.py \
      ai/killncapture.py \
      ai/basepatroller.py \
      -m maps/r/village.py \
      -o k_v_b.html -cn
  
  

hive intelligence

one mind controlling many

ExpandThenSearch vs RushAI


python main.py \
  dmanai/bob/expand-then-search.py \
  dmanai/okay/rushai.py \
  -o expand_v_rush.html -cn


organizational intelligence

(companies run themselves this way)

Worksmarter vs. StarterAI


python main.py \
  --hl behindcurtain3:wedge/worksmarter.py \
  dmanai/basic/starterai.py \
  -o expand_v_rush.html -cn


geometric intelligence

honeycombs, circles & lines - oh my

ClockAI vs. CircleBlaster

      
python main.py \
  dmanai/okay/circleblaster.py dmanai/okay/clock.py \
  -o circle_vs_clock.html -cn
      
    

class assignments

a) improve the exploration code

b) write a strategy module (and share it)

  
vim dmanai/basic/starterai.py
vim dmanai/basic/searchai.py.py
  

alright already - stop tlaking

http://dmangame.github.io/dmangame

look here for news, tutorials, APIs, feedback, etc