Created
May 21, 2024 12:53
-
-
Save manolol1/92776d3822080f86b01c49170460c0f9 to your computer and use it in GitHub Desktop.
ASCII drawings for hangman game
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class ASCII { | |
public final String[] hangman = new String[11]; | |
public ASCII() { | |
hangman[0] = """ | |
_ _ _ _ _____ __ __ _ _ | |
| | | | /\\ | \\ | |/ ____| \\/ | /\\ | \\ | | | |
| |__| | / \\ | \\| | | __| \\ / | / \\ | \\| | | |
| __ | / /\\ \\ | . ` | | |_ | |\\/| | / /\\ \\ | . ` | | |
| | | |/ ____ \\| |\\ | |__| | | | |/ ____ \\| |\\ | | |
|_| |_/_/ \\_\\_| \\_|\\_____|_| |_/_/ \\_\\_| \\_| | |
"""; | |
hangman[1] = """ | |
-------------------------- | |
"""; | |
hangman[2] = """ | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
-------------------------- | |
"""; | |
hangman[3] = """ | |
------------- | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
-------------------------- | |
"""; | |
hangman[4] = """ | |
------------- | |
| / | |
|/ | |
| | |
| | |
| | |
| | |
| | |
-------------------------- | |
"""; | |
hangman[5] = """ | |
------------- | |
| / | | |
|/ | |
| | |
| | |
| | |
| | |
| | |
-------------------------- | |
"""; | |
hangman[6] = """ | |
------------- | |
| / | | |
|/ o | |
| | |
| | |
| | |
| | |
| | |
-------------------------- | |
"""; | |
hangman[7] = """ | |
------------- | |
| / | | |
|/ o | |
| -+- | |
| | |
| | |
| | |
| | |
-------------------------- | |
"""; | |
hangman[8] = """ | |
------------- | |
| / | | |
|/ o | |
| -+- | |
| | | |
| | |
| | |
| | |
-------------------------- | |
"""; | |
hangman[9] = """ | |
------------- | |
| / | | |
|/ o | |
| -+- | |
| | | |
| / | |
| | |
| | |
-------------------------- | |
"""; | |
hangman[10] = """ | |
------------- | |
| / | | |
|/ o | |
| -+- | |
| | | |
| / \\ | |
| | |
| | |
-------------------------- | |
"""; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment