gemini-cli-creature-hunter


Namegemini-cli-creature-hunter JSON
Version 1 PyPI version JSON
download
home_pagehttps://github.com/GlobalCreativeApkDev/GlobalCreativeApkDev.github.io/tree/main/cli-apps/gemini_cli_creature_hunter
SummaryThis package contains implementation of a Pokemon-like game on command-line interface with Google Gemini AI integrated into it.
upload_time2024-06-03 10:51:13
maintainerNone
docs_urlNone
authorGlobalCreativeApkDev
requires_pythonNone
licenseMIT
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # gemini_cli_creature_hunter

**Gemini CLI Creature Hunter** is a Pokemon-like game on command-line interface with Google Gemini AI 
integrated into it.

# Source Code

The source code of the game **Gemini CLI Creature Hunter** is available in 
[Source Code](https://github.com/GlobalCreativeApkDev/GlobalCreativeApkDev.github.io/blob/main/cli-apps/gemini_cli_creature_hunter/gemini_cli_creature_hunter/gemini_cli_creature_hunter.py).

# Installation

```
pip install gemini_cli_creature_hunter
```

# How to Play the Game?

Pre-requisites:

1. [Python](https://www.python.org/downloads/) installed in your device.
2. env file in the same directory as <GEMINI_CLI_CREATURE_HUNTER_DIRECTORY> and has the value of GEMINI_API_KEY.
3. The directory "saved" exists inside the directory <GEMINI_CLI_CREATURE_HUNTER_DIRECTORY>. 
Please create the "saved" directory if it has not existed in <GEMINI_CLI_CREATURE_HUNTER_DIRECTORY> directory yet.

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

```
cd <GEMINI_CLI_CREATURE_HUNTER_DIRECTORY>
python3 gemini_cli_creature_hunter.py
```

**Note:** Replace <GEMINI_CLI_CREATURE_HUNTER_DIRECTORY> with the path to the directory of the game 
**Gemini CLI Creature Hunter**.

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

![Game](images/Game.png)

You have two choices:

1. Enter "NEW GAME" to create new saved game data.
2. Enter "LOAD GAME" to load existing saved game data.

# New Saved Game Data Creation

The following happens if you choose to create new saved game data.

![Create New Saved Game Data](images/New_Saved_Game_Data.png)

You will then be asked to input the following values.

1. Temperature - between 0 and 1 inclusive
2. Top P - between 0 and 1 inclusive
3. Top K - at least 1
4. Max output tokens - at least 1
5. Your name to be used as your trainer's name

You will then be directed to the main menu.

# Loading Existing Saved Game Data

You will only be able to load existing saved game data if at least one or more saved game 
files are stored inside the "saved" directory.

The following happens when you choose to load existing saved game data.

![Load Saved Game Data](images/Load_Saved_Game_Data.png)

You will then be asked to enter the name of the trainer associated with the existing saved game data you want to load.
After that, your saved game data will be loaded and you will be directed to the main menu.

# Main Menu

Once you reach the main menu, you will be asked whether you want to continue playing the game or not. If you enter 'Y', 
you will be directed to choose an action. Else, your game data will be saved and you will exit the game.

![Main Menu](images/Main_Menu.png)

# Action Choice

Once you entered 'Y' when you were at the main menu, you will be redirected to action choice. At the top of the 
command-line window, you will see the map of the city you are in (together with your current location). Below 
the map, you will see the available actions you can choose to do. Battles against wild legendary creatures or trainers 
might occur if you enter "MOVE TRAINER" and then select the direction you want to move to.

![Action Choice](images/Action_Choice.png)

Then, you will need to follow the instructions on the screen, for whichever action you choose to do.

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/GlobalCreativeApkDev/GlobalCreativeApkDev.github.io/tree/main/cli-apps/gemini_cli_creature_hunter",
    "name": "gemini-cli-creature-hunter",
    "maintainer": null,
    "docs_url": null,
    "requires_python": null,
    "maintainer_email": null,
    "keywords": null,
    "author": "GlobalCreativeApkDev",
    "author_email": "globalcreativeapkdev2022@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/57/6d/6f6bf46b4df8e410b2941a577b9afbe7869fc6750191d0964f4d0a853c62/gemini_cli_creature_hunter-1.tar.gz",
    "platform": null,
    "description": "# gemini_cli_creature_hunter\n\n**Gemini CLI Creature Hunter** is a Pokemon-like game on command-line interface with Google Gemini AI \nintegrated into it.\n\n# Source Code\n\nThe source code of the game **Gemini CLI Creature Hunter** is available in \n[Source Code](https://github.com/GlobalCreativeApkDev/GlobalCreativeApkDev.github.io/blob/main/cli-apps/gemini_cli_creature_hunter/gemini_cli_creature_hunter/gemini_cli_creature_hunter.py).\n\n# Installation\n\n```\npip install gemini_cli_creature_hunter\n```\n\n# How to Play the Game?\n\nPre-requisites:\n\n1. [Python](https://www.python.org/downloads/) installed in your device.\n2. env file in the same directory as <GEMINI_CLI_CREATURE_HUNTER_DIRECTORY> and has the value of GEMINI_API_KEY.\n3. The directory \"saved\" exists inside the directory <GEMINI_CLI_CREATURE_HUNTER_DIRECTORY>. \nPlease create the \"saved\" directory if it has not existed in <GEMINI_CLI_CREATURE_HUNTER_DIRECTORY> directory yet.\n\nFirst, open a Terminal or Command Prompt window and run the following commands.\n\n```\ncd <GEMINI_CLI_CREATURE_HUNTER_DIRECTORY>\npython3 gemini_cli_creature_hunter.py\n```\n\n**Note:** Replace <GEMINI_CLI_CREATURE_HUNTER_DIRECTORY> with the path to the directory of the game \n**Gemini CLI Creature Hunter**.\n\nThen, the game will start with something looking like in the screenshot below.\n\n![Game](images/Game.png)\n\nYou have two choices:\n\n1. Enter \"NEW GAME\" to create new saved game data.\n2. Enter \"LOAD GAME\" to load existing saved game data.\n\n# New Saved Game Data Creation\n\nThe following happens if you choose to create new saved game data.\n\n![Create New Saved Game Data](images/New_Saved_Game_Data.png)\n\nYou will then be asked to input the following values.\n\n1. Temperature - between 0 and 1 inclusive\n2. Top P - between 0 and 1 inclusive\n3. Top K - at least 1\n4. Max output tokens - at least 1\n5. Your name to be used as your trainer's name\n\nYou will then be directed to the main menu.\n\n# Loading Existing Saved Game Data\n\nYou will only be able to load existing saved game data if at least one or more saved game \nfiles are stored inside the \"saved\" directory.\n\nThe following happens when you choose to load existing saved game data.\n\n![Load Saved Game Data](images/Load_Saved_Game_Data.png)\n\nYou will then be asked to enter the name of the trainer associated with the existing saved game data you want to load.\nAfter that, your saved game data will be loaded and you will be directed to the main menu.\n\n# Main Menu\n\nOnce you reach the main menu, you will be asked whether you want to continue playing the game or not. If you enter 'Y', \nyou will be directed to choose an action. Else, your game data will be saved and you will exit the game.\n\n![Main Menu](images/Main_Menu.png)\n\n# Action Choice\n\nOnce you entered 'Y' when you were at the main menu, you will be redirected to action choice. At the top of the \ncommand-line window, you will see the map of the city you are in (together with your current location). Below \nthe map, you will see the available actions you can choose to do. Battles against wild legendary creatures or trainers \nmight occur if you enter \"MOVE TRAINER\" and then select the direction you want to move to.\n\n![Action Choice](images/Action_Choice.png)\n\nThen, you will need to follow the instructions on the screen, for whichever action you choose to do.\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "This package contains implementation of a Pokemon-like game on command-line interface with Google Gemini AI integrated into it.",
    "version": "1",
    "project_urls": {
        "Homepage": "https://github.com/GlobalCreativeApkDev/GlobalCreativeApkDev.github.io/tree/main/cli-apps/gemini_cli_creature_hunter"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "c4967ec415d6160ce30909b04715c1351093d13ea7b0093d5abf7fba592984c6",
                "md5": "e5f5667a271860a8b6c939021b727e3b",
                "sha256": "fa3abbc0ac7dfa21189c7d0c5e3eb5cf3323a63b54c5dcf623d4eba03d875a4a"
            },
            "downloads": -1,
            "filename": "gemini_cli_creature_hunter-1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "e5f5667a271860a8b6c939021b727e3b",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 19626,
            "upload_time": "2024-06-03T10:51:11",
            "upload_time_iso_8601": "2024-06-03T10:51:11.913923Z",
            "url": "https://files.pythonhosted.org/packages/c4/96/7ec415d6160ce30909b04715c1351093d13ea7b0093d5abf7fba592984c6/gemini_cli_creature_hunter-1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "576d6f6bf46b4df8e410b2941a577b9afbe7869fc6750191d0964f4d0a853c62",
                "md5": "f92af0a58a12e90d3678dfff77618517",
                "sha256": "ace58c572846ef607a796c9822b1efa2c5d55224ccc8ea1af895cf829997d58f"
            },
            "downloads": -1,
            "filename": "gemini_cli_creature_hunter-1.tar.gz",
            "has_sig": false,
            "md5_digest": "f92af0a58a12e90d3678dfff77618517",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 20316,
            "upload_time": "2024-06-03T10:51:13",
            "upload_time_iso_8601": "2024-06-03T10:51:13.883165Z",
            "url": "https://files.pythonhosted.org/packages/57/6d/6f6bf46b4df8e410b2941a577b9afbe7869fc6750191d0964f4d0a853c62/gemini_cli_creature_hunter-1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-06-03 10:51:13",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "GlobalCreativeApkDev",
    "github_project": "GlobalCreativeApkDev.github.io",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "gemini-cli-creature-hunter"
}
        
Elapsed time: 0.23016s