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
AWKで動くへっぽこテトリスクローン / Tetris clone in AWK
Search
KUSANAGI Mitsuhisa
March 17, 2018
Programming
1.5k
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
AWKで動くへっぽこテトリスクローン / Tetris clone in AWK
AWKで実装したテトリス風ゲームAWKTCについて(2018/03/26修正)
* GitHubリポジトリ:
https://github.com/mikkun/AWKTC
KUSANAGI Mitsuhisa
March 17, 2018
More Decks by KUSANAGI Mitsuhisa
See All by KUSANAGI Mitsuhisa
ラズパイ用シェルスクリプトで監視カメラもどきを作る / Shell Script for Raspberry Pi
mikkun
0
1.1k
JavaScript製シューティングゲームをフルスクラッチで作ってみた / JavaScript Shooter Game from Scratch
mikkun
0
2.3k
シェルスクリプトでGnuCashを使いやすく / About gnucash-util-jp
mikkun
0
1.8k
Other Decks in Programming
See All in Programming
DroidKaigi 2026 「個人開発という実験場: Android エンジニアが手にする4つの自由」
slashnephy
0
230
AHC070解法紹介
eijirou
0
120
大喜利で理解するLLM as a Judge / Understanding LLM-as-a-Judge through Ogiri
rockname
0
110
速習iPhone Duo対応
yuukiw00w
1
460
AI Agent時代のリアーキテクチャ戦略と実践
hokaccha
9
4.5k
AI × TiDD / 2026.09.05 Redmine 大阪
tokudiro
1
170
How I Stole PSI from Android Studio - DroidKaigi2026
worker8
0
130
20260914 AIエージェント時代のPlatform Engineering LLM基盤とプロダクトの責務境界線
kanfab1
6
1.9k
新卒PdEのリアル
ryu1013
1
500
スマート反転とウェブアクセシビリティ
camiha
0
210
『寄り添うラジオ』をAIで作る 体験価値から逆算した、会話しないUXと品質設計
theoriatec2024
3
180
Go のフラットな パッケージに 「ファイル単位の private」を 〜Linter “declscope” を作った話〜
mpyw
0
320
Featured
See All Featured
DBのスキルで生き残る技術 - AI時代におけるテーブル設計の勘所
soudai
PRO
68
57k
Bridging the Design Gap: How Collaborative Modelling removes blockers to flow between stakeholders and teams @FastFlow conf
baasie
0
700
Color Theory Basics | Prateek | Gurzu
gurzu
1
470
jQuery: Nuts, Bolts and Bling
dougneiner
66
8.6k
HDC tutorial
michielstock
2
870
Leading Effective Engineering Teams in the AI Era
addyosmani
9
2.6k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
333
23k
Beyond borders and beyond the search box: How to win the global "messy middle" with AI-driven SEO
davidcarrasco
3
240
Into the Great Unknown - MozCon
thekraken
41
2.7k
What’s in a name? Adding method to the madness
productmarketing
PRO
24
4.2k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
50
10k
How to Talk to Developers About Accessibility
jct
2
550
Transcript
AWK で動くへっぽこテトリスクローン KUSANAGI Mitsuhisa (@mikkun_ jp) 2018年 3月17日 (2018年 3月26日
修正版) 第34回シェル芸勉強会 LT大会
日柳 光久 とは 非エンジニアのおっさん 個人事業主 / ラベル印刷業 (製品例) ホビープログラマ &
シェル芸人見習い AWK で動くへっぽこテトリスクローン 2
AWKTC とは AWKTC is Workable Klutzy Time-wasting Command (AWKTC は動作可能なへっぽこで時間を無駄にするコマンド)
端末 (黒い画面) 上で遊べるテトリス風 CLI ゲーム ゲーム画面はアスキーアートで表現 フィールドの幅を変更可能 (4〜24列) 動作を確認した OS: Debian GNU/Linux 9 FreeBSD 11.1-RELEASE 最新版 (v1.1.1) ではお助けアイテムと全消しボーナスを実装 AWK で動くへっぽこテトリスクローン 3
ゲーム画面 (1) $ . / a w k t c
. a w k # 既定値 ( 1 2 列) AWK で動くへっぽこテトリスクローン 4
ゲーム画面 (2) $ . / a w k t c
. a w k 4 # 最小値 ( 4 列) AWK で動くへっぽこテトリスクローン 5
ゲーム画面 (3) $ . / a w k t c
. a w k 2 4 # 最大値 ( 2 4 列) AWK で動くへっぽこテトリスクローン 6
得られたこと 1. g a w k の l
i n t オプションは便利 (終了の際にパイプを閉じた時の警告以外は出ないようにした) 2. AWK のようなテキスト処理言語でもゲームは作れる 3. しかし sed で書くほどの根性は持ち合わせていなかった 4. 「黒い画面」は楽しい (個人差あり) 5. 仕事中に a w k t c . a w k を実行してはいけない AWK で動くへっぽこテトリスクローン 7
URLs: AWKTC のリポジトリ: https://github.com/mikkun/AWKTC このスライド: https://speakerdeck.com/mikkun/tetris-clone-in-awk ――ご清聴ありがとうございました。 AWK で動くへっぽこテトリスクローン 8