pig game writen by golang.