init game
This commit is contained in:
parent
ecfc59b462
commit
b8d7007831
|
@ -56,7 +56,7 @@ switch ($_POST['act']){
|
||||||
}
|
}
|
||||||
|
|
||||||
//What player has to play?
|
//What player has to play?
|
||||||
if(!isset($_SESSION['currentPlayer']){
|
if(!isset($_SESSION['currentPlayer'])){
|
||||||
$_SESSION['currentPlayer']=1;
|
$_SESSION['currentPlayer']=1;
|
||||||
$you="X";
|
$you="X";
|
||||||
}else{
|
}else{
|
||||||
|
|
Loading…
Reference in New Issue
Block a user