Skip to main content

This package contains a compilation of games with Google Gemini AI integrated into them.

Project description

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

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-ai-games-1.tar.gz (3.2 kB view details)

Uploaded Source

Built Distribution

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

gemini_ai_games-1-py3-none-any.whl (3.4 kB view details)

Uploaded Python 3

File details

Details for the file gemini-ai-games-1.tar.gz.

File metadata

  • Download URL: gemini-ai-games-1.tar.gz
  • Upload date:
  • Size: 3.2 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for gemini-ai-games-1.tar.gz
Algorithm Hash digest
SHA256 dcf14a89722e6ebd5c1a9f7d2de0cb0760047246accdf9b66ccab6ac21196eab
MD5 afad90af58a0936f9d9fbb0b2c985b74
BLAKE2b-256 703ee58aa602c48ce76d6abd8eabc52837cbab79d0f52c44786333294ee0c7af

See more details on using hashes here.

File details

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

File metadata

  • Download URL: gemini_ai_games-1-py3-none-any.whl
  • Upload date:
  • Size: 3.4 kB
  • Tags: Python 3
  • Uploaded using 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

File hashes

Hashes for gemini_ai_games-1-py3-none-any.whl
Algorithm Hash digest
SHA256 6016bb06c06c25374c80f5bcc41b955a9478e92290a7ff832c299d38a4d72d63
MD5 43e42baa324ee0b9f93a8fd1a667043d
BLAKE2b-256 8d32b98854830eb3575dcca0327149a7477cbf4cc2a4172d3ec80b0dacffd38b

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