Permalink
Browse files

added submodule

  • Loading branch information...
1 parent e61b6a1 commit d5a62730b179a7a053ed29ca2c2e57293c351b9a @runemadsen committed Dec 9, 2011
Showing with 9 additions and 4 deletions.
  1. +1 −0 .gitignore
  2. +3 −0 .gitmodules
  3. +1 −1 Gemfile
  4. +2 −2 Gemfile.lock
  5. +1 −0 gems/asciidoc
  6. BIN public/results/pdf_template/index.pdf
  7. +1 −1 public/test.asciidoc
View
@@ -0,0 +1 @@
+/public/results
View
@@ -0,0 +1,3 @@
+[submodule "gems/asciidoc"]
+ path = gems/asciidoc
+ url = git@github.com:runemadsen/asciidoc.git
View
@@ -1,4 +1,4 @@
source :rubygems
gem 'sinatra'
-gem 'asciidoc', :path => '/Users/rune/Projects/gems/asciidoc'
+gem 'asciidoc', :path => 'gems/asciidoc'
View
@@ -1,7 +1,7 @@
PATH
- remote: /Users/rune/Projects/gems/asciidoc
+ remote: gems/asciidoc
specs:
- asciidoc (0.0.1)
+ asciidoc (0.0.2)
GEM
remote: http://rubygems.org/
Submodule asciidoc added at 8a0ff2
Binary file not shown.
@@ -10,7 +10,7 @@ Chapter 6. Autonomous Agents
Believe it or not, there is a purpose. Well, at least there’s a purpose for the first five chapters of this book. We could stop right here; after all, we’ve looked at several different ways of modeling motion and simulating physics. Angry Birds, here we come!
-Still, let’s think for a moment. Why are we here? The _nature_ of code, right? What have we been designing so far? Inanimate objects. Lifeless shapes sitting on our screens that flop around when affected by forces in their environment. What if we could breathe life into those shapes? What if those shapes could live by their own rules? Can shapes have hopes and dreams and fears? This is what we are here in this chapter to do—develop _autonomous agents_.
+<<image-indicator>>Still, let’s think for a moment. Why are we here? The _nature_ of code, right? What have we been designing so far? Inanimate objects. Lifeless shapes sitting on our screens that flop around when affected by forces in their environment. What if we could breathe life into those shapes? What if those shapes could live by their own rules? Can shapes have hopes and dreams and fears? This is what we are here in this chapter to do—develop _autonomous agents_.
The term *_autonomous agent_* generally refers to an entity that makes its own choices about how to act in its environment without any influence from a leader or global plan. For us, “acting” will mean moving. This addition is a significant conceptual leap. Instead of a box sitting on a boundary waiting to be pushed by another falling box, we are now going to design a box that has the ability and “desire” to leap out of the way of that other falling box, if it so chooses. While the concept of forces that come from within is a major shift in our design thinking, our code base will barely change, as these desires and actions are simply that—_forces_.

0 comments on commit d5a6273

Please sign in to comment.