php complete, client side game play not implemented