Skip to content
This repository was archived by the owner on May 6, 2024. It is now read-only.
This repository was archived by the owner on May 6, 2024. It is now read-only.

Include "Pop-up" windows in observation #188

@paulkent-um

Description

@paulkent-um

🚀 Feature

Include pop-up windows (such as "Things that are here:", or the spellcasting menu) in the observation space, either under "message", or under a new key.

Motivation

I'm developing a bot for the 2021 Nethack challenge. The prospect of having to figure out where in the raw terminal output pop-ups are drawn up is not pleasing. Currently, if I want to get the information in these pop-up windows, that is the only way.

Pitch

Copy over the information in the pop-ups under the observation key "message".

Alternatives

If the pop-up windows turn out to take more than 255 characters to convey in some cases, or if it's possible for a message and a pop-up window to appear simultaneously, you could instead add a new key for this purpose, and allot it a larger buffer than the normal message observation.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions