Very interesting concept.
Seems simple at first, but you soon realize the rules are a bit deeper. I think the game would benefit from a few animations or some visual indicators of what would happen if you press enter. For example, some subtle effect on balls that would swap places. Maybe that would communicate 'prefers X direction' and 'polar opposites' rules better than help text.
Nevertheless, I liked it a lot.