Skip to main content

This package contains implementation of Pong game with Google Gemini AI integrated into it.

Project description

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.

Project details


Release history Release notifications | RSS feed

This version

1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

gemini_pong-1.tar.gz (1.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

gemini_pong-1-py3-none-any.whl (1.8 kB view details)

Uploaded Python 3

File details

Details for the file gemini_pong-1.tar.gz.

File metadata

  • Download URL: gemini_pong-1.tar.gz
  • Upload date:
  • Size: 1.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.4

File hashes

Hashes for gemini_pong-1.tar.gz
Algorithm Hash digest
SHA256 4c26bb5a42f72e531b784154db3308b41fd18bbd514d285f553a2f329ed83138
MD5 e6637daff77a1fe04d1d99d44614ae50
BLAKE2b-256 0f90662940c6d5c399a14a5d024c9fb53143f213b7e9c770acbb42b9016a3d15

See more details on using hashes here.

File details

Details for the file gemini_pong-1-py3-none-any.whl.

File metadata

  • Download URL: gemini_pong-1-py3-none-any.whl
  • Upload date:
  • Size: 1.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.4

File hashes

Hashes for gemini_pong-1-py3-none-any.whl
Algorithm Hash digest
SHA256 a5f85d49e060e86c55d2a6d5bf45fbece58832ab029a61ba6c0e6942fb89377f
MD5 d99f27ff97257daf3ee74f94ee7bfef6
BLAKE2b-256 80084072220c32d5b10975a9d42169c83155bc1213e40f46baec5704c9842e5e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page