Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
PHP で仕事をしているとみせかけてゲームをする方法
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Akihiro TAKASE
December 07, 2015
Programming
910
0
Share
PHP で仕事をしているとみせかけてゲームをする方法
Fukuoka.php Vol.16 LT
Akihiro TAKASE
December 07, 2015
Other Decks in Programming
See All in Programming
【ディップ|26年新卒研修資料】TDD実装演習
dip_tech
PRO
0
190
Symfony AI in Action - SymfonyLive Berlin 2026
chr_hertel
1
150
新規プロダクトを高速で生み出すハーネスエンジニアリング
seanchas116
3
170
Import assertionsが消えた日~ECMAScriptの仕様はどう決まり、なぜ覆るのか~
bicstone
2
190
AIを導入する前にやるべきこと
negima
2
360
サプライチェーン攻撃対策「層を重ねて落ちない壁」を10日間で組み上げた話 #TechLeadConf2026
kashewnuts
1
290
AI時代のエンジニアリングの原則 / Engineering Principles in the AI Era
haru860
0
1.3k
開発とはなにか、Essenceカーネルで見えるもの
ukin0k0
0
190
〜バイブコーディングを超えて〜 チームで実験し続けたAI駆動開発
tigertora7571
0
210
Kubernetesを使わない環境にもCloud Nativeなデプロイを実現する / Enabling Cloud Native deployments without the complexity of Kubernetes
linyows
3
420
開発体験を左右するライブラリの API 設計 - GraphQL スキーマ構築ライブラリから考える #tskaigi
izumin5210
1
170
「なんか〇〇ライブラリで脆弱性あるみたいなんだけど。。。」から始める脆弱性対応 / First Steps in Vulnerability Response
mackey0225
2
130
Featured
See All Featured
Ruling the World: When Life Gets Gamed
codingconduct
0
230
Measuring & Analyzing Core Web Vitals
bluesmoon
9
820
コードの90%をAIが書く世界で何が待っているのか / What awaits us in a world where 90% of the code is written by AI
rkaga
61
44k
Lightning Talk: Beautiful Slides for Beginners
inesmontani
PRO
1
540
Test your architecture with Archunit
thirion
1
2.2k
Joys of Absence: A Defence of Solitary Play
codingconduct
1
360
Fantastic passwords and where to find them - at NoRuKo
philnash
52
3.7k
The Illustrated Children's Guide to Kubernetes
chrisshort
51
52k
BBQ
matthewcrist
89
10k
Writing Fast Ruby
sferik
630
63k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
254
22k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
32
3k
Transcript
1)1ͰࣄΛ͍ͯ͠Δͱݟ͔͚ͤͯ ήʔϜΛ͢Δํ๏ Fukuoka.php Vol.16
גࣜձࣾ'VTJD ݄ೖࣾ 1)1+BWB4DSJQU (JU)VC"LJIJSP5","4& AKIHIRO TAKASE ߴত߂
ੑ IMAGINATION
ࢠڙ୭Ͱܳज़Ոͩɻ େਓʹͳͬͯɺ ܳज़ՈͰ͍ΒΕΔ͔Ͳ ͏͔ͩɻ ύϒϩɾϐΧι ੑ
ੑͷྫ EXAMPLES
ग़యɿhttp://matome.naver.jp/odai/2135428173456229201
ग़యɿhttp://matome.naver.jp/odai/2135428173456229201
͜ΕͳΒͰ͖ͦ͏ʂ
ʁ
None
ձࣾͰήʔϜ͠Α͏ʂ
ϚωʔδϟʔͷલͰಊʑͱʂ
ۀதʹʂ
࣮ԋ
ྲྀΕΔΤϥʔϩάͷதͰήʔϜΛϓϨΠͰ͖·͢
࣮ࡍʹಈ͍͍ͯΔͷ͜ͷΑ͏ͳήʔϜͰ͢
ٕज़ղઆ TECHNICS
ٕज़ղઆ ΞʔΩςΫνϟ GameMain Assembler Renderer Object Actor Physics Device Animation
Math Player Enemy Bullet Shield Level Data Configurations
ٕज़ղઆ ήʔϜϩδοΫ Ωʔೖྗ ϓϨΠϠʔΩϟϥΫλʔͷঢ়ଶΛΞοϓσʔτ ఢΩϟϥΫλʔͷঢ়ଶΛΞοϓσʔτ Ϩϕϧͷঢ়ଶΛΞοϓσʔτ ϨϯμϦϯά ΦϒδΣΫτͷঢ়ଶΛΞοϓσʔτ
ٕज़ղઆ ϊϯϒϩοΩϯάͳೖྗΛٻΊͯ ▸ system('stty -icanon') ͰΧϊχΧϧϞʔυΛΦϑʹ͢Δ &OUFSͳ͠ͰΩʔೖྗ ඳը͕अຐ͞Εͳ͍ ▸ system('stty
-echo') ͰΤίʔόοΫΛΦϑʹ͢Δ
ٕज़ղઆ จࣈʹண৭͍ͨ͠ \e[0;32;1m$c\e[0m ग़ྗจࣈΛ৭ʹมߋ จࣈ৭ΛϦηοτ [എܠ৭;จࣈ৭;ଐੑm ▸ ੍ޚจࣈΛՃ͢Δ
ٕज़ղઆ ߴ͍ඳը࣭Λࢦͯ͠ ▸ ϨϯμϦϯάલʹclearίϚϯυͰը໘Λফڈ͢Δ ▸ ϨϯμϦϯά̍จࣈͣͭͰͳ͘ɺόοϑΝʹͨΊͯҰʹ࣮ߦ ʢechoʣ͢Δ ը໘ͷͪΒ͖͕ͭܶతʹվળʂ
None
͋Γ͕ͱ͏͍͟͝·ͨ͠ʂ