qube game formula