initial release
This commit is contained in:
commit
0d492adb0a
8 changed files with 627 additions and 0 deletions
11
src/main.rs
Normal file
11
src/main.rs
Normal file
|
@ -0,0 +1,11 @@
|
|||
use lib::game::{Game, Rules};
|
||||
|
||||
pub mod lib;
|
||||
|
||||
fn main() {
|
||||
let rules = Rules::default().size(4).spawn_per_turn(1);
|
||||
let mut game = Game::new(rules);
|
||||
loop {
|
||||
game.turn().unwrap();
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue