Get the latest tech news
Implementing "Tennis for Two" using op amps (2024)
“Tennis for Two” is the name given to an early video game implemented on an analog computer. See https://en.wikipedia.org/wiki/Tennis_for_Two and https://en.wikipedia.org/wiki/Early_history_of_video_games for more information on the game itself.
(Check https://en.wikipedia.org/wiki/Op_amp_integrator or similar to learn more) The op amp’s output will be inverted To make the integration slow enough, we need capacitors with a high capacitance. Before we dream of making an ergonomic controller (yes yes, it should incorporate glass and steel and Nixie tubes to display the current score), let’s think about what the X axis is even supposed to look like. These logic chips could be replaced with BJTs if you want to make the whole thing more era-appropriate, but you might find that the naive AND/OR gate implementations are a bit janky.
Or read this on Hacker News