thanks for all the help so far, it has been valuable.
i've applied the readln statement, and played around with the code.

one problem i have though is that when the user presses 1 (head) they win, if they press 2 (tail) they lose. How can i make so that the user doesn't always win with head and lose with tail