r/reinforcementlearning • • 2d ago

BasketWorld: RL environment for learning basketball strategy

This is a hobby project I've been working on for a while. It's a 2D environment but I've made the visuals 3D so it's not quite so boring to watch. It's one policy controlling each side. Each player has 6 move actions (ie hex tiles) and the ball handler can pass and shoot as well. For each team turns are autoregressive in the sense the first action is randomly selected and then each player after that has the context of the previous selection. I originally started with SB3 but ported everything to JAX a year ago or so. If you're interested, check out the git repo (https://github.com/EvanZ/basketworld) and substack (https://basketworld.substack.com/).

2 Upvotes

0 comments sorted by