sotetsuk / pgx

♟️ Vectorized RL game environments in JAX
http://sotets.uk/pgx/
Apache License 2.0
372 stars 23 forks source link

Add fields to state in chess #1166

Closed janetwise closed 6 months ago

janetwise commented 6 months ago

Hello, I need to add more variables to the State object for the chess game, for example, number of pieces remaining at each action step. I updated the chess.py under pgx/pgx. Do I need to reinstall pgx: pip install pgx to make the update? Is there an easier way to do it?

sotetsuk commented 6 months ago

You can install your version of pgx by pip. Thanks!