I've just started working on a TagpRobot, by which I mainly mean fiddling around with the example bot, but also starting writing a simple pathfinding algorithm using A* search. Now, I'm writing this in Python so far, because as much as I grudgingly tolerate love JavaScript, I've always felt much more powerful and in control of things with Python, especially when projects start to get large, as I'm hoping this will!
The problem is, I've got no experience with sockets and whatnot other than in userscripts so don't really know where to start in terms of actually communicating with the server at all. So, is it worth my continuing with this in Python, or should I give up and just rewrite it as a JS userscript? Or is there anyone here who's tried this before and is willing to let me steal learn from their code?