like 2048, but provides options to do other bases as well as 2