24game in C version