pantheonrl.envs.blockworldgym.gridutils

Functions to deal with generating a grid world and gravity.

Functions

drop_random

Drops a block randomly

generate_random_world

Generates a random world

gravity

Runs a timestep of gravity simulation

matches

Check if two grids match

place

Places block into the grid