I have been busy for a few houres but can't fix it, my instruction:

You start with 49 matches and have to take at least one and a maximum of 24 (half). The computer does the same (random)
and...