or you could add a CPU i have experience making them not on this lenguage though i have made a pong CPU and a kinda good fighting AI an AI assistant (really bad) but i can't teach you how to make an agar.io AI cause i'm yet to find out pathfinding but i can see an idea on how i'm just yet to test it.