Kaggle / Kaggle/kaggle-environments

Environment.render() does nothing with default arguments

Open
#92 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
JavaScript
Stars
452
Forks
190
Avg merge
31m
Merged PRs (30d)
2

Description

Hi there,

Like the title says it looks like the default behaviour for rendering is not quite working. The following code does not print anything.

from kaggle_environments import make, evaluate, utils
env=make("connectx", debug=True)
env.render()

From the documentation it looks like this should print out the state of the game in ASCII. It looks to be an issue with the core render function rather than the connectx environment as other environment types exhibit the same behaviour.

Contributor guide

Open the contributing guide

Research direction

Reproduce the example with kaggle_environments.make("connectx", debug=True) and inspect Environment.render() and the core render path, comparing them with the documentation's ASCII-rendering expectation. Check whether other environment types show the same behavior; done means env.render() prints the current game state using default arguments.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, python
Domain
api
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.