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?
- Enter the name of your game on a new line in the file games.txt.
- 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
- Create a fork or a new branch and then merge it to master branch of this repository.
- Add the game to either Games Requiring Installation section of this document.
How to Add Your Game as a Pre-Installed Game?
- Navigate to the directory pre-installed in this repo.
- Add a new subdirectory inside that directory, where the subdirectory consists all files required for your game with Google Gemini AI integrated into it.
- Create a fork or a new branch and then merge it to master branch of this repository.
- 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:
- Python installed in your device.
- .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.
You can now do one of the following by following the instructions shown in the command prompt.
- Play a pre-installed game.
- Install a game.
- Play a game you have installed (not a pre-installed game).
- 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.
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.
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.
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for gemini_ai_games-1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6016bb06c06c25374c80f5bcc41b955a9478e92290a7ff832c299d38a4d72d63 |
|
MD5 | 43e42baa324ee0b9f93a8fd1a667043d |
|
BLAKE2b-256 | 8d32b98854830eb3575dcca0327149a7477cbf4cc2a4172d3ec80b0dacffd38b |