レス書き込み
スレへ戻る
写
レス栞
レス消
親切な人が初心者にPHPの関数を使い方を教える
PC,スマホ,PHSは
ULA
べっかんこ
公式(スマホ)
公式(PC)
で書き込んでください。
名前
メール
引用切替:
レスアンカーのみ
>>105 > <? > class WAR{ > var $human;var $arms;var $army;var $rage;var $sadness;var $gain;var $money; > function buy_arms( $many = 1){ > $cost = 100000; > $this->arms += $many; > $this->money -= $cost * $many; > } > function set_arms2human( $many = 1){ > $cost = 10000000; > $this->human -= $many; > $this->army += $many; > $this->money -= $cost * $many; > $this->gain += $cost * $many; > } > function attack(){ > $cost = 5000000; > $this->money -= $cost * $this->army; > $this->sadness += $this->army; > $this->rage += $this->sadness * 2; > $this->army = ''; > } > function revenge( $rage){ > for( $i=0; $rage < $i; $i++){ > $this->attack(); > } > } > function cure(){return FALSE;} > } > ?>
ローカルルール
SETTING.TXT
他の携帯ブラウザのレス書き込みフォームはこちら。
書き込み設定
で書き込みサイトの設定ができます。
・
ULA
・
べっかんこ(身代わりの術)
・
べっかんこ(通常)
・
公式(スマホ)
・
公式(PC)[PC,スマホ,PHS可]
書き込み設定(板別)
で板別の名前とメールを設定できます。
メモ帳
(0/65535文字)
上
下
板
覧
索
設
栞
歴
Google検索
Wikipedia
ぬこの手
ぬこTOP
0.013s