SlideShare a Scribd company logo
1 of 16
 Project Associates:
Karan Jain 4JN07CS033
Keerthi Kumar K.H 4JN07CS035
Project Guides:
Mrs. Thaseen Bhashith , BE M.Tech
Lecturer, Dept. of C S & E
Ms. Sowmya D , BE
Lecturer, Dept. of C S & E
CG MINI PROJECT USING OPENGL
Jawaharlal Nehru National College of Engineering
Introduction to open GL
About Ludo Game
Design & Implementation
Conclusion & Future Scope
Bibliography
 OpenGL is an application program interface whose
structure is similar to that of most modern API’s.
 It supports the simple two- and three- dimensional
programs. It also supports the advanced rendering
techniques.
 GL library
 OpenGL Utility Library (GLU)
 OpenGL Utility Toolkit (GLUT)
Game Rules
•Four pieces are placed in the start area of their colour.
•Throw a single die.
• First throw a six or one to move.
•Player moves a piece forward 1 to 6 squares.
•Six results in another turn.
•Player can’t move, pass to next player.
•Captured and returns to the starting area.
•No doubling rules.
•Advance to home square.
•Winner .
About Ludo Game
How to Play
• Ludo player path.
• Ludo Home.
•Start area.
•Move from starting square, clockwise around the perimeter.
• No resting squares.
• Player Identification color.
Start
Mouse func or key
func
If( btn
or key) Roll the dice & Move coin
Show menu options
Exit(0);
==LEFT
==RIGHT
==‘q’||’Q’
A
Design and Implementation
Dice value is 6 0r 1
Move coin outside or change its pos
Fig: Flowchart of Playing Game
yes
If its pos = opponent
pos
Hit
opponent
Return opponent to initial & play again
Enter HomeChange player
yes
goal
Dice=6
Roll the dice
no
A
B
B
glBegin(glEnum mode);
glColor3f[i f d](TYPE r,TYPE g,TYPE b);
glVertex3f(int xcor,int ycor,int zcor);
glEnd();
glFlush();
glClearColor(GLclampf r, GLclampf g, GLclampf b,
GLclampf a);
glClear
glutInitDisplayMode(unsigned int mode);
glutInitWindowPosition(int x, int y);
glutInitWindowSize(int width, int height);
glutCreateWindow(char *title);
glutMainLoop();
glutReshapeFunc(void (*func) (void));
glutDisplayFunc(void (*func) (void));
glutMouseFunc(myMouse);
gluOrtho2D(GLdouble left, GLdouble right, GLdouble
bottom, GLdouble top);
glutPostRedisplay();
glTranslatef[fd](TYPE x,TYPE y,TYPE z);
glutBitmapCharacter(void *font, int char);
 glRasterpos3f(int xcor,int ycor,int zcor);
 glutCreateMenu (void (*func) (void));
 glutAddMenuEntry(char *name,int index);
Draw();
Ply1win ();
Ply2win ();
Call ();
Arrow ();
Check_cond ();
Circle ();
Dice ();
Display ();
Display_about ();
Display1 ();
Display2 ();
Display_abt_game ();
Display_enter ();
Display_guide ();
Init ();
Key ();
Main ();
myMouse ();
myReshape ();
Player1 ();
Player2();
Pl1_pl2 ();
Wait ();
CONCLUSION
•The LUDO game has been improvised with graphical approach.
•The demo is made more iterative with a mouse interaction module in the
program .
FUTURE SCOPE
•Even though demo designed is enriched with many options, it is a two
dimensional demo, in future it can be re designed with 3D animation and
sound effects.
• By using this demo further for four coins & four players can be
implemented.
Bibliography
THANK YOU

More Related Content

What's hot

8 queens problem using back tracking
8 queens problem using back tracking8 queens problem using back tracking
8 queens problem using back tracking
Tech_MX
 
computer notes - Evaluating postfix expressions
computer notes - Evaluating postfix expressionscomputer notes - Evaluating postfix expressions
computer notes - Evaluating postfix expressions
ecomputernotes
 
A project report on chat application
A project report on chat applicationA project report on chat application
A project report on chat application
Kumar Gaurav
 

What's hot (20)

15 puzzle problem using branch and bound
15 puzzle problem using branch and bound15 puzzle problem using branch and bound
15 puzzle problem using branch and bound
 
The n Queen Problem
The n Queen ProblemThe n Queen Problem
The n Queen Problem
 
A presentation on prim's and kruskal's algorithm
A presentation on prim's and kruskal's algorithmA presentation on prim's and kruskal's algorithm
A presentation on prim's and kruskal's algorithm
 
