Game bot in Python and F#