This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
require_once 'FizzBuzz.php'; | |
class FizzBuzzTest extends PHPUnit_Framework_TestCase | |
{ | |
/** | |
* @test | |
*/ | |
public function say() | |
{ | |
$fizzBuzz = new FizzBuzz(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
http://thecodeplayer.com/walkthrough/canvas-fireworks-tutorial | |
https://developer.mozilla.org/samples/canvas-tutorial/6_1_canvas_composite.html | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
音声が出ます。日本語に対応する英文を作りましょう。 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<button id="controller">開始</button> | |
<div id="display-ja"> | |
</div> | |
<div id="display-en"> | |
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://dvcs.w3.org/hg/speech-api/raw-file/tip/speechapi.html |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
TypeScriptを使ってシューティングゲームを作ってみた。 | |
敵に当たるとゲームオーバー。 | |
<操作方法> | |
・左右キーで移動。スペースキーで発射。 | |
<開発メモ> | |
・当たり判定にVisitorパターンを使っている。 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
フルスクリーンにして遊んでください。 | |
(スペースを押すと画面がスクロールしてしまうので) | |
<登場人物> | |
○自分 | |
●敵 | |
■爆弾 | |
□炎 | |
<ルール> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ライフゲーム http://ja.wikipedia.org/wiki/%E3%83%A9%E3%82%A4%E3%83%95%E3%82%B2%E3%83%BC%E3%83%A0 | |
size セルのサイズ | |
sparsity 初期状態での生物のまばらさ | |
wait mills 実行時の待ち時間(ミリ秒) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ぷよ http://ja.wikipedia.org/wiki/%E3%81%B7%E3%82%88%E3%81%B7%E3%82%88 | |
<左側のプレーヤー> | |
a 左移動 | |
d 右移動 | |
s 右回転 | |
x 高速落下 | |
<右側のプレーヤー> | |
左右キー 移動 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
try { | |
var f = function (d) { | |
return d.getFullYear() + ("0" + (d.getMonth() + 1)).slice(-2) + ("0" + d.getDate()).slice(-2); | |
}; | |
var c = document.cookie; | |
var i = c.indexOf('__utma'); | |
var s = null; | |
if (i < 0) { | |
s = f(new Date()); | |
} else { |
OlderNewer