a program of 8-code game