Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Don't make score part of observations
  • Loading branch information
cswinter committed Oct 6, 2019
1 parent c84452b commit dc89d12
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -72,7 +72,6 @@ class Application @Inject()(
bb.order(ByteOrder.nativeOrder)
for (ob <- obs) {
bb.putFloat(ob.timestep.toFloat / ob.maxGameLength)
bb.putFloat(ob.alliedScore.toFloat)
val drone = ob.alliedDrones(0)
val x = drone.xPos
val y = drone.yPos
Expand All @@ -95,6 +94,7 @@ class Application @Inject()(
}
for (ob <- obs) {
bb.putFloat(ob.winner.map(_ + 1.0f).getOrElse(0))
bb.putFloat(ob.alliedScore.toFloat)
}
bb.array()
}
Expand Down

0 comments on commit dc89d12

Please sign in to comment.