Emily should be better than Bob and Randy, but still not perfect. Use the code that detects when a choice could lead to two ways of winning and change the weights on squares accordingly.
#3 should be done first. Some of the plumbing for Bob should work well for Emily as well.