Script for Hangman Game


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting Script for Hangman Game
# 1  
Old 11-20-2007
Script for Hangman Game

Any ideas on whats the best way to form a hangman game via bash shell.

Last edited by immyakram; 12-06-2007 at 08:41 PM.. Reason: Correction
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. Programming

Game script

Hi everyone, I need some help seriously. The game is in text mode. It will be based on questions and answers and simple commands. A menu containing options of the game including: 1-Create a new player. 2-Identify as existing player. 3-Launch a new game: this action opens a new game for an... (1 Reply)
Discussion started by: NaimZero
1 Replies

2. Shell Programming and Scripting

Problem with GREP + CUT - script for automatic update of STEAM GAME AR

Hello, I have a problem with the /etc/rc.d/init.d script to automatically update STEAM GAME ARK. I've converted 3 scripts into one, but something does not work correctly ... The problem is in the file latestavailableupdate.txt / line 36/39. It think the problem is with script, it wrongly... (2 Replies)
Discussion started by: kshishu
2 Replies

3. Shell Programming and Scripting

Creating a text based game using shell script.

Hello guys I'm new to shell scripting and I need to make a game using shell script. I want to know if it is possible for me a total noob to shell scripting to make this game. The game concept is simple: First thing when you launch the script you get a menu in which you select if you want to... (3 Replies)
Discussion started by: Othmane
3 Replies

4. Shell Programming and Scripting

Tetris Game -- based on a shell script (new algorithm)

GitHub - deepgrace/tetris: Tetris implementation in all kinds of Programming Languages Usage: bash Tetris_Game ] ] ] ] Range: #!/bin/bash # Tetris Game // The Art Of Shell Programming box0=(4 30) box1=(4 30 4 32) box2=(4 30 5 32) box3=(4 28 4 30 4 32) box4=(4 28 4 30... (69 Replies)
Discussion started by: complex.invoke
69 Replies

5. UNIX for Dummies Questions & Answers

help with hangman

i want to create the known game hangman wordlist=./hangmanword //hangman word is my text file which include words i use this code to generate a random number corresponding to a word in our file and works fine calculate and generate a right number wordline=$( wc -l ${wordlist} | awk '{print... (9 Replies)
Discussion started by: sainis
9 Replies

6. Shell Programming and Scripting

Shell Script Poker Game

Original Code Taken from here: http://www.tldp.org/LDP/abs/html/bashver2.html#EX79 The code in the above link displays 4 unique 13 cards hands. I've modified it to deal a hand unique 2 card hand to 2 different players, then deal 5 unique community cards as in Texas Holdem (3 cards, then 1... (8 Replies)
Discussion started by: earnstaf
8 Replies

7. Shell Programming and Scripting

Hangman Script

Hello everyone, im just having some problem forming a script for a hangman script. The question states: The object this excercise is for u to write a script that emulate the classic game hangman. The object of this game is for a user to try and guess a word which has been generated by the... (1 Reply)
Discussion started by: immyakram
1 Replies

8. Shell Programming and Scripting

Hangman written in Bash. Suggestions please...

qwertyuiop (1 Reply)
Discussion started by: rorey_breaker
1 Replies
Login or Register to Ask a Question
glutGameModeGet(3GLUT)						       GLUT						    glutGameModeGet(3GLUT)

NAME
glutGameModeGet - retrieves GLUT device information represented by integers. SYNTAX
#include <GLUT/glut.h> int glutGameModeGet(GLenum info); ARGUMENTS
info Name of game mode information to retrieve. GLUT_GAME_MODE_ACTIVE Non-zero if GLUT's game mode is active; zero if not active. Game mode is not active initially. Game mode becomes active when glu- tEnterGameMode is called. Game mode becomes inactive when glutLeaveGameMode is called. GLUT_GAME_MODE_POSSIBLE Non-zero if the game mode string last specified to glutGameModeString is a possible game mode configuration; zero otherwise. Being "possible" does not guarantee that if game mode is entered with glutEnterGameMode that the display settings will actually changed. GLUT_GAME_MODE_DISPLAY_CHANGED should be called once game mode is entered to determine if the display mode is actually changed. GLUT_GAME_MODE_WIDTH Width in pixels of the screen when game mode is activated. GLUT_GAME_MODE_HEIGHT Height in pixels of the screen when game mode is activated. GLUT_GAME_MODE_PIXEL_DEPTH Pixel depth of the screen when game mode is activiated. GLUT_GAME_MODE_REFRESH_RATE Screen refresh rate in cyles per second (hertz) when game mode is activated. Zero is returned if the refresh rate is unknown or cannot be queried. GLUT_GAME_MODE_DISPLAY_CHANGED Non-zero if entering game mode actually changed the display settings. If the game mode string is not possible or the display mode could not be changed for any other reason, zero is returned. DESCRIPTION
glutGameModeGet retrieves GLUT game mode information represented by integers. The info parameter determines what type of game mode informa- tion to return. Requesting game mode information for an invalid GLUT game mode information name returns negative one. SEE ALSO
glutGet, glutDeviceGet, glutLayerGet, glutGameModeString, glutEnterGameMode, glutLeaveGameMode AUTHOR
Mark J. Kilgard (mjk@nvidia.com) GLUT
3.7 glutGameModeGet(3GLUT)