Advertisement
Phr0zen_Penguin

Revolving Symmetry 1.0

Nov 17th, 2011
149
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 2.99 KB | None | 0 0
  1. //Revolving Symmetry 1.0
  2.  
  3. #include <stdio.h>
  4. #include <stdlib.h>
  5. #include <conio.h>
  6.  
  7. //void main()
  8. int main()
  9. {
  10. system ("title Lights, Camera, ASCII!!! by Phr0zen Pengu1n");
  11. system ("color 47");
  12.  
  13. int a;
  14.  
  15. while (1){
  16.       system ("cls");
  17.       printf ("\t\t\t\t\t");
  18.       printf ("|");
  19.       printf ("\n\n\n\n\n\n\n\n\n\n\n\n\t\t\t\t");
  20.       printf ("/");
  21.       printf ("\t");
  22.       textcolor (YELLOW);
  23.       textbackground (RED);
  24.       cprintf ("4");
  25.       printf ("\t");
  26.       printf ("\\");
  27.       printf ("\n\n\n\n\n\n\n\n\n\n\t\t\t\t");
  28.       textcolor (WHITE);
  29.       textbackground (RED);
  30.       printf ("\t");
  31.       printf ("|");
  32.       printf ("\n\t\t\t\t");
  33.       cprintf ("  ESC");
  34.       printf (" to exit.");
  35.  
  36.       system ("cls");
  37.       printf ("\n\n\n\t\t\t\t\t");
  38.       printf ("|");
  39.       printf ("\n\n\n\n\n\n\n\n\n\t\t\t\t");
  40.       printf ("-");
  41.       printf ("\t");
  42.       textcolor (LIGHTRED);
  43.       textbackground (RED);
  44.       cprintf ("3");
  45.       printf ("\t");
  46.       printf ("-");
  47.       printf ("\n\n\n\n\n\n\n\n\t\t\t\t");
  48.       textcolor (WHITE);
  49.       textbackground (RED);
  50.       printf ("\t");
  51.       printf ("|");
  52.       printf ("\n\n\n\t\t\t\t");
  53.       cprintf ("  ESC");
  54.       printf (" to exit.");
  55.  
  56.       system ("cls");
  57.       printf ("\n\n\n\n\n\t\t\t\t\t");
  58.       printf ("|");
  59.       printf ("\n\n\n\n\n\n\n\t\t\t\t");
  60.       printf ("\\");
  61.       printf ("\t");
  62.       textcolor (LIGHTCYAN);
  63.       textbackground (RED);
  64.       cprintf ("2");
  65.       printf ("\t");
  66.       printf ("/");
  67.       printf ("\n\n\n\n\n\n\t\t\t\t");
  68.       textcolor (WHITE);
  69.       textbackground (RED);
  70.       printf ("\t");
  71.       printf ("|");
  72.       printf ("\n\n\n\n\n\t\t\t\t");
  73.       cprintf ("  ESC");
  74.       printf (" to exit.");
  75.  
  76.       system ("cls");
  77.       printf ("\n\n\n\n\n\n\n\n\t\t\t\t\t");
  78.       printf ("|");
  79.       printf ("\n\n\n\n\t\t\t\t");
  80.       printf ("|");
  81.       printf ("\t");
  82.       textcolor (LIGHTGREEN);
  83.       textbackground (RED);
  84.       cprintf ("1");
  85.       printf ("\t");
  86.       printf ("|");
  87.       printf ("\n\n\n\t\t\t\t");
  88.       textcolor (WHITE);
  89.       textbackground (RED);
  90.       printf ("\t");
  91.       printf ("|");
  92.       printf ("\n\n\n\n\n\n\n\n\t\t\t\t");
  93.       cprintf ("  ESC");
  94.       printf (" to exit.");
  95.  
  96.       if (kbhit()){
  97.         a = getch();
  98.         if (a == 27){
  99.           system ("cls");
  100.           printf ("\n\n\n\n\n\n\n\n\t\t\t\t\t");
  101.           printf ("|");
  102.           printf ("\n\n\n\n\t\t\t\t");
  103.           printf ("|");
  104.           printf ("\t");
  105.           textcolor (LIGHTGREEN);
  106.           textbackground (RED);
  107.           cprintf ("1");
  108.           printf ("\t");
  109.           printf ("|");
  110.           printf ("\n\n\n\t\t\t\t");
  111.           textcolor (LIGHTMAGENTA);
  112.           textbackground (RED);
  113.           printf ("\t");
  114.           printf ("|");
  115.           printf ("\n\n\n\n\n\n\n\n\t\t\t\t");
  116.           cprintf ("  ESC");
  117.           printf (" to exit.");
  118.           return 0;
  119.         }
  120.       }
  121.   }
  122. }
  123.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement