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
Reactでライフゲームを作ってみた話
Search
Takuro Niitsuma
February 27, 2018
Programming
150
0
Share
Reactでライフゲームを作ってみた話
GitPitchが閉鎖していたので、SpeakerDeckに移しました。
Takuro Niitsuma
February 27, 2018
More Decks by Takuro Niitsuma
See All by Takuro Niitsuma
ウェブ・ソーシャルメディア論文読み会 - Machine-Made Media: Monitoring the Mobilization of Machine-Generated Articles on Misinformation and Mainstream News Websites
otakumesi
0
98
Golangで小さなLispインタプリタを作ってみた
otakumesi
0
200
Other Decks in Programming
See All in Programming
AI Assistants for YourAngular Solutions @Angular Graz, March 2026
manfredsteyer
PRO
0
130
存在論的プログラミング: 時間と存在を記述する
koriym
5
680
AI活用のコスパを最大化する方法
ochtum
0
360
「接続」—パフォーマンスチューニングの最後の一手 〜点と点を結ぶ、その一瞬のために〜
kentaroutakeda
4
2.2k
The Past, Present, and Future of Enterprise Java
ivargrimstad
0
1.2k
OTP を自動で入力する裏技
megabitsenmzq
0
130
Fundamentals of Software Engineering In the Age of AI
therealdanvega
2
310
AI 開発合宿を通して得た学び
niftycorp
PRO
0
180
「速くなった気がする」をデータで疑う
senleaf24
0
110
条件判定に名前、つけてますか? #phperkaigi #c
77web
2
890
How to stabilize UI tests using XCTest
akkeylab
0
150
ロボットのための工場に灯りは要らない
watany
12
3.2k
Featured
See All Featured
The untapped power of vector embeddings
frankvandijk
2
1.6k
Leadership Guide Workshop - DevTernity 2021
reverentgeek
1
260
Google's AI Overviews - The New Search
badams
0
950
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.7k
Reality Check: Gamification 10 Years Later
codingconduct
0
2.1k
The Anti-SEO Checklist Checklist. Pubcon Cyber Week
ryanjones
0
110
Game over? The fight for quality and originality in the time of robots
wayneb77
1
150
Leveraging LLMs for student feedback in introductory data science courses - posit::conf(2025)
minecr
1
210
Accessibility Awareness
sabderemane
0
88
The AI Search Optimization Roadmap by Aleyda Solis
aleyda
1
5.5k
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
4.2k
Organizational Design Perspectives: An Ontology of Organizational Design Elements
kimpetersen
PRO
1
660
Transcript
React で ライフゲームを作ってみた話 0x64 物語 REBOOT #11 @otakumesi
@otakumesi (Twitter, Github) マッハバイトでエンジニアしてます
なぜライフゲームなのか 言語を学んだ後になにを作るかで悩んでいたときにある記事を読んだ
こんな記事 http://razokulover.hateblo.jp/entry/2017/05/23/131359
ブコメにこんなコメントが
なるほど
ライフゲーム 「Conway's Game of Life 」と呼ばれている 生命の誕生、進化、淘汰を簡単なモデルで再現したシミュレーショ ンゲーム 単純なルールで状態が次々と変わっていく
None
ライフゲームのルールは単純 誕生 生存 過疎 過密 https://ja.wikipedia.org/wiki/ ライフゲーム
ライフゲームは状態の変更が激しい 状態管理を簡単にするフレームワークを試すのによい
実際作ってみたデモ http://otakumesi.io/lifegame/ https://github.com/otakumesi/lifegame
構成 とりあえず触りたい奴を詰め込んだ ES6 preset-env preset-react plugin-propsal-object-rest-spread React Redux PostCSS FLOCSS
実際に作ってみてどうよ 正直、いくつか反省している どう考えても今回の構成にRedux はいらなかった 複雑な状態を管理をしていない... モチベ的にはあまり触ってないものを触れたかったので、MobX あたりがよい落とし所だったか
ライフゲーム作ってよかったところ 簡単に作れる割にハマりどころを通ってハマっていけた おかげでReact 、Redux と少し仲良くなれた気がする... ライフゲームのついでに定形作業を把握できたので、自分用のボイ ラープレートを作れた
ボイラープレート さすがに毎度package 集めて、 webpack の設定をアレするのはつらい。 https://github.com/otakumesi/dotfiles/tree/master/.project.template /frontend
おしまい