java-thread
java-threadjava-thread
java-thread
 
Tic tac toe game with graphics presentation
Tic  tac  toe game with graphics presentationTic  tac  toe game with graphics presentation
Tic tac toe game with graphics presentation
 
Water jug problem ai part 6
Water jug problem ai part 6Water jug problem ai part 6
Water jug problem ai part 6
 
8 queens problem using back tracking
8 queens problem using back tracking8 queens problem using back tracking
8 queens problem using back tracking
 
Mini project in java swing
Mini project in java swingMini project in java swing
Mini project in java swing
 
computer notes - Evaluating postfix expressions
computer notes - Evaluating postfix expressionscomputer notes - Evaluating postfix expressions
computer notes - Evaluating postfix expressions
 
Flappy Birds Project
Flappy Birds ProjectFlappy Birds Project
Flappy Birds Project
 
Presentation of 3rd Semester C++ Project
Presentation of 3rd Semester C++ ProjectPresentation of 3rd Semester C++ Project
Presentation of 3rd Semester C++ Project
 
Synopsis tic tac toe
Synopsis tic tac toeSynopsis tic tac toe
Synopsis tic tac toe
 
report on snake game
report on snake game report on snake game
report on snake game
 
Online Quiz System Project Report
Online Quiz System Project Report Online Quiz System Project Report
Online Quiz System Project Report
 
Dijkstra's algorithm presentation
Dijkstra's algorithm presentationDijkstra's algorithm presentation
Dijkstra's algorithm presentation
 
Little o and little omega
Little o and little omegaLittle o and little omega
Little o and little omega
 
Report on car racing game for android
Report on car racing game for androidReport on car racing game for android
Report on car racing game for android
 
A simple snake game project
A simple snake game projectA simple snake game project
A simple snake game project
 
A project report on chat application
A project report on chat applicationA project report on chat application
A project report on chat application
 
Snake game powerpoint presentation by rohit malav
Snake game powerpoint presentation by rohit malavSnake game powerpoint presentation by rohit malav
Snake game powerpoint presentation by rohit malav
 

Viewers also liked

Viewers also liked (20)

Computer Graphics 471 Project Report Final
Computer Graphics 471 Project Report FinalComputer Graphics 471 Project Report Final
Computer Graphics 471 Project Report Final
 
OpenGL Projects on SIMULATION OF WATER RIPPELS
OpenGL Projects on SIMULATION OF WATER RIPPELSOpenGL Projects on SIMULATION OF WATER RIPPELS
OpenGL Projects on SIMULATION OF WATER RIPPELS
 
Computer Graphics Project- The Running Train
Computer Graphics Project- The Running TrainComputer Graphics Project- The Running Train
Computer Graphics Project- The Running Train
 
Computer Graphics Project Development Help with OpenGL computer graphics proj...
Computer Graphics Project Development Help with OpenGL computer graphics proj...Computer Graphics Project Development Help with OpenGL computer graphics proj...
Computer Graphics Project Development Help with OpenGL computer graphics proj...
 
Computer graphics mini project on bellman-ford algorithm
Computer graphics mini project on bellman-ford algorithmComputer graphics mini project on bellman-ford algorithm
Computer graphics mini project on bellman-ford algorithm
 
Mini Project- 3D Graphics And Visualisation
Mini Project- 3D Graphics And VisualisationMini Project- 3D Graphics And Visualisation
Mini Project- 3D Graphics And Visualisation
 
COMPUTER GRAPHICS PROJECT REPORT
COMPUTER GRAPHICS PROJECT REPORTCOMPUTER GRAPHICS PROJECT REPORT
COMPUTER GRAPHICS PROJECT REPORT
 
Design A Screen saver in c on Moving Train with Side view.
Design A Screen saver in c on Moving Train with Side view.Design A Screen saver in c on Moving Train with Side view.
Design A Screen saver in c on Moving Train with Side view.
 
bhargav_flowing-fountain
bhargav_flowing-fountainbhargav_flowing-fountain
bhargav_flowing-fountain
 
KARNAUGH MAP using OpenGL (KMAP)
KARNAUGH MAP using OpenGL (KMAP)KARNAUGH MAP using OpenGL (KMAP)
KARNAUGH MAP using OpenGL (KMAP)
 
GRAPHICS PROCESSING UNIT (GPU)
GRAPHICS PROCESSING UNIT (GPU)GRAPHICS PROCESSING UNIT (GPU)
GRAPHICS PROCESSING UNIT (GPU)
 
SYNOPSIS WRITING
SYNOPSIS WRITINGSYNOPSIS WRITING
SYNOPSIS WRITING
 
