Beispiel #1
0
 public static void BlackJackTable()                                                                         // describes the main playing table
 {
     Console.Clear();                                                                                        // clear the prevoius buffer
     Draw.DrawFrame(Draw.headerFrame);                                                                       // draw the main header border
     Draw.DrawLogoInFrame(Draw.gameLogo, Draw.headerFrame, new Style(ConsoleColor.Red, ConsoleColor.Black)); // put a logo of black jack game
     Draw.DrawFrame(Draw.gameMenu);                                                                          // draw the ingame menu
     Draw.DrawFrame(Draw.table);                                                                             // draw the table border
     Draw.DrawFrame(Draw.statusDisplay);                                                                     // draw the status box
     Draw.DrawFrame(Draw.betBox);                                                                            // draw the current bet box
 }
Beispiel #2
0
 public static void MainGUI()                                                                                 // used to draw the main interface
 {
     Draw.DrawFrame(Draw.headerFrame);                                                                        // header frame
     Draw.DrawFrame(Draw.menuFrame);                                                                          // menu frame main menu
     Draw.DrawLogoInFrame(Draw.logoTitle, Draw.headerFrame, new Style(ConsoleColor.Red, ConsoleColor.Black)); // TODO: draw the texts inside header and menu
 }