Skip to content

Inter Process Communication(IPC) game:Developed a traditional game SNAKE and LADDERS using the conceptof Shared Memory of IPC.The graphic of the game is supported by NCURSES libraries.

Notifications You must be signed in to change notification settings

Farheen2302/SnakeAndLadderGame

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

SnakeAndLadderGame

Inter Process Communication(IPC) game. Developed the traditional SNAKE and LADDERS using the concept of Shared Memory of IPC. The graphic of the game is supported by NCURSES libraries.

##To install Ncurses on linux(Ubuntu) $ sudo apt-get install libncurses-dev

$ sudo apt-get update

$ sudo apt-get install ncurses-dev

##To run the game

  1. Open 3 terminals, the third one in full screen mode.
  2. Run the first player on 1st terminal gcc sulluplay1.c -o p1 -lncurses
  3. On the 1st terminal run ./p1, enter the first player's name, and then minimize this terminal.
  4. Run the second player on 2nd terminal gcc sulluplay1.c -o p1 -lncurses
  5. On the 2nd terminal run ./p2, enter the second player's name, and then minimize this terminal.
  6. Run the game board on the 3rd terminal gcc bor.c -o board -lncurses
  7. On the 3rd terminal run ./board

Let the game begin!

Screenshot_of_game

About

Inter Process Communication(IPC) game:Developed a traditional game SNAKE and LADDERS using the conceptof Shared Memory of IPC.The graphic of the game is supported by NCURSES libraries.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages