Revised to show expansion effect when the result arrive from server, and implemented room functionality on the server side.