Skip to content

Vedantzope-08/SnakeAndLadder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

SnakeAndLadder

This C++ program adds snakes and ladders to a turn-based game. Players roll a dice to move on the board, encountering snakes that slide them down or ladders that lift them up. The game continues until one player reaches or surpasses position 100, declaring them the winner.

Libraries :-


iostream
vector
string
cstdlib
ctime
graphics.h

Graphics.h

A graphics library is a program library designed to aid in rendering computer graphics to a monitor. This typically involves providing optimized versions of functions that handle common rendering tasks. This can be done purely in software and running on the CPU, common in embedded systems, or being hardware accelerated by a GPU, more common in PCs. By employing these functions, a program can assemble an image to be output to a monitor. This relieves the programmer of the task of creating and optimizing these functions, and allows them to focus on building the graphics program. Graphics libraries are mainly used in video games and simulations.

Below is the link for setup of graphics.h Link :- https://www.geeksforgeeks.org/include-graphics-h-codeblocks/

Image

About

This C++ program adds snakes and ladders to a turn-based game. Players roll a dice to move on the board, encountering snakes that slide them down or ladders that lift them up. The game continues until one player reaches or surpasses position 100, declaring them the winner.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages