Tetris Game in C : Game program in C

tetris game in c

Tetris Game in C : Game program in C Let us see the Tetris Game in C #include <graphics.h> #include <stdlib.h> #include <stdio.h> #include <dos.h> #include <conio.h> void swap(int a,int b);void bar1();void bar2(); void bar3(); void bar4(); check0(); check1(); check2(); void del(); void rod1(); void rod2(); void box1();void box2();void tee1();voidtee2(); void tee3();void tee4();check3();void insert(); void … Read more

tic-tac-toe game in c

C Programming Tutorial

This is a tic-tac-toe game in C Language.  You can this as a mini project in C Language.     #include<stdio.h> #include<conio.h> #include<stdlib.h> #include <windows.h> int board[10] = {2,2,2,2,2,2,2,2,2,2}; int turn = 1,flag = 0; int player,comp; void menu(); void go(int n); void start_game(); void check_draw(); void draw_board(); void player_first(); void put_X_O(char ch,int pos); COORD … Read more

C program for Snake game

C Programming Tutorial

Snake Game is mini project  in a C language. It is console application without graphic library that’s why it is more interesting. This game is perfect without any error and better user interface. It is complied in code block using c language. Here goes a source code you can copy and compiled it in code block. … Read more