Skip to main content

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.

Installation

pip install gemini_cli_creature_hunter

How to Play the Game?

Pre-requisites:

  1. Python 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

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

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

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

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

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

Release files for gemini-cli-creature-hunter 1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for gemini-cli-creature-hunter 1
File Size Uploaded
gemini_cli_creature_hunter-1.tar.gz 20.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for gemini-cli-creature-hunter 1
File Interpreter ABI Platform
gemini_cli_creature_hunter-1-py3-none-any.whl Python 3 none any Details

Total release size: 39.9 kB

Release files / gemini_cli_creature_hunter-1.tar.gz

Download URL gemini_cli_creature_hunter-1.tar.gz
Size 20.3 kB
Tags Source
SHA-256 checksum
How to use checksums
ace58c572846ef607a796c9822b1efa2c5d55224ccc8ea1af895cf829997d58f
BLAKE2b-256 checksum
How to use checksums
576d6f6bf46b4df8e410b2941a577b9afbe7869fc6750191d0964f4d0a853c62
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / gemini_cli_creature_hunter-1-py3-none-any.whl

Download URL gemini_cli_creature_hunter-1-py3-none-any.whl
Size 19.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
fa3abbc0ac7dfa21189c7d0c5e3eb5cf3323a63b54c5dcf623d4eba03d875a4a
BLAKE2b-256 checksum
How to use checksums
c4967ec415d6160ce30909b04715c1351093d13ea7b0093d5abf7fba592984c6
Upload date
Uploaded using Trusted Publishing?
What is 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

Release history Release notifications | RSS feed

This release

1 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page