皆さんは「カロリーメイトto Programmer」のサイトをご覧になりましたか?非常に凝ったCUIモードには隠しコマンドが存在します。それらを一覧にしてみました。ぜひ本家サイトで試してみてください。
helpで表示されるコマンド一覧
caloriemateliquid about $ help
CalorieMate to Programmer CUI MODE
Basic commands
cat [file]
:open txt or md files.
cd [dir]
:change directory.
date
:show date.
history
:command history.
imgcat [img_file]
:open png files.
ls [-a] [dir]
:list segments.
open [link_file]
:open links.
share [ -fb | -tw ]
:share this page on SNS.
隠しコマンド
firefoxの開発者コンソールのデバッガーで www.otuka.co.jp /cmt/to_programmer/app-hogehoge.js を開き、ブラックボックス解除ソースから難読化を解除しそれらしい部分を探すと見つかります。
mv
歩きます。
caloriemateliquid $ mv
o
<|V < Keep moving and keep healthy!
/ \
pwd
linuxのシェルコマンドと同じです。
caloriemateliquid $ pwd
/CalorieMate/LIQUID
clear
シェルをクリアします。
CalorieMate to Programmer CUI MODE
Copyright © Otsuka Pharmaceutical Co.,Ltd
LOADED
[//////////////////////////////]
caloriemateliquid $
cats
かわいい
caloriemateliquid $ cats
ʌ_ʌ
>(0.0)< meow!
ʌ_ʌ
>(0.0)< meow meow!
ʌ_ʌ
>(0.0)< meoooow…
ruby
とある場所に保存されている.rbファイルを実行するためのコマンドです。流石にirbは無かった。
caloriemateliquid $ ruby
usage: ruby [.rb file]
rm
caloriemateliquid $ rm
rm: Permission denied: DON’T REMOVE NUTURITION. It’s essential.
-rfオプションで出力が変わるそうです。細かい!
caloriemateliquid $ rm -rf
You seem so tired.
Let’s take a break.
mkdir
caloriemateliquid $ mkdir
mkdir: command failed: Nutrition is not enough.
chmod
caloriemateliquid $ chmod
Everyone has access to nutrition.
chown
caloriemateliquid $ chown
Go to the nearest drugstore and be a CalorieMateLIQUID owner.
_________________
|___DrugStore___|
| _______ |
| | | | |
|____|__|__|____|
exit
ターミナルを終了させ https://www.otsuka.co.jp/cmt/to_programmer/ へ遷移する。
secret
とある場所に隠された数字を入れると...?
caloriemateliquid $ secret
usage: secret [secret_number]
touch
caloriemateliquid $ touch
___________________________
# #
# __ BALANCED FOOD #
# / _ / _ '_ /|/| __/_ #
# (__(/(()/ /(-/ |(//(- #
#=========Fruit mix=========#
#__________________ _ - _ _#
|_|-|_|_ < touch!
| | | |_|
| | | | |
_ | ' ' ' |
\)\ |
\ |
\ /
| |
| |
type
caloriemateliquid $ type
\We have 3 types!/
________ __
_______________ ] Ⅲ [ ||
| | | Ⅲ | ___三___
| | | Ⅲ | | |
| BLOCK | |LIQUID| / JELLY \
| | | Ⅲ | | |
| | | Ⅲ | | |
|_____________| ]_Ⅲ____[ |__________|
which
caloriemateliquid $ which
\Which flavors do you like?/
[Café au lait] [Fruits Mix] [Yoghurt]
caloriemate
4種類の出力があります。
caloriemateliquid $ caloriemate
since 1983
caloriemateliquid $ caloriemate
BALANCED FOOD
caloriemateliquid $ caloriemate
3types: BLOCK, LIQUID, JELLY
caloriemateliquid $ caloriemate
Product Story.....
The original idea was to make nutritional foods for patients easy to consume.
CalorieMate emerged from research into clinical foods that aimed to provide nutrition to hospitalized people who cannot eat a meal normally and so cannot be discharged. HINEX-R, the precursor to CalorieMate, is a line of concentrated foods that can be consumed in place of intravenous nutrition. CalorieMate is a balanced blend of five nutrients essential to good health in a convenient format. It was developed as a consumer product for healthy people with on-the-go eating habits.
However, the development process was no mean feat. Having a product rich in nutrients necessitates the need for a large number of ingredients. These must be evenly distributed to ensure the balance of nutrients in every single bite is the same. This required a process of emulsification to combine ingredients that would not normally mix. Furthermore, with the emphasis first and foremost on nutritional balance and great taste, changing the quantity of a single nutrient would then require adjusting the quantities of every other ingredient. It was a laborious process of successive trial and error.
calorie
3種類の製品のカロリーを確認できます。
caloriemateliquid $ calorie
usage: calorie LIQUID | BLOCK | JELLY
caloriemateliquid $ calorie LIQUID
200kcal
caloriemateliquid $ calorie BLOCK
100kcal per block
caloriemateliquid $ calorie JELLY
200kcal