This document outlines a mini project on creating a graphical Ludo game using OpenGL, detailing its introduction, design, implementation, game rules, and potential future enhancements. It discusses the use of OpenGL features for rendering and the interaction mechanics for players. The conclusion highlights the improvements made to the game and suggests future upgrades including 3D animation and sound effects.
Project Associates:
KaranJain 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
3.
Introduction to openGL
About Ludo Game
Design & Implementation
Conclusion & Future Scope
Bibliography
4.
OpenGL isan 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 piecesare 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 orkey
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 is6 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
CONCLUSION
•The LUDO gamehas 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.