While reading this thread a while ago i wanted to test, if i could get such an ASCII game working ingame. After finishing it, i never thought of releasing, but now while i'm playing against the computer (who never does any mistakes) and having so much fun with this thrilling game, i'd like to give everyone the chance to have a round.
It features 2 public commands:
sm_pong - Opens a menu with options to invite another player or play against the computer
sm_pquit - Surrender players current Pong game
And two ConVars:
sm_pong_version - ...
sm_pong_onlydead - Allow only dead or spectating players to play pong. (Default: 1)
Notice that ball movement speed varies somehow on different servers. If it's too slow for you, change the PONG_BALL_FRAMERATE define and recompile.
Quote:
Changelog:
1.0: Initial release
1.1: Added sm_pong_onlydead convar, increased framerate by default
1.2: Added 3 seconds countdown before starting a game
1.2.1: Now uses correct utf8 chars with same width. Fixed speed increasing over time. Fixed right paddle didn't hit correctly.