Foundation aims to be a solid base library for games written in Java and JavaScript