Total members 11893 |It is currently Tue Nov 05, 2024 6:47 am Login / Join Codemiles

Java

C/C++

PHP

C#

HTML

CSS

ASP

Javascript

JQuery

AJAX

XSD

Python

Matlab

R Scripts

Weka





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




_________________
M. S. Rakha, Ph.D.
Queen's University
Canada


Author:
Mastermind
User avatar Posts: 2715
Have thanks: 74 time

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


Author:
Newbie
User avatar Posts: 4
Have thanks: 0 time

Do you have the code for snake2d

_________________
M. S. Rakha, Ph.D.
Queen's University
Canada


Author:
Mastermind
User avatar Posts: 2715
Have thanks: 74 time

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


Author:
Newbie
User avatar Posts: 4
Have thanks: 0 time

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

_________________
M. S. Rakha, Ph.D.
Queen's University
Canada


Author:
Mastermind
User avatar Posts: 2715
Have thanks: 74 time
Post new topic Reply to topic  [ 5 posts ] 

  Related Posts  to : Snake applet
 j2me Red Snake 3D     -  
 Simple Snake Game     -  
 Snake Java (SE) Game     -  
 Snake 3d on mobile (J2me)     -  
 Snake Game 2D (J2SE)     -  
 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     -  









Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
All copyrights reserved to codemiles.com 2007-2011
mileX v1.0 designed by codemiles team
Codemiles.com is a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for sites to earn advertising fees by advertising and linking to Amazon.com