aboutsummaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
authorNathan Vance <nathav63@gmail.com>2015-03-11 22:31:44 -0400
committerNathan Vance <nathav63@gmail.com>2015-03-11 22:31:44 -0400
commit1a39ccc3088dd3fbc6da9571a17060cc50f432e4 (patch)
treef8e4973ac8044535d64526f2281b8953484e261a /main.c
parentImplemented basic ai (diff)
download7w-1a39ccc3088dd3fbc6da9571a17060cc50f432e4.tar.gz
7w-1a39ccc3088dd3fbc6da9571a17060cc50f432e4.tar.bz2
7w-1a39ccc3088dd3fbc6da9571a17060cc50f432e4.zip
Squelched some bugs, more to go!
Diffstat (limited to 'main.c')
-rw-r--r--main.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/main.c b/main.c
index ceff85c..03f7a18 100644
--- a/main.c
+++ b/main.c
@@ -13,6 +13,7 @@ void wonder_selected(int player);
void view_refresh(int focus, int cursor, int player);
int data_numplayers();
void data_endturn();
+int data_getera();
void halt()
{
@@ -20,7 +21,7 @@ void halt()
exit(0);
}
-static int ais[7] = {0, 0, 1, 0, 0, 0, 0};
+static int ais[7] = {0, 1, 1, 1, 1, 1, 1};
main_routine()
{
@@ -39,7 +40,7 @@ main()
{
io_init();
cards_init();
- data_init(3);
+ data_init(5);
main_routine();
halt();
}
bgstack15