JS Frawork for abstract strategy game