Sponsored Content
Full Discussion: Snake and ladder game
Top Forums Shell Programming and Scripting Snake and ladder game Post 302836827 by Chubler_XL on Wednesday 24th of July 2013 06:32:26 PM
Old 07-24-2013
I'd be inclined to use named pipes for this problem.

Use one NP for the game to receive commands from players and one for each player so they can receive game state.

Players would have to create a NP and pass it's path to the game using the game NP as they join.
 

4 More Discussions You Might Find Interesting

1. What is on Your Mind?

Game: Name this person

Simple rules... 1. Guess who it is, the first person to get it posts the next picture, post your guess as a reply to this thread. 2. Wait for the person who posted the picture to confirm that you are correct before posting a new picture. 3. If the person who posted the picture does not answer... (268 Replies)
Discussion started by: reborg
268 Replies

2. Programming

Tetris Game in C++

Open Source Project: https://github.com/yongye/cpp Ported from the shell: Shell (0 Replies)
Discussion started by: complex.invoke
0 Replies

3. What is on Your Mind?

Snake game challenge in UNIX

Hey Guys, I have made this basic snake game but it a little bit different from conventional snake game. Learned some basics of Unix. Hope you enjoy playing it. Please download and run on your machine and suggest any changes i can make. and let me know if someone could score 1000 points ;) ... (2 Replies)
Discussion started by: amit14august
2 Replies

4. UNIX for Beginners Questions & Answers

Word ladder Problem

Perl - Script Rules In a Word Ladder: Players get a starting word and an ending word Starting and ending words must be the same length (PIG and HOG, or CAT and DOG) Players change one letter at a time, attempting to move from the starting word to the ending word Each intermediate step... (1 Reply)
Discussion started by: asak
1 Replies
Pang Zero(6)							       Games							      Pang Zero(6)

NAME
pangzero - action game that involves popping balloons with a harpoon SYNOPSIS
pangzero DESCRIPTION
Pang Zero is a clone and enhancement of Super Pang, a fast-paced action game that involves popping balloons with a harpoon. The intention is to create a fun, open-source game that many (currently up to 6) people can play together. You can play Pang Zero alone, but it's a lot more fun to play with your friends. USAGE
The purpose of the game is to destroy balls using a harpoon. When those balls are hit, they will split into two smaller balls until they are totally destroyed. There are also some special balls which will appear during the game. Right after starting the game you will have a menu available, in which you will be able to select some playing options. You can use cursor keys to navigate through menuoptions and use Enter to select one. 'P' key pauses the game, and Esc quits. In that menu, you can select the number of players (between 1 and 6), Select some game options, like turn the sound or the music on and off, or switch between fullscreen, windowed screen or widescreen. You can also select the keys for the players. There's a tutorial available through the starting menu, that you can use to learn how to play. FILES
~/.pangzerorc This is where Pang Zero stores user data and game configuration. AUTHOR
Pang Zero was written by UPi. This manual page was written for Debian by Miriam Ruiz <little_miry@yahoo.es>. SEE ALSO
UPi 8 December 2006 Pang Zero(6)
All times are GMT -4. The time now is 07:02 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy