Projects

Snake Game in C
C Programming
Projects

Snake Game in C

Code For Snake Game in C Programming LanguageĀ  #include <graphics.h> #include <stdlib.h> #include <dos.h> #include <conio.h> #include <stdio.h> #include <time.h> check(); end(); win(); int m[500],n[500],con=20; clock_t start,stop; void main(void) { int a=0,i=0,j,t,temp,gd=DETECT,gm,ch,maxx,maxy,x=13,y=14,p,q,spd=100; initgraph(&gd,&gm,”C:\\TC\\BGI”); setcolor(WHITE); settextstyle(3,0,6); outtextxy(200,2,” SNAKE 2 “); settextstyle(6,0,2); outtextxy(20,80,” To direct The Snake use arrow keys”); outtextxy(20,140,” Don’t hit snake with its own […]

Read More
C Programming
Projects

TECHNICAL QUIZ PROJECT IN C

QUIZ PROJECT IN CĀ  The Technical Quiz Project, whose code in C Programming Language is mentioned below has many questions each with 4 options for which 1 is correct. The user will have to answer the right one in order to win the game otherwise the user will lose the game.   #include<stdio.h> #include<conio.h> #include<ctype.h> […]

Read More