GAME DOCS

34 views
Skip to first unread message

Lemuel Clark Velasco

unread,
Oct 4, 2010, 12:43:43 PM10/4/10
to SPC PROGRAMMING LANGUAGES
This is what should be on your Docs

COVER PAGE:
Your Game
User Manual
Developers

Version x.x

1 Introduction to Your Game
1.1 The History of Your Game or Introduction to Your Game

1.2 The Rules of Your Game

1.3 Game Requirements and Installation

2 Using the Game
2.1 Terminology

2.2 The User Interface

3 How To's
3.1 How to Start a New Game

3.2 How to Play a Game

3.3 Winning

3.4 Illegal Moves

3.5 Restarting a Game

3.6 Quitting the Game

3.7 Help

4.0 Source Code


ALL YOUR DOCUMENTS SHOULD BE IN A DEFAULT MS WORD SHORT BOND PAPER
WITH ARIAL FONT STYLE AND 11 FONT SIZE. SINGLE SPACING. (7 FONT SIZE
FOR THE SOURCE CODE)

Thanks to the following
http://www.soe.ucsc.edu/classes/cmps115/Spring02-01/UM_Template.html

ANY CLARIFICATIONS SHOULD BE EMAILED TO ME...

Rolly German

unread,
Oct 24, 2010, 8:03:09 AM10/24/10
to spc-programm...@googlegroups.com


---------- Forwarded message ----------
From: robert daygam <robert...@gmail.com>
Date: Sat, Oct 23, 2010 at 9:20 PM
Subject: mAN pke pass ko ani ni sir palihug wla koi gmail nya
To: bluebi...@gmail.com


PHP stands for PHP: Hypertext Preprocessor. Hypertext refers to files linked together using hyperlinks, such as HTML (HyperText Markup Language) files. Preprocessing is executing instructions that modify the output. Below is a demonstration of the difference between HTML and PHP files.


Data structures are defined via PHP as follows:

Main data is the array of values, having the following fields:

  • Name - name of the field

  • Type - type of the field, can be:

  • I5_TYPE_SHORT

  • I5_TYPE_LONG

  • I5_TYPE_DOUBLE

  • I5_TYPE_BIN

  • I5_TYPE_DATE

  • I5_TYPE_TIME

  • I5_TYPE_TIMESTP

  • I5_TYPE_DBCS

  • I5_TYPE_LONG8

  • I5_TYPE_NUMERICCHAR

  • I5_TYPE_BLOB

  • I5_TYPE_CLOB

  • I5_TYPE_UNICODE

  • I5_TYPE_VARCHAR

  • I5_TYPE_VARBIN

  • Length

  • For CHAR, BYTE - integer describing length. Length can be number or name of the variable holding the length in the data structure.

  • For PACKED, ZONED - string "NUMBER.NUMBER" defining length and precision

  • For STRUCT - array containing data definition of the structure

  • For INT, FLOAT - ignored

  • IO

  • I5_IN

  • I5_OUT

  • default is input, these values can be OR'ed together to get input-output value

  • Count (optional) - repetition count if the field is an array

  • CountRef (optional) - reference to the repetition count if the field is an array

Data structure is defined via PHP as follows:

  • DSName - name of the parameter

  • DSParm (optional) - array of the parameter of the Data structure. Each parameter is defined by a simple data definition.

Example:

<?php

$description = Array(

array("Name"=>"P1", "IO"=>I5_INOUT,

"Type"=>I5_TYPE_CHAR, "Length"=>"10", "count"=>5),

array("Name"=>"P2C", "IO"=>I5_INOUT, "Type"=>I5_TYPE_LONG),

array("Name"=>"P2", "IO"=>I5_INOUT, "Type"=>I5_TYPE_CHAR,

"Length"=>"1", "countRef"=>"P2C"),

array("DSName"=>"PS", "count"=>2, "DSParm"=>array(

array("Name"=>"PS1", "IO"=>I5_IN|I5_OUT, "Type"=>I5_TYPE_CHAR,

"Length"=>"10"),

array("Name"=>"PS2", "IO"=>I5_IN|I5_OUT, "Type"=>I5_TYPE_CHAR,

"Length"=>"10"),

array("Name"=>"PS3", "IO"=>I5_IN|I5_OUT, "Type"=>I5_TYPE_CHAR,

"Length"=>"10"),

                     )

                  )

             );

$prg = i5_program_prepare("MYLIB/PERSONPGM", $description);

?>

Accessing an HTML Page


  1. Your browser sends a request to that web page's server (computer) for the file (HTML or image) you wish to view.
  2. The web server (computer) sends the file requested back to your computer.
  3. Your browser displays the file appropriately.
If you request a PHP file (ends with ".php"), the server handles it differently.

Accessing a PHP Page


  1. Your browser sends a request to that web page's server for the PHP file you wish to view.
  2. The web server calls PHP to interpret and perform the operations called for in the PHP script.
  3. The web server sends the output of the PHP program back to your computer.
  4. Your browser displays the output appropriately.

mAN pke pass ko ani ni sir palihug wla koi gmail nya


Rolly German

unread,
Oct 24, 2010, 9:09:41 AM10/24/10
to spc-programm...@googlegroups.com

PHP is stand a Hypertext Preprocessor -  is a scripting language that was originally designed for web development to produce dynamic web pages.PHP is support the object oriented programming language (OOP)and also supports many databases (MySQL, Informix, Oracle, Sybase, Solid, PostgreSQL, Generic ODBC, etc.)

PHP code is embedded into the html language source document and interpreted by a web server with a PHP processor module, which generates the web page document.
example php code:

<html>
<head>
<title>My First PHP Page</title>
</head>
<body>
<?php
echo "Hello World!";
?>

</body>
</html>

output:Hello World! or  use print for variable.
and always save by .php extension for read the php code running in the web server. the php is cross-platform were running of any operating system. the following operating system(OS):windows, linux, mac os x, unix etc.

Reply all
Reply to author
Forward
0 new messages