Ready to push.
This commit is contained in:
parent
ffa07d6398
commit
3b7a7a1381
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
nyancat
|
84
nyancat.c
84
nyancat.c
@ -852,50 +852,50 @@ try_again:
|
||||
colors['*'] = "\033[48;5;8m"; /* Gray cat face */
|
||||
colors['%'] = "\033[48;5;175m"; /* Pink cheeks */
|
||||
} else if (!strcmp(response, "2")) {
|
||||
colors[','] = "\033[104m"; /* Blue background */
|
||||
colors['.'] = "\033[107m"; /* White stars */
|
||||
colors['\''] = "\033[40m"; /* Black border */
|
||||
colors['@'] = "\033[47m"; /* Tan poptart */
|
||||
colors['$'] = "\033[105m"; /* Pink poptart */
|
||||
colors['-'] = "\033[101m"; /* Red poptart */
|
||||
colors['>'] = "\033[101m"; /* Red rainbow */
|
||||
colors['&'] = "\033[43m"; /* Orange rainbow */
|
||||
colors['+'] = "\033[103m"; /* Yellow Rainbow */
|
||||
colors['#'] = "\033[102m"; /* Green rainbow */
|
||||
colors['='] = "\033[104m"; /* Light blue rainbow */
|
||||
colors[';'] = "\033[44m"; /* Dark blue rainbow */
|
||||
colors['*'] = "\033[100m"; /* Gray cat face */
|
||||
colors['%'] = "\033[105m"; /* Pink cheeks */
|
||||
colors[','] = "\033[104m"; /* Blue background */
|
||||
colors['.'] = "\033[107m"; /* White stars */
|
||||
colors['\''] = "\033[40m"; /* Black border */
|
||||
colors['@'] = "\033[47m"; /* Tan poptart */
|
||||
colors['$'] = "\033[105m"; /* Pink poptart */
|
||||
colors['-'] = "\033[101m"; /* Red poptart */
|
||||
colors['>'] = "\033[101m"; /* Red rainbow */
|
||||
colors['&'] = "\033[43m"; /* Orange rainbow */
|
||||
colors['+'] = "\033[103m"; /* Yellow Rainbow */
|
||||
colors['#'] = "\033[102m"; /* Green rainbow */
|
||||
colors['='] = "\033[104m"; /* Light blue rainbow */
|
||||
colors[';'] = "\033[44m"; /* Dark blue rainbow */
|
||||
colors['*'] = "\033[100m"; /* Gray cat face */
|
||||
colors['%'] = "\033[105m"; /* Pink cheeks */
|
||||
} else if (!strcmp(response, "3")) {
|
||||
colors[','] = "\033[25;44m"; /* Blue background */
|
||||
colors['.'] = "\033[5;47m"; /* White stars */
|
||||
colors['\''] = "\033[25;40m"; /* Black border */
|
||||
colors['@'] = "\033[5;47m"; /* Tan poptart */
|
||||
colors['$'] = "\033[5;45m"; /* Pink poptart */
|
||||
colors['-'] = "\033[5;41m"; /* Red poptart */
|
||||
colors['>'] = "\033[5;41m"; /* Red rainbow */
|
||||
colors['&'] = "\033[25;43m"; /* Orange rainbow */
|
||||
colors['+'] = "\033[5;43m"; /* Yellow Rainbow */
|
||||
colors['#'] = "\033[5;42m"; /* Green rainbow */
|
||||
colors['='] = "\033[25;44m"; /* Light blue rainbow */
|
||||
colors[';'] = "\033[5;44m"; /* Dark blue rainbow */
|
||||
colors['*'] = "\033[5;40m"; /* Gray cat face */
|
||||
colors['%'] = "\033[5;45m"; /* Pink cheeks */
|
||||
colors[','] = "\033[25;44m"; /* Blue background */
|
||||
colors['.'] = "\033[5;47m"; /* White stars */
|
||||
colors['\''] = "\033[25;40m"; /* Black border */
|
||||
colors['@'] = "\033[5;47m"; /* Tan poptart */
|
||||
colors['$'] = "\033[5;45m"; /* Pink poptart */
|
||||
colors['-'] = "\033[5;41m"; /* Red poptart */
|
||||
colors['>'] = "\033[5;41m"; /* Red rainbow */
|
||||
colors['&'] = "\033[25;43m"; /* Orange rainbow */
|
||||
colors['+'] = "\033[5;43m"; /* Yellow Rainbow */
|
||||
colors['#'] = "\033[5;42m"; /* Green rainbow */
|
||||
colors['='] = "\033[25;44m"; /* Light blue rainbow */
|
||||
colors[';'] = "\033[5;44m"; /* Dark blue rainbow */
|
||||
colors['*'] = "\033[5;40m"; /* Gray cat face */
|
||||
colors['%'] = "\033[5;45m"; /* Pink cheeks */
|
||||
} else if (!strcmp(response, "4")) {
|
||||
colors[','] = "\033[44m"; /* Blue background */
|
||||
colors['.'] = "\033[47m"; /* White stars */
|
||||
colors['\''] = "\033[40m"; /* Black border */
|
||||
colors['@'] = "\033[47m"; /* Tan poptart */
|
||||
colors['$'] = "\033[45m"; /* Pink poptart */
|
||||
colors['-'] = "\033[41m"; /* Red poptart */
|
||||
colors['>'] = "\033[41m"; /* Red rainbow */
|
||||
colors['&'] = "\033[43m"; /* Orange rainbow */
|
||||
colors['+'] = "\033[43m"; /* Yellow Rainbow */
|
||||
colors['#'] = "\033[42m"; /* Green rainbow */
|
||||
colors['='] = "\033[44m"; /* Light blue rainbow */
|
||||
colors[';'] = "\033[44m"; /* Dark blue rainbow */
|
||||
colors['*'] = "\033[40m"; /* Gray cat face */
|
||||
colors['%'] = "\033[45m"; /* Pink cheeks */
|
||||
colors[','] = "\033[44m"; /* Blue background */
|
||||
colors['.'] = "\033[47m"; /* White stars */
|
||||
colors['\''] = "\033[40m"; /* Black border */
|
||||
colors['@'] = "\033[47m"; /* Tan poptart */
|
||||
colors['$'] = "\033[45m"; /* Pink poptart */
|
||||
colors['-'] = "\033[41m"; /* Red poptart */
|
||||
colors['>'] = "\033[41m"; /* Red rainbow */
|
||||
colors['&'] = "\033[43m"; /* Orange rainbow */
|
||||
colors['+'] = "\033[43m"; /* Yellow Rainbow */
|
||||
colors['#'] = "\033[42m"; /* Green rainbow */
|
||||
colors['='] = "\033[44m"; /* Light blue rainbow */
|
||||
colors[';'] = "\033[44m"; /* Dark blue rainbow */
|
||||
colors['*'] = "\033[40m"; /* Gray cat face */
|
||||
colors['%'] = "\033[45m"; /* Pink cheeks */
|
||||
} else {
|
||||
printf("\033[H\033[2J");
|
||||
printf("I'm sorry, what was that?\n");
|
||||
|
Loading…
Reference in New Issue
Block a user