Skip to main content

Gemini Pong

Pong game with Google Gemini AI integrated into it.

Source Code

The source code of the game Gemini Pong is available in Source Code.

Installation

pip install gemini_pong

How to Run the Game?

Pre-requisites:

  1. Python installed in your device.
  2. .env file in the same directory as <GEMINI_PONG_DIRECTORY> and has the value of GEMINI_API_KEY.
cd <GEMINI_PONG_DIRECTORY>
python gemini_pong.py

Note: Replace <GEMINI_PONG_DIRECTORY> with the path to the directory of the game Gemini Pong.

Then, the game will start like as follows.

Gameplay

The player uses the paddle on the left side of the screen. Press the "UP" and "DOWN" keys to move the paddle.

Release files for gemini-pong 1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for gemini-pong 1
File Size Uploaded
gemini_pong-1.tar.gz 1.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for gemini-pong 1
File Interpreter ABI Platform
gemini_pong-1-py3-none-any.whl Python 3 none any Details

Total release size: 3.5 kB

Release files / gemini_pong-1.tar.gz

Download URL gemini_pong-1.tar.gz
Size 1.7 kB
Tags Source
SHA-256 checksum
How to use checksums
4c26bb5a42f72e531b784154db3308b41fd18bbd514d285f553a2f329ed83138
BLAKE2b-256 checksum
How to use checksums
0f90662940c6d5c399a14a5d024c9fb53143f213b7e9c770acbb42b9016a3d15
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.9.4

Release files / gemini_pong-1-py3-none-any.whl

Download URL gemini_pong-1-py3-none-any.whl
Size 1.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a5f85d49e060e86c55d2a6d5bf45fbece58832ab029a61ba6c0e6942fb89377f
BLAKE2b-256 checksum
How to use checksums
80084072220c32d5b10975a9d42169c83155bc1213e40f46baec5704c9842e5e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.9.4

Release history Release notifications | RSS feed

This release

1 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page