my attempt at the classic game