version with bugs but interaction between players working