9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
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
2. Programming
Open Source Project: https://github.com/yongye/cpp
Ported from the shell: Shell (0 Replies)
Discussion started by: complex.invoke
0 Replies
3. Programming
What is the difference between the two statements below?
A:
$a->{"$fruit"}->{"$color"}->{size} = $size
B:
$size = $a->{"$fruit"}->{"$color"}->{size}
Please assist. Thanks! (0 Replies)
Discussion started by: onlinelearner02
0 Replies
4. Shell Programming and Scripting
Well, I found myself trying to fix some Perl code (Ive never done any Perl in my life) and I pinpointed the place where the bug could be. But to be sure I have to know what does a few line of code mean:
$files_lim =~ (/^\d*$/)
$files_lim =~ (/^\d*h$/)
$files_age =~ s/h//
The code where... (2 Replies)
Discussion started by: RedSpyder
2 Replies
5. Shell Programming and Scripting
Well, I found myself trying to fix some Perl code (Ive never done any Perl in my life) and I pinpointed the place where the bug could be. But to be sure I have to know what does a few line of code mean:
$files_lim =~ (/^\d*$/)
$files_lim =~ (/^\d*h$/)$files_age =~ s/h//The code where this was... (0 Replies)
Discussion started by: RedSpyder
0 Replies
6. Red Hat
Does anyone know of a fedora version of tetris? I tried to search the repository with no luck. (4 Replies)
Discussion started by: cokedude
4 Replies
7. UNIX Desktop Questions & Answers
hello all,
May i know what is this "DEBUG_ME $DEBUG_CMD main" doing in the below code. I am confused with alias also "alias DEBUG_ME='#'". Thanks for your help.
set -x
alias DEBUG_ME='#'
if ; then
. /product/apps/informatica/v7/pc/ExtProc/debug.ksh "$1"
fi
# Declaring the... (1 Reply)
Discussion started by: Ariean
1 Replies
8. Shell Programming and Scripting
Hi!
I have the following script and do not understand part of it. I have a very little understanding of scripting.
The script is for Nagios to check the response of fast-com.de. The guy who has written it is no longer in the company.
#!/bin/sh
PATH=/adm/bin:/bin:/usr/bin
export PATH
... (2 Replies)
Discussion started by: locutus01
2 Replies
9. UNIX for Dummies Questions & Answers
hi everybody.
please help me in understanding this code.
echo "************* starting job on `date +\"%d/%m/%Y at %T\"` **************"
#
scriptdir=`dirname $0`
. ${scriptdir}/env_params.sh
#
SHLIB_PATH=${ORACLE_HOME}/lib:
export SHLIB_PATH
export... (1 Reply)
Discussion started by: gokulj
1 Replies
renpy(6) Games renpy(6)
NAME
renpy - engine for creating visual novels
SYNOPSIS
renpy [path to the script directory]
DESCRIPTION
Ren'Py is a programming language and runtime, intended to ease the creation of visual-novel type games. It contains features that make it
easy to display thoughts, dialogue, and menus; to display images to the user; to write game logic; and to support the saving and loading of
games.
Ren'Py tries to be like an executable script, allowing you to get a working game without much more effort than is required to type the game
script into the computer.
Ren'Py is implemented on top of python, and that python heritage shows through in many places. Many Ren'Py statements allow python expres-
sions to be used, and there are also Ren'Py statements that allow for the execution of arbitrary python code. Many of the less-used fea-
tures of Ren'Py are exposed to the user by way of python. By only requiring use of the simplest features of python, it's hoped that Ren'Py
will be usable by all game authors.
USAGE
If you run the program without any arguments, zou will get an interactive launcher from where you can select, run and work different
projects.
For running a script, you need to give the full path to the directory that contains the game you want to play.
For example: renpy /usr/share/games/renpy/demo/
To learn how to use the game interface, you should install and play renpy-demo.
FILES
The game data for each user is stored at ~/.renpy/ directory.
The scripts can be installed in the system bz placing them under /usr/share/games/renpy/ , but you can run any script in an arbitrarz
directory just by telling the path as the parameter to the game.
SEE ALSO
You can find more information at http://www.renpy.org/
May 2007 renpy(6)