gemini-pro-rpg


Namegemini-pro-rpg JSON
Version 1.6 PyPI version JSON
download
home_pagehttps://github.com/GlobalCreativeApkDev/gemini-pro-rpg
SummaryThis package contains implementation of the role-playing game (RPG) with Gemini Pro integrated into it.
upload_time2024-03-17 04:07:07
maintainer
docs_urlNone
authorGlobalCreativeApkDev
requires_python
licenseMIT
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # gemini-pro-rpg

Interested in playing a dynamic role-playing game (RPG)? **Gemini Pro RPG** allows such feature with Gemini Pro integrated
into the game! Experience dynamic game structure and storyline like never before!

# Source Code

The source code of the game **Gemini Pro RPG** is available in 
[Source Code](https://github.com/GlobalCreativeApkDev/gemini-pro-rpg/blob/master/main.py).

# Installation

```
pip install gemini-pro-rpg
```

# 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_PRO_RPG_DIRECTORY> and has the value of GEMINI_API_KEY.
3. The directory "saved" exists inside the directory <GEMINI_PRO_RPG_DIRECTORY>. Please create the "saved" directory
if it has not existed in <GEMINI_PRO_RPG_DIRECTORY> directory yet.

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

```
cd <GEMINI_PRO_RPG_DIRECTORY>
python3 main.py
```

**Note:** Replace <GEMINI_PRO_RPG_DIRECTORY> with the path to the directory of the game **Gemini Pro RPG**.

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

![Application](images/Application.png)

You have two choices.

1. Enter "NEW GAME" to play a new game.
2. Enter "PLAY EXISTING GAME" to play an existing game.

# New Game Creation

The following happens when you choose to create a new game.

![New Game Input](images/New%20Game%20Input.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. Name of the new game
6. Your name to be used as player name

You will then be directed to the main menu.

# Playing Existing Game

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

The following happens when you choose to play an existing game.

![Play Existing Game](images/Play%20Existing%20Game.png)

You will then be asked to enter the name of the game you want to play (from the ones listed like 
in the screenshot above). 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 a battle. Else, your game data will be saved and you will exit the game.

![Main Menu](images/Main%20Menu.png)

# Battle

During a battle, you will have two choices during your turn to make a move:

1. Enter 'ATTACK' to attack the enemy.
2. Enter 'FLEE' to exit the battle and return to the main menu.

![Battle](images/Battle.png)

If you either defeated the enemy or the enemy fled, you will level up between 1 and 100 times inclusive. If the enemy
defeated you or you fled, you will not level up at all but your HP will be restored.

**Note:** Levelling up automatically restores your HP.

# Progress

1. Supports dynamic simple turn-based RPG on command-line interface (done)
2. Supports dynamic complex turn-based RPG with items, levels, shops, resources, etc on command-line interface (pending)
3. Supports dynamic player exploration RPG on command-line interface (pending)
4. Supports custom RPG on command-line interface (pending)
5. Supports dynamic graphical user interface RPG (pending)
6. Supports Python for Unity (pending)

# Version History

1. Version 0.5 (Release Date: 28 December 2023):
* Allows the player to play a dynamic simple turn-based RPG on command-line interface

2. Version 1 (Release Date: TBA, 2024):
* Allows the player to play a dynamic complex turn-based strategy RPG with items, levels, shops, resources, etc on command-line interface
* Allows the player to play a dynamic player exploration RPG on command-line interface
* Allows the player to play a customised and dynamic RPG based on the specifications he/she wants on command-line interface.

3. Version 1.5 (Release Date: TBA, 2024):
* Allows the player to play a dynamic graphical user interface RPG

4. Version 2 (Release Date: TBA, 2024):
* Supports Python for Unity

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/GlobalCreativeApkDev/gemini-pro-rpg",
    "name": "gemini-pro-rpg",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "",
    "author": "GlobalCreativeApkDev",
    "author_email": "globalcreativeapkdev2022@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/38/26/699a0457d01aac2aed6ea1b14649e0e3f0b66b568fb9217819e90ed1bf81/gemini_pro_rpg-1.6.tar.gz",
    "platform": null,
    "description": "# gemini-pro-rpg\n\nInterested in playing a dynamic role-playing game (RPG)? **Gemini Pro RPG** allows such feature with Gemini Pro integrated\ninto the game! Experience dynamic game structure and storyline like never before!\n\n# Source Code\n\nThe source code of the game **Gemini Pro RPG** is available in \n[Source Code](https://github.com/GlobalCreativeApkDev/gemini-pro-rpg/blob/master/main.py).\n\n# Installation\n\n```\npip install gemini-pro-rpg\n```\n\n# How to Play the Game?\n\nPre-requisites:\n1. [Python](https://www.python.org/downloads/) installed in your device.\n2. .env file in the same directory as <GEMINI_PRO_RPG_DIRECTORY> and has the value of GEMINI_API_KEY.\n3. The directory \"saved\" exists inside the directory <GEMINI_PRO_RPG_DIRECTORY>. Please create the \"saved\" directory\nif it has not existed in <GEMINI_PRO_RPG_DIRECTORY> directory yet.\n\nFirst, open a Terminal or Command Prompt window and run the following commands.\n\n```\ncd <GEMINI_PRO_RPG_DIRECTORY>\npython3 main.py\n```\n\n**Note:** Replace <GEMINI_PRO_RPG_DIRECTORY> with the path to the directory of the game **Gemini Pro RPG**.\n\nThen, the game will start with something looking like in the screenshot below.\n\n![Application](images/Application.png)\n\nYou have two choices.\n\n1. Enter \"NEW GAME\" to play a new game.\n2. Enter \"PLAY EXISTING GAME\" to play an existing game.\n\n# New Game Creation\n\nThe following happens when you choose to create a new game.\n\n![New Game Input](images/New%20Game%20Input.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. Name of the new game\n6. Your name to be used as player name\n\nYou will then be directed to the main menu.\n\n# Playing Existing Game\n\nYou will only be able to play existing game if at least one or more saved game files are stored inside the \"saved\" directory.\n\nThe following happens when you choose to play an existing game.\n\n![Play Existing Game](images/Play%20Existing%20Game.png)\n\nYou will then be asked to enter the name of the game you want to play (from the ones listed like \nin the screenshot above). After that, your saved game data will be loaded and you will be\ndirected 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 a battle. Else, your game data will be saved and you will exit the game.\n\n![Main Menu](images/Main%20Menu.png)\n\n# Battle\n\nDuring a battle, you will have two choices during your turn to make a move:\n\n1. Enter 'ATTACK' to attack the enemy.\n2. Enter 'FLEE' to exit the battle and return to the main menu.\n\n![Battle](images/Battle.png)\n\nIf you either defeated the enemy or the enemy fled, you will level up between 1 and 100 times inclusive. If the enemy\ndefeated you or you fled, you will not level up at all but your HP will be restored.\n\n**Note:** Levelling up automatically restores your HP.\n\n# Progress\n\n1. Supports dynamic simple turn-based RPG on command-line interface (done)\n2. Supports dynamic complex turn-based RPG with items, levels, shops, resources, etc on command-line interface (pending)\n3. Supports dynamic player exploration RPG on command-line interface (pending)\n4. Supports custom RPG on command-line interface (pending)\n5. Supports dynamic graphical user interface RPG (pending)\n6. Supports Python for Unity (pending)\n\n# Version History\n\n1. Version 0.5 (Release Date: 28 December 2023):\n* Allows the player to play a dynamic simple turn-based RPG on command-line interface\n\n2. Version 1 (Release Date: TBA, 2024):\n* Allows the player to play a dynamic complex turn-based strategy RPG with items, levels, shops, resources, etc on command-line interface\n* Allows the player to play a dynamic player exploration RPG on command-line interface\n* Allows the player to play a customised and dynamic RPG based on the specifications he/she wants on command-line interface.\n\n3. Version 1.5 (Release Date: TBA, 2024):\n* Allows the player to play a dynamic graphical user interface RPG\n\n4. Version 2 (Release Date: TBA, 2024):\n* Supports Python for Unity\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "This package contains implementation of the role-playing game (RPG) with Gemini Pro integrated into it.",
    "version": "1.6",
    "project_urls": {
        "Homepage": "https://github.com/GlobalCreativeApkDev/gemini-pro-rpg"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "4a8772f54ab82b2014ae8b552bd40c5cdcd112766c5bdc77a8812b04cc2b35d0",
                "md5": "8d085e92296c32cc454c94f966394af0",
                "sha256": "fd79c4db4bf1c4710b6a6b661351b7118f7e2340eb9986979269ef4f5a1cb89e"
            },
            "downloads": -1,
            "filename": "gemini_pro_rpg-1.6-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "8d085e92296c32cc454c94f966394af0",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 3845,
            "upload_time": "2024-03-17T04:07:03",
            "upload_time_iso_8601": "2024-03-17T04:07:03.644298Z",
            "url": "https://files.pythonhosted.org/packages/4a/87/72f54ab82b2014ae8b552bd40c5cdcd112766c5bdc77a8812b04cc2b35d0/gemini_pro_rpg-1.6-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "3826699a0457d01aac2aed6ea1b14649e0e3f0b66b568fb9217819e90ed1bf81",
                "md5": "e37ff352f98192f4d94d67a09586979f",
                "sha256": "ddfb1f30d29a63c050165cd78b66ba872d569ff253ce2015e28df3eef7c19556"
            },
            "downloads": -1,
            "filename": "gemini_pro_rpg-1.6.tar.gz",
            "has_sig": false,
            "md5_digest": "e37ff352f98192f4d94d67a09586979f",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 3679,
            "upload_time": "2024-03-17T04:07:07",
            "upload_time_iso_8601": "2024-03-17T04:07:07.393241Z",
            "url": "https://files.pythonhosted.org/packages/38/26/699a0457d01aac2aed6ea1b14649e0e3f0b66b568fb9217819e90ed1bf81/gemini_pro_rpg-1.6.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-03-17 04:07:07",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "GlobalCreativeApkDev",
    "github_project": "gemini-pro-rpg",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "requirements": [],
    "lcname": "gemini-pro-rpg"
}
        
Elapsed time: 0.19027s