Quest 1. Develop an src/pong.c program for a two-player game, similar to Pong. To display the graphics, only use ASCII characters (with output to the terminal). You need to implement the step-by-step version using only the material of the course studied so far and the standard library.
-
A/Z and K/M — to move the rackets;
-
Space Bar — to skip an action at a certain step of the game in step-by-step mode.
-
The field is a 80 × 25-symbol rectangle.
-
Racket size is 3 symbols;
-
Ball size is 1 symbol.
-
UI/UX
When one of the players scores 21 points, congratulations to the winner are displayed on the screen and the game ends.
Quest 2. Dinamic version of the Pong (real-time game mode). Additional libraries can be used to simplify the processing of the players' actions and displaying symbolic graphics.
Pong, groundbreaking electronic game released in 1972 by the American game manufacturer Atari, Inc. One of the earliest video games, Pong became wildly popular and helped launch the video game industry. The original Pong consisted of two paddles that players used to volley a small ball back and forth across a screen.
The German-born American television engineer Ralph Baer laid the groundwork for Pong in 1958 when he proposed making simple video games that people could play on their home television sets. The Magnavox Odyssey, known as the first console video game system, was released in 1972 and offered a game of table tennis, or Ping-Pong. Atari founder Nolan Bushnell created Pong, his version of this concept, as an arcade game. A small company at the time, Atari began manufacturing the games in an old roller skating rink, and by 1972 the company had sold more than 8,000 Pong arcade machines. In 1975 Atari turned Pong into a console system game. After striking an exclusive deal with Sears, Roebuck and Company, Pong was soon in the homes of many American families. Pong’s popularity declined in the 1980s as video games temporarily went out of style, but it had already secured its place in history as the most popular arcade game up to that time.
In 1974 the makers of the Magnavox Odyssey sued Atari for stealing the concept for Pong. Magnavox won the lawsuit in 1977, upholding the company’s patent, but by then Atari had already licensed the patent for $700,000.
