A simulator of video poker