Skip to content

Commit

Permalink
speed up game and update documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
Joel Quenneville committed Sep 20, 2012
1 parent 71720b2 commit 59e106c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions README.md
Expand Up @@ -26,6 +26,10 @@ You can use a random initial pattern if you don't feel like building one yoursel
```
$ life random -w 10 -h 10 -g 5
```
or
```
$ life random
```

## Contributing

Expand Down
2 changes: 1 addition & 1 deletion lib/life/cli.rb
Expand Up @@ -54,7 +54,7 @@ def build_random_seed(width, height)
def display_simulation(max_gen, height, world)
(1..max_gen).each do |gen|
print world.to_s("@", " ") + eol(height, gen, max_gen)
sleep(0.5)
sleep(0.2)
world.tick
end
end
Expand Down

0 comments on commit 59e106c

Please sign in to comment.