Hypercubes, weighted voting systems and games