Sample project-synopsis
Sample project-synopsisSample project-synopsis
Sample project-synopsis
 
Presentatie Lucas Hulsebos DWWA 2008
Presentatie Lucas Hulsebos DWWA 2008Presentatie Lucas Hulsebos DWWA 2008
Presentatie Lucas Hulsebos DWWA 2008
 
Instancing
InstancingInstancing
Instancing
 
Arcanoid 3D
Arcanoid 3DArcanoid 3D
Arcanoid 3D
 
VU Computer Graphics project - SkyRoads remake
VU Computer Graphics project - SkyRoads remakeVU Computer Graphics project - SkyRoads remake
VU Computer Graphics project - SkyRoads remake
 
A Practical Approach for Web Portal Security Using Roles
A Practical Approach for Web Portal Security Using RolesA Practical Approach for Web Portal Security Using Roles
A Practical Approach for Web Portal Security Using Roles
 
Engineering colleges in karnataka with phone no & email id
Engineering colleges in karnataka with phone no & email idEngineering colleges in karnataka with phone no & email id
Engineering colleges in karnataka with phone no & email id
 
Apartment vs Independent House Infographics
Apartment vs Independent House InfographicsApartment vs Independent House Infographics
Apartment vs Independent House Infographics
 

Similar to LUDO BOARD GAME OPENGL COMPUTER GRAPHICS

Intro to Computer Graphics.ppt
Intro to Computer Graphics.pptIntro to Computer Graphics.ppt
Intro to Computer Graphics.ppt
adil104135
 
ma project
ma projectma project
ma project
Aisu
 

Similar to LUDO BOARD GAME OPENGL COMPUTER GRAPHICS (20)

september11.ppt
september11.pptseptember11.ppt
september11.ppt
 
Bai 1
Bai 1Bai 1
Bai 1
 
Chapter02 graphics-programming
Chapter02 graphics-programmingChapter02 graphics-programming
Chapter02 graphics-programming
 
opengl.ppt
opengl.pptopengl.ppt
opengl.ppt
 
Intro to Computer Graphics.ppt
Intro to Computer Graphics.pptIntro to Computer Graphics.ppt
Intro to Computer Graphics.ppt
 
Melbourne, Australia Global Day of Code Retreat 2018 gdcr18 - Event Slides
Melbourne, Australia Global Day of Code Retreat 2018 gdcr18 - Event SlidesMelbourne, Australia Global Day of Code Retreat 2018 gdcr18 - Event Slides
Melbourne, Australia Global Day of Code Retreat 2018 gdcr18 - Event Slides
 
Ghana National Flag
Ghana National FlagGhana National Flag
Ghana National Flag
 
openGL basics for sample program (1).ppt
openGL basics for sample program (1).pptopenGL basics for sample program (1).ppt
openGL basics for sample program (1).ppt
 
openGL basics for sample program.ppt
openGL basics for sample program.pptopenGL basics for sample program.ppt
openGL basics for sample program.ppt
 
Lab Practices and Works Documentation / Report on Computer Graphics
Lab Practices and Works Documentation / Report on Computer GraphicsLab Practices and Works Documentation / Report on Computer Graphics
Lab Practices and Works Documentation / Report on Computer Graphics
 
Working with Callbacks
Working with CallbacksWorking with Callbacks
Working with Callbacks
 
Introduction to graphics programming in c
Introduction to graphics programming in cIntroduction to graphics programming in c
Introduction to graphics programming in c
 
Formalising Graph Pattern Matching Gremlin traversals in Graph Alegra
Formalising Graph Pattern Matching Gremlin traversals in Graph AlegraFormalising Graph Pattern Matching Gremlin traversals in Graph Alegra
Formalising Graph Pattern Matching Gremlin traversals in Graph Alegra
 
Togo National Flag
Togo National FlagTogo National Flag
Togo National Flag
 
Python tools to deploy your machine learning models faster
Python tools to deploy your machine learning models fasterPython tools to deploy your machine learning models faster
Python tools to deploy your machine learning models faster
 
ma project
ma projectma project
ma project
 
Advanced Cartography for the Web
Advanced Cartography for the WebAdvanced Cartography for the Web
Advanced Cartography for the Web
 
Tic tac toe on c++ project
Tic tac toe on c++ projectTic tac toe on c++ project
Tic tac toe on c++ project
 
LO2 - Lesson 5 - Flow Diagram
LO2 - Lesson 5 - Flow DiagramLO2 - Lesson 5 - Flow Diagram
LO2 - Lesson 5 - Flow Diagram
 
