Nice job! I like the tension between defense (when you're the wrong color) and offense (when you're the right color)! I agree the enemy ai can be a bit tricky to follow, but the core loop feels solid!
Thanks so much! The dynamic between being able to engage the enemy or when to run was one of my main design goals, so I'm glad you liked it.