gridworld-rl 0.1.2

A deep reinforcement learning 2D gridworld environment with single- and multi-agent support.
1
2
3
4
5
6
7
8
9
use iced::Color;

pub const WALL_COLOR: Color = Color::BLACK;
pub const TILE_BG_COLOR: Color = Color::WHITE;
pub const TILE_OUTLINE_COLOR: Color = Color::BLACK;
pub const END_COLOR: Color = Color { r: 0.8, g: 0.1, b: 0.1, a: 1.0 };
pub const AGENT_COLOR: Color = Color { r: 0.1, g: 0.4, b: 0.9, a: 1.0 };
pub const TILE_OUTLINE_WIDTH: f32 = 1.5;
pub const AGENT_RADIUS_FRACTION: f32 = 0.35;