Skip to main content

gemini-ai-games

An application containing a compilation of games with Google Gemini AI integrated into them.

Pre-Installed Games

Name Author Latest Version
Gemini Number Guessing GlobalCreativeApkDev 1

Games Requiring Installation

Name Author Latest Version
Gemini Pro RPG GlobalCreativeApkDev 1.2

How to Add Your Game Requiring Installation?

  1. Enter the name of your game on a new line in the file games.txt.
  2. Ensure that the name of the game you entered is already available as a PyPi project, with the format containing at least like below, where [your_game_name] is the name of your game and [entry_point_name] is the name of the entry point of your game.

[your_game_name]

----└── [your_game_name]

--------├── [entry_point_name].py

----├── setup.py

  1. Create a fork or a new branch and then merge it to master branch of this repository.
  2. Add the game to either Games Requiring Installation section of this document.

How to Add Your Game as a Pre-Installed Game?

  1. Navigate to the directory pre-installed in this repo.
  2. Add a new subdirectory inside that directory, where the subdirectory consists all files required for your game with Google Gemini AI integrated into it.
  3. Create a fork or a new branch and then merge it to master branch of this repository.
  4. Add the game to either Pre-Installed Games section of this document.

Source Code

The source code of the application Gemini AI Games is found in main.py.

Installation

pip install gemini-ai-games

How to Use the Application?

Pre-requisites:

  1. Python installed in your device.
  2. .env file in the same directory as <GEMINI_AI_GAMES_DIRECTORY> and has the value of GEMINI_API_KEY.

First, open a Terminal or Command Prompt window and run the following commands.

cd <GEMINI_AI_GAMES_DIRECTORY>
python3 main.py

Note: Replace <GEMINI_AI_GAMES_DIRECTORY> with the path to the directory of the application Gemini AI Games.

Then, the application will start with something looking like in the screenshot below.

Main Menu

You can now do one of the following by following the instructions shown in the command prompt.

  1. Play a pre-installed game.
  2. Install a game.
  3. Play a game you have installed (not a pre-installed game).
  4. Uninstall a game.

Playing a Pre-Installed Game

Once you chose to play a pre-installed game, you can enter the index of the pre-installed game of your choice.

Play Pre-Installed Game

Then, the game of your choice is started.

Install a Game

Once you chose to install a game, you can enter the index of the game of your choice.

Install Game

Playing an Installed Game

Once you chose to play a game you have installed, you can enter the index of the game of your choice.

Play Installed Game

Then, the game of your choice is started.

Uninstall a Game

Once you chose to uninstall a game, you can enter the index of the game of your choice.

Uninstall Game

Release files for gemini-ai-games 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-ai-games 1
File Size Uploaded
gemini-ai-games-1.tar.gz 3.2 kB Details

Built distribution (wheel)

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

Total release size: 6.6 kB

Release files / gemini-ai-games-1.tar.gz

Download URL gemini-ai-games-1.tar.gz
Size 3.2 kB
Tags Source
SHA-256 checksum
How to use checksums
dcf14a89722e6ebd5c1a9f7d2de0cb0760047246accdf9b66ccab6ac21196eab
BLAKE2b-256 checksum
How to use checksums
703ee58aa602c48ce76d6abd8eabc52837cbab79d0f52c44786333294ee0c7af
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.31.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.4

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

Download URL gemini_ai_games-1-py3-none-any.whl
Size 3.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6016bb06c06c25374c80f5bcc41b955a9478e92290a7ff832c299d38a4d72d63
BLAKE2b-256 checksum
How to use checksums
8d32b98854830eb3575dcca0327149a7477cbf4cc2a4172d3ec80b0dacffd38b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.31.0 requests-toolbelt/0.9.1 tqdm/4.62.3 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