diff --git a/.connectfourLearn.php.swo b/.connectfourLearn.php.swo new file mode 100644 index 0000000..544aaae Binary files /dev/null and b/.connectfourLearn.php.swo differ diff --git a/.connectfourLearn.php.swp b/.connectfourLearn.php.swp new file mode 100644 index 0000000..a4e765d Binary files /dev/null and b/.connectfourLearn.php.swp differ diff --git a/connectfourLearn.php b/connectfourLearn.php index 4b0b7ca..9c330fd 100644 --- a/connectfourLearn.php +++ b/connectfourLearn.php @@ -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(){ global $params, $lnMySQL; @@ -69,7 +68,7 @@ function play($map,$colToPlay,$me,$opponent,$gameid,$player_index){ map='".hash_map($map,$me,$opponent)."', play_at='".$colToPlay."';"); - echo '{"play":'.$colToPlay.'}'; + echo '{"play":'.$colToPlay.',"spy":"'.hash_map($map,$me,$opponent).'"}'; die; }