Tic Tac Toe, Xogame.php For Lavalair?

Started on the old forum in September 2007 · view the original in the archive · old links redirect here

19 replies · 2,261 views · started 19 years ago · 1 min read

TL;DR · summary of 19 replies
  • subzero: Lmao spider im not going around saving your ass lol well if he thinks he a coder why not show it hmmmmmm good ponit there spider,
  • alexism: THEORY is when you know something, but it doesn't work. PRACTICE is when something works, but you don't know why.
  • Guest: this bastard alexism is owner of guy is bastard gay....

Written automatically from the replies by a language model on our own server. It can be wrong; the posts below are the source.

8 participants
maul #1

hi personal, can arrange me xogame.php? please, I do not have it, I want for it in mine wap site of lavalair script

amylee Principal · 1,092 posts #2

use search its in here somewhere

maul #3

use search its in here somewhere

already I used, more I did not find php, I found some complements, I am only back of .php

SiLeNce Developer · 138 posts #4

yeah..

juz search it

Guest #5
<?php header("Content-Type: text/vnd.wap.wml"); $pagetitle='php3T 1.2'; $pagebackground='lightgreen'; $pageimage='title.gif'; $pageimagealt=$pagetitle; $tblbackground='darkgreen'; $cellbackground='lightgreen'; $ximage='x.jpg'; $ximagealt='x'; $oimage='o.jpg'; $oimagealt='o'; $defaultdifficulty='difficulty'; if (isset($new)) { session_start(); unset($b); unset($turn); unset($cdiff); session_destroy(); } session_start(); if (! isset($turn)) { session_register(turn); $turn=1; session_register(![](http://www.2wap.org/forums/style_emoticons/<#EMO_DIR#>/cool.gif); session_register(cdiff); if ($diff == 'e') $cdiff = 'Easy'; elseif ($diff == 'n') $cdiff = 'Normal'; elseif ($diff == 'i') $cdiff = 'Impossible'; else $cdiff = $defaultdifficulty; } global $b; global $gwin; global $gover; print "<?xml version=\"1.0\" encoding=\"utf-8\"?> <!DOCTYPE wml PUBLIC \"-//WAPFORUM//DTD WML 1.2//EN\" \"http://www.wapforum.org/DTD/wml12.dtd\">";

print "<wml><head><meta forua="true" http-equiv="Cache-Control" content="max-age=100000"/></head> <card id="card1" title="X and O">

*you are allways X ";

//take input if got input if (isset($mv)) $b[$mv]='x';

checkwin(); checkfull();

// calculate computers move if ($gover <> 1 && $gwin == '' && $mv <> '') { if ($cdiff == 'Easy') { comprand(); } elseif ($cdiff == 'Normal') { compmove();

	if ($cmv == '')
	{
		comprand();
	}
}
elseif ($cdiff == 'Impossible')
{
	compmove();
	if ($cmv == '')
	{
		if ($b[4] == '')
			$cmv=4;
		elseif ($b[0] == '')
			$cmv=0;
		elseif ($b[2] == '')
			$cmv=2;
		elseif ($b[6] == '')
			$cmv=6;
		elseif ($b[8] == '')
			$cmv=8;
		if ($cmv == '')
			comprand();
	}

}
$b[$cmv] = 'o';

} // ********** checkwin(); checkfull();

for ($i = 0; $i <= 8; $i++) { if ($i == 0 || $i == 3 || $i == 6)

print '';

if ($b[$i] == 'x')
	print '![](#)';
elseif ($b[$i] == 'o')
	print '![](#)';
elseif ($gwin == '')
 print '![](#)';//////////////your site name\\\\\\

if ($i == 2 || $i == 5 || $i == ![](http://www.2wap.org/forums/style_emoticons/<#EMO_DIR#>/dirol.gif)

print ' '; }

if ($gwin == 'O' || $gwin == 'X') print "$gwin- win the countest. "; elseif ($gover == 1) print 'NULL-play again. ';

print '*choose game:<select name="diff" value="n"><option value="e">easy</option><option value="n">hard</option><option value="i">again</option></select><anchor title="go">go<go href="index.php" method="post"><postfield name="diff" value="$(diff)"/><postfield name="new" value="new"/></go></anchor>

';

print 'Home";

</card></wml>';//////////////YOUR SITE NAME\\\\\\\

functions:

function checkfull() { global $b; global $gover;

$gover = 1;
for ($ii = 0; $ii <= 8; $ii++)
{
	if ($b[$ii] == '')
	{
		$gover = 0;
		return;
	}
}

}

function checkwin() { global $b; global $gwin; $c=1; while ($c <= 2) { if ($c == 1) $t='o'; else $t='x'; if ( # horizontal ($b[0] == $t && $b[1] == $t && $b[2] == $t) || ($b[3] == $t && $b[4] == $t && $b[5] == $t) || ($b[6] == $t && $b[7] == $t && $b[8] == $t) || # vertical ($b[0] == $t && $b[3] == $t && $b[6] == $t) || ($b[1] == $t && $b[4] == $t && $b[7] == $t) || ($b[2] == $t && $b[5] == $t && $b[8] == $t) || # diagonal ($b[0] == $t && $b[4] == $t && $b[8] == $t) || ($b[2] == $t && $b[4] == $t && $b[6] == $t)) { $gwin = strtoupper($t); return; } $c++; } }

function compmove() { global $cmv; global $b; for ($c = 0; $c <=1; $c++) { if ($c == 0) $t='o'; else $t='x';

	if ($b[0] == $t && $b[1] == $t && $b[2] == '')
		$cmv = 2;
if ($b[0] == $t && $b[1] == '' && $b[2] == $t)
		$cmv = 1;		
	if ($b[0] == '' && $b[1] == $t && $b[2] == $t)
		$cmv = 0;
	if ($b[3] == $t && $b[4] == $t && $b[5] == '')
		$cmv = 5;
	if ($b[3] == $t && $b[4] == '' && $b[5] == $t)
		$cmv = 4;		
	if ($b[3] == '' && $b[4] == $t && $b[5] == $t)
		$cmv = 3;
		
	if ($b[6] == $t && $b[7] == $t && $b[8] == '')
		$cmv = 8;
	if ($b[6] == $t && $b[7] == '' && $b[8] == $t)
		$cmv = 7;		
	if ($b[6] == '' && $b[7] == $t && $b[8] == $t)
		$cmv = 6;

	if ($b[0] == $t && $b[3] == $t && $b[6] == '')
		$cmv = 6;
	if ($b[0] == $t && $b[3] == '' && $b[6] == $t)
		$cmv = 3;		
	if ($b[0] == '' && $b[3] == $t && $b[6] == $t)
		$cmv = 0;
		
	if ($b[1] == $t && $b[4] == $t && $b[7] == '')
		$cmv = 7;
	if ($b[1] == $t && $b[4] == '' && $b[7] == $t)
		$cmv = 4;		
	if ($b[1] == '' && $b[4] == $t && $b[7] == $t)
		$cmv = 1;
	if ($b[2] == $t && $b[5] == $t && $b[8] == '')
		$cmv = 8;
	if ($b[2] == $t && $b[5] == '' && $b[8] == $t)
		$cmv = 5;		
	if ($b[2] == '' && $b[5] == $t && $b[8] == $t)
		$cmv = 2;


	if ($b[0] == $t && $b[4] == $t && $b[8] == '')
		$cmv = 8;
	if ($b[0] == $t && $b[4] == '' && $b[8] == $t)
		$cmv = 4;		
	if ($b[0] == '' && $b[4] == $t && $b[8] == $t)
		$cmv = 0;
		
	if ($b[2] == $t && $b[4] == $t && $b[6] == '')
		$cmv = 6;
	if ($b[2] == $t && $b[4] == '' && $b[6] == $t)
		$cmv = 4;		
	if ($b[2] == '' && $b[4] == $t && $b[6] == $t)
		$cmv = 2;
	if ($cmv <> '')
		break;
}

} function comprand() { global $b; global $cmv; srand ((double) microtime() * 1000000); while (! isset($cmv)) { $test=rand(0, External image (may be gone); if ($b[$test] == '') $cmv=$test; } } ?> try this.make a folder called xo then make an index.php file with this code & upload those images given below

Attachments: prohorxo.zip
subzero Super moderator Fellow · 3,954 posts #6

File error

where get sid(); lol

Visit: Chat4u.mobi - The New Lay Of being a site of your dreams! Visit: WapMasterz Coming Back Soon!


SCRIPTS FOR SALE BY SUBZERO Chat4u Script : coding-talk.com/f28/chat4u-mobi-script-only-150-a-17677/ - > Best Script for your site no other can be hacked by sql or uploaders. FileShare Script : coding-talk.com/f28/file-wap-share-6596/ -> Uploader you will never regret buying yeah it mite be old now but it still seems to own others... _______…

alexism Developer · 136 posts #8

so many error in this coding..just sit back n eat ur shit if u just want to post a fucking coding..!!

amylee Principal · 1,092 posts #9

so many error in this coding..just sit back n eat ur shit if u just want to post a fucking coding..!!

and i dont see you sharing anything

metulj Super moderator Principal · 1,726 posts #11

so many error in this coding..just sit back n eat ur shit if u just want to post a fucking coding..!!

you should be BANNED from this forum External image (may be gone)

It's better to keep your mouth shut and give the impression that you're stupid, than to open it and remove all doubt. ⓣⓗⓔ ⓠⓤⓘⓔⓣⓔⓡ ⓨⓞⓤ ⓑⓔ©ⓞⓜⓔ, ⓣⓗⓔ ⓜⓞⓡⓔ ⓨⓞⓤ ⓐⓡⓔ ⓐⓑⓛⓔ ⓣⓞ ⓗⓔⓐⓡ ! ιη тнєσяу, тнє ρяα¢тι¢є ιѕ α яєѕυℓт σƒ тнє тнєσяу, вυт ιη ρяα¢тι¢є ιѕ тнє σρρσѕιтє.

キノgんイノ刀g 4 ア乇ムc乇 ノ丂 レノズ乇 キucズノ刀g 4 √ノ尺gノ刀ノイリ!

metulj Super moderator Principal · 1,726 posts #13

It's better to keep your mouth shut and give the impression that you're stupid, than to open it and remove all doubt. ⓣⓗⓔ ⓠⓤⓘⓔⓣⓔⓡ ⓨⓞⓤ ⓑⓔ©ⓞⓜⓔ, ⓣⓗⓔ ⓜⓞⓡⓔ ⓨⓞⓤ ⓐⓡⓔ ⓐⓑⓛⓔ ⓣⓞ ⓗⓔⓐⓡ ! ιη тнєσяу, тнє ρяα¢тι¢є ιѕ α яєѕυℓт σƒ тнє тнєσяу, вυт ιη ρяα¢тι¢є ιѕ тнє σρρσѕιтє.

キノgんイノ刀g 4 ア乇ムc乇 ノ丂 レノズ乇 キucズノ刀g 4 √ノ尺gノ刀ノイリ!

alexism Developer · 136 posts #15

External image (may be gone)

THEORY is when you know something,
but it doesn't work.
PRACTICE is when something works,
but you don't know why.
PROGRAMMERS combine theory and practice:
Nothing works and they don't know why!

You have ONLY ONE advantage over me... you can kiss my ass, and I cant!

SpiderWap Lead · 622 posts #17

so many error in this coding..just sit back n eat ur shit if u just want to post a fucking coding..!!

Someone please bann this fucker hes been iritating the living shit out of me lately.

lol he gave me another site url said its his, lol it wasnt evin hes work...

and so much better he said hes a much better coder than what i am, lol bullshit i never saw him sharing shit or saw any coding from him...

Has he ever released any script? Has he ever shared any coding? Has he ever uploaded an attatchement? NO!!!

So fuk off Alexism!!!

subzero Super moderator Fellow · 3,954 posts #18

Lmao spider im not going around saving your ass lol

well if he thinks he a coder why not show it hmmmmmm good ponit there spider,

Visit: Chat4u.mobi - The New Lay Of being a site of your dreams! Visit: WapMasterz Coming Back Soon!


SCRIPTS FOR SALE BY SUBZERO Chat4u Script : coding-talk.com/f28/chat4u-mobi-script-only-150-a-17677/ - > Best Script for your site no other can be hacked by sql or uploaders. FileShare Script : coding-talk.com/f28/file-wap-share-6596/ -> Uploader you will never regret buying yeah it mite be old now but it still seems to own others... _______…

SiLeNce Developer · 138 posts #20

Someone please bann this fucker hes been iritating the living shit out of me lately.

lol he gave me another site url said its his, lol it wasnt evin hes work...

and so much better he said hes a much better coder than what i am, lol bullshit i never saw him sharing shit or saw any coding from him...

Has he ever released any script? Has he ever shared any coding? Has he ever uploaded an attatchement? NO!!!

So fuk off Alexism!!!

MalaysiaN TranslatioN ~ ..

( Jangan Hanya Tahu Mengambil Dan Tidak Tahu Mengucapkan Terima Kasih, Jangan Hanya Tahu Guna Tetapi Tidak Syukur Dengan Apa Yang Diberikan.. )

( Jika Sesuatu Fail Itu Tidak Betul, Sila Praktikkan Sendiri Dan Cari Kelemahan Script Tersebut Ok ! , Perbanyakkan Latihan Bukannya Pengkritikan )

Jadi.. Fikir²kan Lah ..

Wassalam ~

Write your reply now; next you create a free account (or sign in) and it is posted right away. Sign in to reply.

Similar topics

Keyboard shortcuts

g f
Go to forums
g h
Go to your feed
g m
Go to messages
r
Reply (in a topic)
/
Search
j
Next post
k
Previous post
?
This list
Ctrl/⌘ + Enter
Send what you are writing
Ctrl/⌘ + B / I
Bold / italic while writing
Esc
Close