Lotto
by
navyad55
It is a server-client application to play lottery. I used the advance networking technique called RMI(Remote Method Invocation) in java. The client enters 6 numbers in the range of 1-50 and send to server.The server generates a random number and checks if this number matches any of numbers send by client. If match is successful server send a message "win" otherwise sends message "loss" .