Brick game is the simple but interesting program launched in Turbo C. For Turbo C 32-bit operating system is needed (for 64-bit OS TC simulator must be installed). Using simple graphics properties and functions the program is coded and finally we got success. It is fruitful for us to launch this program. Now we are able to code simple graphic programs in TC. The program consists of many graphics inbuilt functions to draw polygons such as rectangle. Circle etc. and all the graphic functions used from graphics header file. Here gotoxy, kbhit, getch functions are taken from conio header file. The function toupper is used from ctype header file.
This function is used to display the status line at the bottom of the screen. This function takes character as argument and returns nothing. Set height of status bar Set viewport for status bar Display score and chance Return to main function Statusline() This function is used to display the status line at the bottom of the screen. This function takes character as argument and returns nothing. Set height of status bar Set viewport for status bar Display score and chance Return to main function
mainwindow() This function is created to establish the main window. This function takes characters as argument and returns nothing. Clear the graphics screen Set view port and display the text argument in proper format Returns to the main function