Banged this out while everyone was napping after Thanksgiving lunch. Uses libgdx.