Here is a program for tetris game in C.
(1)Set the path in initgraph() function.
(2)give size of piece between 10 to 20 in execution of code.
(3)use arrow key to play game.
Download code :Tetris
Enjoy the game & its logic……..!!
Here is a program for tetris game in C.
(1)Set the path in initgraph() function.
(2)give size of piece between 10 to 20 in execution of code.
(3)use arrow key to play game.
Download code :Tetris
Enjoy the game & its logic……..!!
Here is a program for analog clock in C with graphics.
If you have any queries or problems then leave a comment.
Download code : clock.c
Here is a sample code and sample image using which you can use bitmap image in C ‘s output.
If you have any problem in code then leave a comment.