Professional Documents
Culture Documents
Cgrmic
Cgrmic
Cgrmic
“Snake Game”
Submitted by
Rugved Tajane
Aditya Borse
Vishwajeet
Suryawanshi
Vaibhav Rathore
Affiliated to
Maharashtra State
Board of Technical Education
Certificate
This is to certify that Mr .Rugved Vijay Tajane of Student with Roll No-28 has successfully completedMicro-project
in course computer Graphics(22318) for the academic year 2022-23 as prescribed in the 'Assessment Manual'
during his/her tenure of completing Third Semester of Diploma Program in Computer Engineering from institute,
Sandip Polytechnic with institute code 1167.
Certificate
This is to certify that Mr Aditya Sharad Borse of Student with Roll No-05 has successfully completed Micro-
project in course computer Graphics(22318) for the academic year 2022-23 as prescribed in the 'Assessment
Manual' during his/her tenure of completing Third Semester of Diploma Program in Computer Engineering from
institute, Sandip Polytechnic with institute code 1167.
Certificate
This is to certify that Mr .Vishwajeet Nitin Suryawanshi of Student with Roll No-48 has successfully completed
Microproject in course computer Graphics(22318) for the academic year 2022-23 as prescribed in the
'Assessment Manual' during his/her tenure of completing Third Semester of Diploma Program in Computer
Engineering from institute, Sandip Polytechnic with institute code 1167.
Certificate
This is to certify that Mr. Vaibhav Anil Rathore of Student with Roll No-44 has successfully completedMicro-project
in course computer Graphics(22318) for the academic year 2022-23 as prescribed in the 'Assessment Manual'
during his/her tenure of completing Third Semester of Diploma Program in Computer Engineering from institute,
Sandip Polytechnic with institute code 1167.
3 Resources Required
1. Rugved Tajane
4 Analysis of Collected Data 2. Aditya Borse
5 Design & Editing of data 3. Vishwajeet Suryawanshi
4. Vaibhav Rathore
6 Compilation of Report
7 Compilation of Presentation
8 Presentation of Seminar
9 Final Submission
This project is inspired from websites like codewithC.com,studytonight.com We used the some new
header file to design the pendulum clock.
First we formed our group then discussed over the topic. After doing research we finalized our topic
Snake game.Then we distributed our work among four of us. Rugved worked on the program of the
project, Vishwajeet worked on interface of the system, Aditya analyzed and solved the errors and
Vaibhav finalized design and flow of implementation.Similarly we created our report
Algorithm:
• Create two rectangles, one inside the other, using the rectangle() function to act as the outer
outlineof the clock & the other is the inner outline of the clock.
• Color the space between the two rectangles brown using setfillstyle() and floodfill() functions
• Implement a circle inside the inner rectangle using the circle() function
• Color all other parts leaving the circle with dark gray using setfillstyle() and floodfill() functions.
• In the circle, insert all the digits using settextstyle() and outtextxy() functions.
• Calculate the coordinates of the digits.
• Implement the pendulum with two lines by using the line() function & another circle by using
thecircle() function which will act as the bob.
• Color all of them black using the setfillstyle() and floodfill() functions again.
• Implement hour, minute & second hands by using the line() function.
• Color the objects individually by using the setcolor() function.
Sr
Name of Resource/Material Specification Qty. Remarks
No
1 Hardware Resource Intel i3,2GB RAM 1 -
2 Software Resource Turbo C/C++ 1 -
3 Any Other Resource Internet 1 -
6.0 CODE:
#include <conio.h>
#include <stdio.h>
#include <stdlib.h>
// Driver Code
void main()
{
int m, n;
// Generate boundary
setup();
// Function Call
draw();
input();
logic();
}
}
getch();
}
OUTPUT:
a) Practical Outcomes:
1. We can perform basic operation of graphic