add gitingore

Signed-off-by: Liew Zhao Wei <zhaoweiliew@gmail.com>
add executable file in gitignore

Signed-off-by: Liew Zhao Wei <zhaoweiliew@gmail.com>
remove executable file

Signed-off-by: Liew Zhao Wei <zhaoweiliew@gmail.com>
revert the crash fix when not inputting an integer

I will reimplement this

Signed-off-by: Liew Zhao Wei <zhaoweiliew@gmail.com>
reimplement check for input integer

Signed-off-by: Liew Zhao Wei <zhaoweiliew@gmail.com>
reset attempt count after every game

Signed-off-by: Liew Zhao Wei <zhaoweiliew@gmail.com>
check for instances where the input is an int right before a char

Signed-off-by: Liew Zhao Wei <zhaoweiliew@gmail.com>