CREDITS: a lot of help from pongtherong ----------------------------------------------------------------------------- after you lose, click the green flag