# 强化学习环境-球战 **Repository Path**: ctlz/RL-env-ballwar ## Basic Information - **Project Name**: 强化学习环境-球战 - **Description**: 一个强化学习环境 - **Primary Language**: Python - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-06-11 - **Last Updated**: 2021-07-14 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # 强化学习环境-球战 ## 介绍 一个强化学习环境 ## obs结构 - 0,1,2:x,y相对坐标,半径 - 3,4,5,6:RGBA,用来表示类别 - 7:生命值 ## act结构 - 0:不动 - 1,2,3,4:上下左右 - 5,6:近距离,远距离攻击 ## 属性 - R:攻击性;G:亲和性;B:中性;A:实物性 - food:(0,255,0,255) - smartball:(150,50,100,255) - fireball:(255,0,0,100) - 对象其他属性 |对象|生命值|半径|速度| |-|-|-|-| |food|-|5|-| |smartball|60|30|10| |fireball|-|-|-| - 攻击,加速 - 近距离攻击:持续2step,伤害10,范围60 - 远距离攻击:持续2step,伤害3,范围200 - 世界属性 - world_size=1000 - 视野:300