PDA

View Full Version : Noughts and Crosses.



nets
24-12-2005, 12:49 PM
Its kind of pointless really, but it was fun to make and I was trying to see what sort of games you could make with PHP and HTML.

I'm going to make it look nicer when I have some time, but for now I'll just leave it as it is.
Some functions:
Doesn't refresh when not needed (during choosing a piece).
High scores.
Register accounts with passwords.
Auto kicks players who spend more than 10 minutes whilst someone is waiting (uses unix time stamps).

http://joshh.co.uk/noughtsandcrosses/

paradox
24-12-2005, 12:51 PM
*waits for someone to join him* :)

nets
24-12-2005, 12:51 PM
Done... :P

paradox
24-12-2005, 12:54 PM
lmao, that was a easy win x]

nets
24-12-2005, 12:54 PM
I'm terrible at it.

paradox
24-12-2005, 12:54 PM
lol you basically gave it to me on a plate xD
I thought u done well though.

nets
24-12-2005, 12:56 PM
The maximum amount of players has already been met, please come back later. [Time untill current players are auto kicked: 466 seconds]
Current players in the arena:
Player1: Helen
Player2: brandon
I can't join :p

timROGERS
24-12-2005, 01:07 PM
Someone join me :D

nets
24-12-2005, 01:09 PM
Someone join me :D
Done..........

Admin won the game!
(At last).

timROGERS
24-12-2005, 01:13 PM
I won my next one ;D How is it made, sessions?

nets
24-12-2005, 01:17 PM
I won my next one ;D How is it made, sessions?
Its hard to explain how all of it works, I'll just say: MySQL and Cookies.
Also you're gonna get auto kicked soon.


The maximum amount of players has already been met, please come back later. [Time untill current players are auto kicked: 180 seconds]
Current players in the arena:
Player1: Charlie
Player2: TIm

Anderman
24-12-2005, 01:17 PM
Is it run on Mysql?
If so it should be able to handle more than 2 bloodey players

ozzie-ing
24-12-2005, 01:20 PM
i made one in flash which includes os and xs and chess and includes a chat room and hold 20 people

nets
24-12-2005, 01:21 PM
Is it run on Mysql?
If so it should be able to handle more than 2 bloodey players
It can, its just I've restricted it.

nets
24-12-2005, 01:22 PM
i made one in flash which includes os and xs and chess and includes a chat room and hold 20 people
Anyone who could make a chess game would not use colour atributes in the body tag.

Anderman
24-12-2005, 01:26 PM
Its allways best to let you site be viewed to its best extent

ozzie-ing
24-12-2005, 01:30 PM
Anyone who could make a chess game would not use colour atributes in the body tag.
*** u on bout lol i dont use html or nything i use flash

Craig
24-12-2005, 01:32 PM
Cor,never realised you cud do that ;o

Sygon
24-12-2005, 01:33 PM
*** u on bout lol i dont use html or nything i use flash

George first time im gonna say this, no offence dude but shut up

Anderman
24-12-2005, 01:37 PM
Srong words,
Stong words.....

ozzie-ing
24-12-2005, 01:38 PM
George first time im gonna say this, no offence dude but shut up
:/ youve told me 2 shut up loads of times on msn

nets
24-12-2005, 01:39 PM
*** u on bout lol i dont use html or nything i use flash
Ok "In chess, there are 169,518,829,100,544,000,000,000,000,000 ways to play the first ten moves" (Thanks Mentor :P).
To make a chess game you would need to create a script which understands the rules of chess, where your pieces are and the moves which each piece can make (as you can't just have every possible situation programmed in, see the fact above).
Now to make a script like that you would have to be pretty advanced in codeing, and seeing as you can't use a basic mark up language (html) I doubt you could create a chess game in flash or even a simple noughts and crosses game.

Luckyrare
24-12-2005, 01:40 PM
Good work dude, You could have like 3 chanels or/& have invite someone to play?

Craig
24-12-2005, 01:42 PM
Im soo rubish ;[

I lost to Ross =[

Dan Williamson
24-12-2005, 01:42 PM
Played last night Josh.

Still think it's pretty awesome. Although I saw what it would be like beforehand :)

- Dan

Sygon
24-12-2005, 01:43 PM
:/ youve told me 2 shut up loads of times on msn

yes i have lol :D

nets
24-12-2005, 01:47 PM
Good work dude, You could have like 3 chanels or/& have invite someone to play?
My original idea was that someone would make a game, then you would type in their username to play them (so no limit to how many games). But because I wanted it to be a simple game which you could just go onto and play, I removed that all together.

Craig
24-12-2005, 01:51 PM
Still is damn good tho.

ozzie-ing
24-12-2005, 02:20 PM
Ok "In chess, there are 169,518,829,100,544,000,000,000,000,000 ways to play the first ten moves" (Thanks Mentor :P).
To make a chess game you would need to create a script which understands the rules of chess, where your pieces are and the moves which each piece can make (as you can't just have every possible situation programmed in, see the fact above).
Now to make a script like that you would have to be pretty advanced in codeing, and seeing as you can't use a basic mark up language (html) I doubt you could create a chess game in flash or even a simple noughts and crosses game.
theres a code in 1 of my flash books where is it hmmm oh yes this its called flash game demensified

inserts amazon here (http://www.amazon.co.uk/exec/obidos/ASIN/0735713987/qid=1135434070/sr=8-1/ref=pd_ka_1/026-4153373-1533267) cost me £50 when it came out

nets
24-12-2005, 02:22 PM
theres a code in 1 of my flash books where is it hmmm oh yes this its called flash game demensified o
Ok show me a chess game which you coded yourself (and prove you coded it).

JoeComins
24-12-2005, 02:23 PM
Someone play me

ozzie-ing
24-12-2005, 02:24 PM
Ok show me a chess game which you coded yourself (and prove you coded it).
i might of delete it ill search my comp later i wiped aload of my flash files but i think i still have it also i didnt create the code i followed it in the book but i combine the 3 (chat room os and xs and chess)

Tomush
24-12-2005, 06:22 PM
someone join :D

ozzie-ing
24-12-2005, 06:44 PM
Parse error: parse error, unexpected $ in /home/joshhco/public_html/noughtsandcrosses/play.php on line 35

infatuation
24-12-2005, 06:53 PM
Someone join!

Jamie.
24-12-2005, 08:48 PM
anyone care to join me lmao

Want to hide these adverts? Register an account for free!