Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
enebularLT
Search
canonno
December 02, 2021
Technology
320
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
enebularLT
canonno
December 02, 2021
More Decks by canonno
See All by canonno
噂で聞いたSupabaseをハンズオン
canonno
0
210
[LINEDC]AIはLINE BOT周りをどう変えたか
canonno
0
200
【書評】2032年、日本がスタートアップのハブになる
canonno
0
130
communeLT
canonno
0
7.6k
yurufuwaLT
canonno
0
200
Try_English_LT.pdf
canonno
1
370
IoT LT
canonno
0
400
Enebular LT
canonno
0
1.1k
Other Decks in Technology
See All in Technology
NDIでApple Vision Proにリアルタイム映像送信
jyouryuusui
0
120
事業成長とデータ活用を止めないためのマネジメントへ挑戦
hiracky16
0
390
LambdaWebFunctionsを試してみた / exploring-lambda-web-functions
koukihosaka
1
330
Optunaの最新リリースv5.0について
pfn
PRO
0
120
Temporal 最高!でも改めて「日付」について調べたら人類の負債すぎる件
riyaamemiya
0
140
無理せず続ける、子育てエンジニアの学び
codmoninc
PRO
0
860
その Valkey 使いこなしていますか?
onk
PRO
5
1.5k
20261017福岡devIO 「AIは"良いダッシュボード"を作れるか?
jtakeda
0
140
WasmをRustにする
sansantech
PRO
0
250
フロントエンドカンファレンス関西2026 - 速すぎるUIに、待ち時間を
teamlab
PRO
0
130
ソフトウェア ファクトリー - 再現性のあるソフトウェアの工場づくり / Software factory
iktakahiro
6
4.9k
re:Invent初参加で変わったこと、2回目にやってみたいこと(JAWS-UG彩の国埼玉 #12)
mhrtech
2
220
Featured
See All Featured
Designing Powerful Visuals for Engaging Learning
tmiket
1
610
Rebuilding a faster, lazier Slack
samanthasiow
85
9.7k
A Tale of Four Properties
chriscoyier
163
24k
Abbi's Birthday
coloredviolet
4
10k
Keith and Marios Guide to Fast Websites
keithpitt
413
23k
Accessibility Awareness
sabderemane
1
250
Test your architecture with Archunit
thirion
2
2.4k
DBのスキルで生き残る技術 - AI時代におけるテーブル設計の勘所
soudai
PRO
68
58k
Reflections from 52 weeks, 52 projects
jeffersonlam
356
22k
Public Speaking Without Barfing On Your Shoes - THAT 2023
reverentgeek
1
600
How to train your dragon (web standard)
notwaldorf
96
6.9k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
234
18k
Transcript
enebularで対戦ゲームをつくってみたい 賀野 壮一朗 Twitter:@canonno_blog ※失敗しているので アドバイスなどあればお願いします!
自己紹介 • 賀野 壮一朗 • 日系飲料メーカーSIer 入社三年目 • 微生物学研究室出身 (ITド初心者)
• ProtoOut 4期生。
お絵描きライブラリp5jsらぶ
おにごっこゲームを作った https://affectionate-edison-a21421.netlify.app/kakurenbo.html
おにごっこゲームを作った ->これを通信ゲームにしたい https://affectionate-edison-a21421.netlify.app/kakurenbo.html
余談
余談
Websocket Nodeを使って試行錯誤しました ※websocket:サーバーからクライアント側へプッシュ可能な双方向型プロトコル 逃げる側 鬼側 /ws/nigeruに接続 /ws/oniに接続 ↑を入力 /ws/nigeruへ送信 /ws/oniから受信
相手が↑を入力 した画面反映
サーバー側から鬼を動かす
サーバー側から鬼を動かす
クライアント側から送る
Websocket Nodeを使って試行錯誤しました ※websocket:サーバーからクライアント側へプッシュ可能な双方向型プロトコル 逃げる側 鬼側 /ws/nigeruに接続 /ws/oniに接続 ↑を入力 /ws/nigeruへ送信 /ws/oniから受信
相手が↑を入力 した画面反映 ◎ ◎
/ws/nigeruから/ws/oniへ送り込む 逃げる側の入力を 鬼側へ送る 鬼側の入力を 逃げる側へ送る
/ws/nigeruから/ws/oniへ送り込む -> うまくいかない 逃げる側の入力を 鬼側へ送る 逃げる側ブラウザで入力 ここまで問題ないことがわかってる 鬼側ブラウザに反映されない それどころか受信もされない
enebular/Node-Redを使った 対戦ゲーム作ってみた的な 資料あったら教えてください!!! これができるなら サーバー側書かなくていいかららくちん