Source

core/src/Games/GridWorld/Globals.ts

/**
 * The penalty on an illegal move.
 * @category Games
 * @subcategory GridWorld
 * @type {number}
 */
export const illegalMovePenalty: number = -10;

/**
 * The amount of point for reaching a final state.
 * @category Games
 * @subcategory GridWorld
 * @type {number}
 */
export const goalReward: number = 5;