ATTENTION: You are viewing a page formatted for mobile devices; to view the full web page, click HERE.

DonationCoder.com Software > Borland C++ Builder Contest

Gamechat entry

(1/2) > >>

martyjn:
The submision that i am making to the borland competition is  a Lan or network game/chat server.Game chat makes a winsock connection betweeen the two processes and allows a simple text chat over this connection as well as gameplay for chess,checkers,norts and crosses and Reversi.It  is still at the Beta testing stage and i would appreciate anyones feedback or suggestions there are a few bugs that i know a bout and i am sure plenty that i havent found yet .
here is  a screenshot of the main program.

and of the chess game

My website has a page explaining the process of using the program at
http://www.members.optusnet.com.au/~martyjn/ and go to the page on GameChat
or the program can be directly downloaded from
http://www.members.optusnet.com.au/~martyjn/GameChat.zip
I would appreciate any feedback.
marty

mouser:
fun  :Thmbsup:
now i just have to teach my cat how to play checkers so it can play against me from the other room  :huh:

martyjn:
I need a few people to help me test gamechat as i write it my msn messenger account is [email protected] so if anyone can help play checkers chess or reversi het the file attached to this (the current version)and send me an email.

mouser:
stop by the irc channel (#donationcoder on efnet); i'm busy sunday but i can help on monday.

martyjn:
!!!!warning this post is heavy!!!!
this post is about changing mirc to allow it to launch GameChat from irc!!!!!

I have changed my Mirc script to allow the Gamechat to be launched off irc ie the #donationcoder irc I have tested it on my local machine but not across the network yet (I invited myself to play) Gamechat.exe has to be either in the mirc directory or in the execution path for windows i added

InviteGameChat:{ /msg $1 runGameChat
  /run gamechat.exe server
}

to the popup tab in edit sript this sends a private message to the highlighted nickname in the nickname window when right clicked and InviteGamechat clicked on the popup window and runs GameChat with server passed as the commandline function telling it to run as server.Two seperate events are then added to handle the invitation on the recieving computer in the Remote tab.

on 1:DNS: /run gamechat.exe   $dns(1).addr   

on 1:TEXT: runGameChat*:?: /dns $nick

The Second responds to the Private message sent from the invitatin computer and does the domain name search dns on the nickname of the sending computer the dns function in turn calls the on DNS handler in the first line that runs gamechat and passes in the addr of the invitation computer allowin gamechat to connect to the invitation computers (server)Gamechat and Play Gamechat.To use this feature you need the latest version of GameChat that takes the commandline data from

http://www.members.optusnet.com.au/~martyjn/GameChat.zip

note changing the dns handler as above means that any dns lookup will launch GameChat and attempt to connect to the lookup.
I dont know if a similar thing can be accomplished in other irc clients.What i am trying to accomplish is to be able to challenge other users on the  #donationcoder channel (or any irc for that matter) to games that are part of Game chat(presently chess,checkers,Reversi and norts and crosses) and games that i add to this list.For any one that wants to attemp this in another irc client program Game chat needs to be passed server on the commandline to act as a server.And address on the commandline(where address is the address of the server  or its IP number) to act as the client to connect to the server.
Note i do plan on adding dialogs to ask the reciever before connecting i need to test it first.
I am sorry if i didnt explain this very well.

Navigation

[0] Message Index

[#] Next page

Go to full version