important update #2

modified the code to make multi-player control instead of single player
control.

fix bugs on new changes.