#include #include #include #include #include #include #include #include #include "strings.h" void cleanup(int signum) { endwin(); exit(0); } void random_stuff(void) /* print random junk on the screen for about 3 seconds */ { clear(); /* credit for this text goes to David Brownlee and Chirs Carter */ print_string("#45 11456 11009 11893 11972 11315\nPRT CON. 3.4.5. SECTRAN 9.4.3. PORT STAT: SD-345\n\n(311) 699-7305\n"); clear(); print_string("\n\n\n\n\n\n\n"); print_string("(311) 767-8739\n(311) 936-2364\n- PRT. STAT. CRT. DEF.\n||||||||||||||==================================================\nFSKDJLSD: SDSDKJ: SBFJSL: DKSJL: SKFJJ: SDKFJLJ:\nSYSPROC FUNCT READY ALT NET READY\nCPU AUTH RY-345-AX3 SYSCOMP STATUS ALL PORTS ACTIVE\n22/34534.90/3209 11CVB-3904-3490\n(311) 935-2364\n"); usleep(100000); clear(); } void be_joshua() { initscr(); clear(); signal(SIGINT, &cleanup); /* start_color(); init_pair(1, COLOR_BLUE, COLOR_BLACK); attron(COLOR_PAIR(1));*/ scrollok(stdscr, true); bool gamesPhase=false; char buf[33]; int maxx, maxy; getmaxyx(stdscr, maxy, maxx); for(int i=0;i