Skip to main content

Gym-Rat-Runner

Introduction

Gym Rat Runner is an open-source environment implemented over OpenAI Gym.It is a 2-D discrete environment intended for Reinforcement learning applications with collision treatments. For now, the package has two distinct environments; the open and the maze environments.

Agent Rat Agent

The agent is represented by a friendly rat with the objective of catching the cheese. Which will have eight move action options.

Target Target

The cheese won't move and will always be visible to the Agent.

Hunter Hunter

The Hunter is represented by a cat and will move differently depending on the environment.

Installation

Requirements


pandas >= 1.4.1
numpy >= 1.20.3
gym >= 0.23.0
pygame >= 2.1.2
opencv-python

pip

To install the package into your machine you can use the code bellow

  
pip install gym-rat-runner  

Environments

Open Environment


Open Environment

The open environment has 10 by 10 spaces and the cat is sleeping and won't move independently what the rat does.

Maze Environment


Maze Environment

The maze environment has 16 by 32 spaces based on the Bank Heist from Atari. Like the police in Bank Heist, the hunter won't be able to move back but it will have two options of movement:

  1. The Agent is outside the field vision of the hunter
  • The cat will move randomly by the maze.
  1. The agent is inside the field vision of the hunter.
  • The cat will start to run after the rat and will move twice the movement of the agent.

Release files for gym-rat-runner 0.1.6

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

Source distribution (sdist)

Source distribution for gym-rat-runner 0.1.6
File Size Uploaded
gym_rat_runner-0.1.6.tar.gz 244.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for gym-rat-runner 0.1.6
File Interpreter ABI Platform
gym_rat_runner-0.1.6-py3-none-any.whl Python 3 none any Details

Total release size: 491.3 kB

Release files / gym_rat_runner-0.1.6.tar.gz

Download URL gym_rat_runner-0.1.6.tar.gz
Size 244.9 kB
Tags Source
SHA-256 checksum
How to use checksums
af82b10fcd8ba557565e3c932bf9259f76041f03a1f465e7466aa2e674967c2f
BLAKE2b-256 checksum
How to use checksums
313f2d7d456a08060a310260f8ee99af967ba5f5a3eafbe7226a61f7b4c06359
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.8.12

Release files / gym_rat_runner-0.1.6-py3-none-any.whl

Download URL gym_rat_runner-0.1.6-py3-none-any.whl
Size 246.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
172e7150af0d83dc39168e61721fd301a9411ecf667dfbf00545872eb84adad1
BLAKE2b-256 checksum
How to use checksums
db5c29a59f1b3febbf193777edeae21c4476b7762839349223170fabdc498031
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.8.12

Release history Release notifications | RSS feed

This release

0.1.6 This release

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.0.1

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