updated pong plugin for one player mode