If got lag or problem pls notify me in the comments red paddle moves with mouse in all 3 modes in up red down blue, if the mouse is in the upper part of the screen it controls red, if in lower part then control blue in take turns, 0 means move red, 1 means move blue, like pingpong(table tennis)
It's a classic idea, so credits to just about anyone