これは、もっとも古いアーケードビデオゲームのひとつであるアタリの ポンにインスパイアされたゲームです。 この二人用ゲームでは、各プレイヤーが白い矩形で表されるパドルを操作します。WおよびSキーは左側のパドルを上下に動かし、上矢印および下矢印キーは右側のパドルを上下に動かします。 プレイヤーは、白い正方形で表されるボールを相手のキャンバスの端を越えさせることでポイントを獲得します。
ピンポン: Created by Caleb Foss. From 2024 onwards, edited and maintained by p5.js Contributors and Processing Foundation. Licensed under CC BY-NC-SA 4.0.
You can find the code history of these examples here: 2023 code. You can suggest improvements by contributing to the current website!