PtokaX forum

Archive => Archived 5.1 boards => Finished Scripts => Topic started by: CHILLCODE? on 27 November, 2006, 01:00:49

Title: Connect4
Post by: CHILLCODE? on 27 November, 2006, 01:00:49
Taken from OGS, ported to Ptokax, anybody interested in chess?
I could also use some ideas on how to check for a WIN in the game,
maybe even a better way of handling the field, but else it works
Title: Re: Connect4
Post by: dodgeviper on 27 November, 2006, 11:49:34
can u please explain abt the game...i am sorry but i don't have any ideas abt it..
Title: Re: Connect4
Post by: CHILLCODE? on 27 November, 2006, 19:49:55
thx Mutor, yeah this MicroSoft SansSerif font really gave UwVerlosser some hard times,
but true it is very retro, that would explain why these board games,
never got as popular as a game played in main chat, and I would also have the cool
games LUDO (my favourite) and chess, still
was fun coding it.

and dodge this should be a game that you can play with another user.
when your font in your client is set to microsoft sansserif 8, you should be able to see a board
with numbers on top from 1 to 7,
the users whos turn it is has to type a number and then a disk will fall into that row
you have to try to connect 4 disks in any direction.

Title: Re: Connect4
Post by: Dessamator on 27 November, 2006, 21:05:43
Looks a lot like chilla's code or is it ur new nick? :)
Title: Re: Connect4
Post by: CHILLCODE? on 28 November, 2006, 13:34:38
Yup Dessamator I've been using various nicks :S,
I think they all suck but I stick with something with chill somehow,
although I decreased somking a lot ;).
Title: Re: Connect4
Post by: Dessamator on 02 December, 2006, 21:25:10
Nice, seemed like something you'd make, btw did u manage to implement the A.I. for the the chess script?
Title: Re: Connect4
Post by: CHILLCODE? on 03 December, 2006, 12:02:38
Sure, this script will show Deep Blue who's the master.
Seriously no, I have no expirience in chesscomputer programming, but would be intersting indeed,
any suggestions?
Title: Re: Connect4
Post by: Dessamator on 03 December, 2006, 16:43:24
Me neither, it would have to "think" a few steps ahead of the opponent and be able to move according to his opponent's move.Tic tac toe , on the other hand would be a whole lot simpler.