A simple RTS game written in pure JavaScript that I implemented in 2014. You control a swarm of thousands of blue or red little dots against an enemy AI or let two AIs battle it out on their own.
If you click the little question mark icon in the bottom left, you get a description of how the game works.