PHP Game

Started on the old forum in July 2010 · view the original in the archive · old links redirect here

6 replies · 710 views · started 16 years ago · 1 min read

4 participants
TheNemesis Junior · 10 posts #1

Like the game where you can post 3 words to make a story. Well with this you have to create a line of code to make a 'script'

For example Post 1:

<?

post 2:

 
<?
$varible = "hi";

And so on to make a script. Any type of script. 😛

Me first:

<?php

class Game{
TheNemesis Junior · 10 posts #5
<?php 

class Game{

var $rand;

function rand($range){
$this->rand = rand($range);

Carry on. Also. Use PHP tags.

subzero Super moderator Fellow · 3,954 posts #6
<?php 

class Game{

var $rand;

function rand($range){
$this->rand = rand($range);

return $this;

Visit: Chat4u.mobi - The New Lay Of being a site of your dreams! Visit: WapMasterz Coming Back Soon!


SCRIPTS FOR SALE BY SUBZERO Chat4u Script : coding-talk.com/f28/chat4u-mobi-script-only-150-a-17677/ - > Best Script for your site no other can be hacked by sql or uploaders. FileShare Script : coding-talk.com/f28/file-wap-share-6596/ -> Uploader you will never regret buying yeah it mite be old now but it still seems to own others... _______…

TheNemesis Junior · 10 posts #7
<?php  

class Game{ 

var $rand; 

function rand($range){ 
$this->rand = rand($range); 
return $this;
}
}
$game =& new Game();

//Database Array

return array( 
    'mysql' => array( 
        'host' => 'localhost', 
        'user' => 'root',
        'pass' => '',
        'name' => 'game'
    ), 
);  

class Database{

function connect(){

}

Sign in to reply.

Similar topics

Keyboard shortcuts

g f
Go to forums
g h
Go to your feed
g m
Go to messages
r
Reply (in a topic)
/
Search
j
Next post
k
Previous post
?
This list
Ctrl/⌘ + Enter
Send what you are writing
Ctrl/⌘ + B / I
Bold / italic while writing
Esc
Close