logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

pong - Pong Home Video Game Emulator

Author

       Original Pong program by Jeremy English <jenglish@myself.com>. Scoring and television emulation by Trevor
       Blackwell <tlb@tlb.org>.

X Version 11                                   6.08 (10-Oct-2023)                                       pong(6x)

Description

       The pong program simulates an ancient Pong home video game, as well as various artifacts from  displaying
       it on a color TV set.

Environment

DISPLAY to get the default host and display number.

       XENVIRONMENT
               to get the  name  of  a  resource  file  that  overrides  the  global  resources  stored  in  the
               RESOURCE_MANAGER property.

       XSCREENSAVER_WINDOW
               The window ID to use with --root.

Name

       pong - Pong Home Video Game Emulator

Options

pong accepts the following options:

       --window
               Draw on a newly-created window.  This is the default.

       --root  Draw on the root window.

       --window-idnumber
               Draw on the specified window.

       --mono  If on a color display, pretend we're on a monochrome display.

       --install
               Install a private colormap for the window.

       --visualvisual
               Specify  which  visual  to  use.   Legal  values are the name of a visual class, or the id number
               (decimal or hex) of a specific visual.

       --clock The score of the game will be the current time.

       --noisefloat
               How noisy the video signal should be (between 0.0 and 4.0 or so).

       --fps   Display the current frame rate and CPU load.

       (-p1|--p2)mode
               Set a player to either ai, mouse, tablet, kbleft (for W and S), or kbright (or just kb, for arrow
               keys).

See Also

X(1), xscreensaver(1), xanalogtv(6x), apple2(6x)

Synopsis

pong  [--display  host:display.screen]  [--foreground  color]  [--background  color]  [--window] [--root]
       [--window-id number][--mono] [--install] [--visual visual] [--clock float] [--noise] [--fps]

Trademarks

       Pong may be a trademark.

X Resources

       Notable  X  resources  supported  include  the  following  which  correspond  to  standard  TV  controls:
       analogTVTint, analogTVColor, analogTVBrightness, and analogTVContrast.  They range from 0 to 100,  except
       for tint which is an angle between -180 and +180.

See Also