This commit is contained in:
Gnieark 2016-06-24 17:00:52 +02:00
parent df7f2dc1bb
commit b90f376bb2
3 changed files with 2 additions and 3 deletions

BIN
.connectfourLearn.php.swo Normal file

Binary file not shown.

BIN
.connectfourLearn.php.swp Normal file

Binary file not shown.

View File

@ -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;
} }