Have a deal_card function that sets a variable called current_card. Need 3 cards? do:
deal_card
card1=$current_card
deal_card
card2=$current_card
deal_card
card3=$current_card
I like that idea Perderabo... another way I found was to do
Obviously your way is cleaner
I use a wget background process to downlaod a php file on my site.
Is there any way i can do this without downloading a file
like updating right from the shell itself? (0 Replies)
Okay so I'm making a simple text based game that branches into different scenarios. By branching I mean branching off into whole different files with that part of the game in it. I got tired of working on scenario 1 so I'm working on scenario 2. As I get started and try to test it, I get an... (3 Replies)
Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted!
1. The problem statement, all variables and given/known data:
I have written a script for a dice game that: (1) tells user that each of the 2 die are 6 sided (Spots=6); (2)... (3 Replies)
When I run the following script at the bottom it say cards remaining=44...It should be=35.
Can anyone tell me what I'm doing wrong. I've spent hours trying to get this to work and I can't go any further until this part works. thank you in advance
Cogiz
#!/bin/bash
# Date="November, 2016"
#... (2 Replies)
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)
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)
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
LEARN ABOUT OPENSOLARIS
gnome-cd
gnome-cd(1) User Commands gnome-cd(1)NAME
gnome-cd - plays audio CDs
SYNOPSIS
gnome-cd [gnome-std-options]
DESCRIPTION
The CD Player is an application that allows you to play audio Compact Discs. You can perform the following tasks:
o Play, pause, stop, or eject a CD
o Move through the tracks on the CD
o Adjust the output volume from the CD
o Edit the CD track information
If you are connected to the Internet, CD Player will attempt to retrieve CD information from CDDB. CDDB is a global database of CD informa-
tion. Each CD has a unique identity, which the CD Player can read. If you are connected to the Internet, CD Player will search a CDDB
server for that CD's identity and return the information found. This usually includes Title, Artist, and Track information. Once retrieved,
this information is stored locally under $HOME/.cddbslave. If you choose to edit this information, you will overwrite what is stored under
$HOME/.cddbslave.
OPTIONS
The following options are supported:
gnome-std-optionStandard options available for use with most GNOME applications. See gnome-std-options(5).
EXAMPLES
Example 1: Launching CD Player
example% gnome-cd
ENVIRONMENT VARIABLES
See environ(5) for descriptions of the following environment variables:
HOME User's home directory.
GNOME_CD_DEBUG If set, runs gnome-cd in debug mode.
EXIT STATUS
The following exit values are returned:
0 Application exited successfully
>0 Application exited with failure
FILES
The following files are used by this application:
/usr/bin/gnome-cd CD Player binary
$HOME/.cddbslave/* Directory where CDDB information is stored
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWgnome-cd |
+-----------------------------+-----------------------------+
|Interface stability |External |
+-----------------------------+-----------------------------+
SEE ALSO
CD Player Manual
Latest version of the GNOME Desktop User Guide for your platform.
gnome-std-options(5), esd-config(1), esdcat(1), esdctl(1), esdmon(1), esdplay(1), esdrec(1), esdsample(1), libesd(3), sox(1), soxmix(1),
play(1), gnome-volcheck(1), cddb-slave2-properties(1), environ(5)NOTES
Written by Matt Keenan, Sun Microsystems Inc., 2003.
SunOS 5.10 2 Oct 2003 gnome-cd(1)