Simple Java snake game using RMI