# 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](https://github.com/GlobalCreativeApkDev) | 1 |
# Games Requiring Installation
| Name | Author | Latest Version |
|----------------|-----------------------------------------------------------------|----------------|
| Gemini Pro RPG | [GlobalCreativeApkDev](https://github.com/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
3. Create a fork or a new branch and then merge it to **master** branch of this repository.
4. 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](https://github.com/GlobalCreativeApkDev/gemini-ai-games/blob/master/main.py).
# Installation
```
pip install gemini-ai-games
```
# How to Use the Application?
Pre-requisites:
1. [Python](https://www.python.org/downloads/) 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.

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.

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.

Raw data
{
"_id": null,
"home_page": "https://github.com/GlobalCreativeApkDev/gemini-ai-games",
"name": "gemini-ai-games",
"maintainer": "",
"docs_url": null,
"requires_python": "",
"maintainer_email": "",
"keywords": "",
"author": "GlobalCreativeApkDev",
"author_email": "globalcreativeapkdev2022@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/70/3e/e58aa602c48ce76d6abd8eabc52837cbab79d0f52c44786333294ee0c7af/gemini-ai-games-1.tar.gz",
"platform": null,
"description": "# gemini-ai-games\n\nAn application containing a compilation of games with Google Gemini AI integrated into them.\n\n# Pre-Installed Games\n\n| Name | Author | Latest Version |\n|------------------------|-----------------------------------------------------------------|----------------|\n| Gemini Number Guessing | [GlobalCreativeApkDev](https://github.com/GlobalCreativeApkDev) | 1 |\n\n# Games Requiring Installation\n\n| Name | Author | Latest Version |\n|----------------|-----------------------------------------------------------------|----------------|\n| Gemini Pro RPG | [GlobalCreativeApkDev](https://github.com/GlobalCreativeApkDev) | 1.2 |\n\n# How to Add Your Game Requiring Installation?\n\n1. Enter the name of your game on a new line in the file games.txt.\n2. Ensure that the name of the game you entered is already available as a PyPi project, with the format containing \nat least like below, where [your_game_name] is the name of your game and [entry_point_name] is the name\nof the entry point of your game.\n\n[your_game_name]\n\n----\u2514\u2500\u2500 [your_game_name]\n\n--------\u251c\u2500\u2500 [entry_point_name].py\n\n----\u251c\u2500\u2500 setup.py\n\n3. Create a fork or a new branch and then merge it to **master** branch of this repository.\n4. Add the game to either **Games Requiring Installation** section of this document.\n\n# How to Add Your Game as a Pre-Installed Game?\n\n1. Navigate to the directory **pre-installed** in this repo.\n2. Add a new subdirectory inside that directory, where the subdirectory consists all files required for your game with \nGoogle Gemini AI integrated into it.\n3. Create a fork or a new branch and then merge it to **master** branch of this repository.\n4. Add the game to either **Pre-Installed Games** section of this document.\n\n# Source Code\n\nThe source code of the application **Gemini AI Games** is found in [main.py](https://github.com/GlobalCreativeApkDev/gemini-ai-games/blob/master/main.py).\n\n# Installation\n\n```\npip install gemini-ai-games\n```\n\n# How to Use the Application?\n\nPre-requisites:\n\n1. [Python](https://www.python.org/downloads/) installed in your device.\n2. .env file in the same directory as <GEMINI_AI_GAMES_DIRECTORY> and has the value of GEMINI_API_KEY.\n\nFirst, open a Terminal or Command Prompt window and run the following commands.\n\n```\ncd <GEMINI_AI_GAMES_DIRECTORY>\npython3 main.py\n```\n\n**Note:** Replace <GEMINI_AI_GAMES_DIRECTORY> with the path to the directory of the application **Gemini AI Games**.\n\nThen, the application will start with something looking like in the screenshot below.\n\n\n\nYou can now do one of the following by following the instructions shown in the command prompt.\n\n1. Play a pre-installed game.\n2. Install a game.\n3. Play a game you have installed (not a pre-installed game).\n4. Uninstall a game.\n\n# Playing a Pre-Installed Game\n\nOnce you chose to play a pre-installed game, you can enter the index of the pre-installed game of your choice.\n\n\n\nThen, the game of your choice is started.\n\n# Install a Game\n\nOnce you chose to install a game, you can enter the index of the game of your choice.\n\n\n\n# Playing an Installed Game\n\nOnce you chose to play a game you have installed, you can enter the index of the game of your choice.\n\n\n\nThen, the game of your choice is started.\n\n# Uninstall a Game\n\nOnce you chose to uninstall a game, you can enter the index of the game of your choice.\n\n\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "This package contains a compilation of games with Google Gemini AI integrated into them.",
"version": "1",
"project_urls": {
"Homepage": "https://github.com/GlobalCreativeApkDev/gemini-ai-games"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "8d32b98854830eb3575dcca0327149a7477cbf4cc2a4172d3ec80b0dacffd38b",
"md5": "43e42baa324ee0b9f93a8fd1a667043d",
"sha256": "6016bb06c06c25374c80f5bcc41b955a9478e92290a7ff832c299d38a4d72d63"
},
"downloads": -1,
"filename": "gemini_ai_games-1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "43e42baa324ee0b9f93a8fd1a667043d",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 3406,
"upload_time": "2024-03-17T07:28:23",
"upload_time_iso_8601": "2024-03-17T07:28:23.684919Z",
"url": "https://files.pythonhosted.org/packages/8d/32/b98854830eb3575dcca0327149a7477cbf4cc2a4172d3ec80b0dacffd38b/gemini_ai_games-1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "703ee58aa602c48ce76d6abd8eabc52837cbab79d0f52c44786333294ee0c7af",
"md5": "afad90af58a0936f9d9fbb0b2c985b74",
"sha256": "dcf14a89722e6ebd5c1a9f7d2de0cb0760047246accdf9b66ccab6ac21196eab"
},
"downloads": -1,
"filename": "gemini-ai-games-1.tar.gz",
"has_sig": false,
"md5_digest": "afad90af58a0936f9d9fbb0b2c985b74",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 3220,
"upload_time": "2024-03-17T07:28:25",
"upload_time_iso_8601": "2024-03-17T07:28:25.621745Z",
"url": "https://files.pythonhosted.org/packages/70/3e/e58aa602c48ce76d6abd8eabc52837cbab79d0f52c44786333294ee0c7af/gemini-ai-games-1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-03-17 07:28:25",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "GlobalCreativeApkDev",
"github_project": "gemini-ai-games",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"requirements": [],
"lcname": "gemini-ai-games"
}