stupidIA just rand
This commit is contained in:
parent
e1cfeb1e1b
commit
a225f5e172
|
@ -209,7 +209,8 @@ switch($_POST['act']){
|
||||||
case "fight":
|
case "fight":
|
||||||
if((is_int($_POST['width'])) && (is_int($_POST['height']))){
|
if((is_int($_POST['width'])) && (is_int($_POST['height']))){
|
||||||
echo rand(0,$_POST['width']).",".$_POST['height'];
|
echo rand(0,$_POST['width']).",".$_POST['height'];
|
||||||
die;
|
}else{
|
||||||
|
echo "boaf".$_POST['width']."-".$_POST['height'];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user