aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortomsmeding <hallo@tomsmeding.nl>2015-04-27 13:44:10 +0200
committertomsmeding <hallo@tomsmeding.nl>2015-04-27 13:44:10 +0200
commitb7843a66b0ae1ac3c184ba7380ca0e3e11498818 (patch)
treeabf50e5cd61761cf913646f4817586f6b7b9cb15
parent9e8eb02c75be89d370b3b69cca57dd4ba8499445 (diff)
FIX LAST BUG IN RANDINO hopefully
-rw-r--r--randino.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/randino.cpp b/randino.cpp
index 2b53402..2cc0c71 100644
--- a/randino.cpp
+++ b/randino.cpp
@@ -167,11 +167,12 @@ int main(void){
gettimeofday(&tv,NULL);
cerr<<"seed="<<(1000000*tv.tv_sec+tv.tv_usec)<<endl;
srand(1000000*tv.tv_sec+tv.tv_usec);
- //srand(1430075262226814);
+ //srand(1430130052185291);
getline(cin,line);
if(line=="go"){
should_flip_board=false;
- mv.neudir=-1; mv.from=0; mv.dir=4;
+ mv.neudir=-1; mv.from=1; mv.dir=3;
+ bd.move(mv.from,mv.dir);
protocol_put_move(cout,mv);
} else {
if(line!="nogo")cerr<<"no0b "<<line<<" not in (go,nogo)"<<endl;