Switch to full style
Java2 codes,problems ,discussions and solutions are here
Post a reply

Snake applet

Mon May 26, 2008 12:36 am

This an applet for a simple snake game ... just make the snake eat more :grin:




Re: Snake applet

Wed Jul 02, 2008 7:40 am

The game was looking nice.Please help me how to implement in Network(client/server) Using Java RMI.

Re: Snake applet

Wed Jul 02, 2008 12:42 pm

Do you have the code for snake2d

Re: Snake applet

Wed Jul 02, 2008 12:50 pm

not exact,I have implemented on my own.............but unable to sought out in distributed systems using RMI

Re: Snake applet

Wed Jul 02, 2008 4:49 pm

sudheerkarumanchi wrote:not exact,I have implemented on my own.............but unable to sought out in distributed systems using RMI


So you want to make 2 players .server and client . Using RMI , you need to transfer the object .Here is in snake game we care about tow things the position of snake body and position of Food . I think you can send these object every small period of time for both sides in the game .

Or another thought , you can just send the action of the players . for example right- left0 up-down , form client to server and vice versa . :grin:

what you think , did you ever worked with RMI before , do you have any RMI codes

Post a reply
  Related Posts  to : Snake applet
 j2me Red Snake 3D     -  
 Snake Game 2D (J2SE)     -  
 Simple Snake Game     -  
 Snake Java (SE) Game     -  
 Snake 3d on mobile (J2me)     -  
 need help in java 1.4 snake game project     -  
 Need Snake Game implemented using J2me on Mobile     -  
 load class to applet- load frame class to applet     -  
 First Applet     -  
 add applet to jsp     -