Congratulations on your first game here!
It's a classic game of Pong, made slightly unusual by the two balls and a single-player mode without an opponent. The balls also change direction mid-air without hitting anything – I don't know if it's intended.
I also don't think I'd ever play the two-player version because the game ends after scoring the first goal and you usually don't invite people for 'a two-second game'. I'd make the two-player game end after 10 goals or something. I know you can restart it right away and count your score manually, but that's not the same.
Two main flaws:
– Please don't ever use alerts or prompts in games. They block the whole page until you confirm the window, are annoying and after a couple of them, the browser starts to block them automatically, so you'd have no idea what your score was.
Show the score in the game canvas (constantly updated, or just the final one).
– Arrow keys move the entire page. This is a common bug in HTML5 games, you need to block the relevant keycodes from being picked up by the browser:
https://www.newgrounds.com/wiki/developer-resources/unity3d-webgl-support#wiki_toc_6
Without that, the game is virtually unplayable.
Additionally, I don't quite understand what the score actually is. If it's time, then I have no idea what unit it's in, and besides, losing as soon as possible seems to always result in score 97 which is an odd choice to mean anything specific.
Oh, and once one of the balls got stuck inside the paddle and just wiggled back and front.
And why is 'soehn' being outputted to the browser console every time you start the game?