base 16
This commit is contained in:
parent
df7f2dc1bb
commit
b90f376bb2
BIN
.connectfourLearn.php.swo
Normal file
BIN
.connectfourLearn.php.swo
Normal file
Binary file not shown.
BIN
.connectfourLearn.php.swp
Normal file
BIN
.connectfourLearn.php.swp
Normal file
Binary file not shown.
|
@ -40,8 +40,7 @@ function hash_map($map,$me,$opponent){
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return base_convert($hashMap, 3, 10);
|
return base_convert($hashMap, 3, 16);
|
||||||
|
|
||||||
}
|
}
|
||||||
function remenber_previous_lap_is_a_bullshit(){
|
function remenber_previous_lap_is_a_bullshit(){
|
||||||
global $params, $lnMySQL;
|
global $params, $lnMySQL;
|
||||||
|
@ -69,7 +68,7 @@ function play($map,$colToPlay,$me,$opponent,$gameid,$player_index){
|
||||||
map='".hash_map($map,$me,$opponent)."',
|
map='".hash_map($map,$me,$opponent)."',
|
||||||
play_at='".$colToPlay."';");
|
play_at='".$colToPlay."';");
|
||||||
|
|
||||||
echo '{"play":'.$colToPlay.'}';
|
echo '{"play":'.$colToPlay.',"spy":"'.hash_map($map,$me,$opponent).'"}';
|
||||||
die;
|
die;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user