01.Opengl_intro-2.ppt
01.Opengl_intro-2.ppt01.Opengl_intro-2.ppt
01.Opengl_intro-2.ppt
 

Recently uploaded

1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
QucHHunhnh
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
kauryashika82
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
heathfieldcps1
 

Recently uploaded (20)

PROCESS RECORDING FORMAT.docx
PROCESS      RECORDING        FORMAT.docxPROCESS      RECORDING        FORMAT.docx
PROCESS RECORDING FORMAT.docx
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptx
 
psychiatric nursing HISTORY COLLECTION .docx
psychiatric  nursing HISTORY  COLLECTION  .docxpsychiatric  nursing HISTORY  COLLECTION  .docx
psychiatric nursing HISTORY COLLECTION .docx
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
Unit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxUnit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptx
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
Asian American Pacific Islander Month DDSD 2024.pptx
Asian American Pacific Islander Month DDSD 2024.pptxAsian American Pacific Islander Month DDSD 2024.pptx
Asian American Pacific Islander Month DDSD 2024.pptx
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdf
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdf
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701
 
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptxINDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SD
 

LUDO BOARD GAME OPENGL COMPUTER GRAPHICS

  • 1.  Project Associates: Karan Jain 4JN07CS033 Keerthi Kumar K.H 4JN07CS035 Project Guides: Mrs. Thaseen Bhashith , BE M.Tech Lecturer, Dept. of C S & E Ms. Sowmya D , BE Lecturer, Dept. of C S & E CG MINI PROJECT USING OPENGL Jawaharlal Nehru National College of Engineering
  • 2.
  • 3. Introduction to open GL About Ludo Game Design & Implementation Conclusion & Future Scope Bibliography
  • 4.  OpenGL is an application program interface whose structure is similar to that of most modern API’s.  It supports the simple two- and three- dimensional programs. It also supports the advanced rendering techniques.  GL library  OpenGL Utility Library (GLU)  OpenGL Utility Toolkit (GLUT)
  • 5. Game Rules •Four pieces are placed in the start area of their colour. •Throw a single die. • First throw a six or one to move. •Player moves a piece forward 1 to 6 squares. •Six results in another turn. •Player can’t move, pass to next player. •Captured and returns to the starting area. •No doubling rules. •Advance to home square. •Winner . About Ludo Game
  • 6. How to Play • Ludo player path. • Ludo Home. •Start area. •Move from starting square, clockwise around the perimeter. • No resting squares. • Player Identification color.
  • 7. Start Mouse func or key func If( btn or key) Roll the dice & Move coin Show menu options Exit(0); ==LEFT ==RIGHT ==‘q’||’Q’ A Design and Implementation
  • 8. Dice value is 6 0r 1 Move coin outside or change its pos Fig: Flowchart of Playing Game yes If its pos = opponent pos Hit opponent Return opponent to initial & play again Enter HomeChange player yes goal Dice=6 Roll the dice no A B B
  • 9. glBegin(glEnum mode); glColor3f[i f d](TYPE r,TYPE g,TYPE b); glVertex3f(int xcor,int ycor,int zcor); glEnd(); glFlush(); glClearColor(GLclampf r, GLclampf g, GLclampf b, GLclampf a); glClear glutInitDisplayMode(unsigned int mode); glutInitWindowPosition(int x, int y); glutInitWindowSize(int width, int height);
  • 10. glutCreateWindow(char *title); glutMainLoop(); glutReshapeFunc(void (*func) (void)); glutDisplayFunc(void (*func) (void)); glutMouseFunc(myMouse); gluOrtho2D(GLdouble left, GLdouble right, GLdouble bottom, GLdouble top); glutPostRedisplay(); glTranslatef[fd](TYPE x,TYPE y,TYPE z); glutBitmapCharacter(void *font, int char);  glRasterpos3f(int xcor,int ycor,int zcor);  glutCreateMenu (void (*func) (void));  glutAddMenuEntry(char *name,int index);
  • 11. Draw(); Ply1win (); Ply2win (); Call (); Arrow (); Check_cond (); Circle (); Dice (); Display (); Display_about (); Display1 ();
  • 12. Display2 (); Display_abt_game (); Display_enter (); Display_guide (); Init (); Key (); Main (); myMouse (); myReshape (); Player1 (); Player2(); Pl1_pl2 (); Wait ();
  • 13.
  • 14. CONCLUSION •The LUDO game has been improvised with graphical approach. •The demo is made more iterative with a mouse interaction module in the program . FUTURE SCOPE •Even though demo designed is enriched with many options, it is a two dimensional demo, in future it can be re designed with 3D animation and sound effects. • By using this demo further for four coins & four players can be implemented.