3
4

More than 1 year has passed since last update.

音ゲー好きの新人がpythonを1日だけ学んで作ったアプリ

Last updated at Posted at 2019-12-26

#前提
スペック:IT企業の新卒1年目
Python歴:1日
(好きな音ゲー:Jubeat)

#今回作ったアプリケーション
アプリ名:これで愛無双の終盤16連はOKくん
開発時間:10分

開発背景
 ・I'm so happy(赤)の終盤16連が光らない
 ・運指さえ覚えれば…でも、覚えられない
 ・何回も練習すれば覚えられるけど、練習する環境が無い
  
じゃあ、PCのキーボードを4×4のマスに見立てて、暇な時に練習できるようにすれば良いのでは?
ここから、『これで愛無双の終盤16連はOKくん』の開発が始まった・・・・。 

#コード
imso関数の中身

im_so_happy.py
def imso():
    print("""
    ----
    1234
    qwer ←キーボード上のこれらのキーを4×4のjubeatのパネルに例えてね。
    asdf
    zxcv 
    ----""")
    print("""
    --------
    ⑩⑭⑤⑬
    ②⑥⑨①
    ④⑫⑮⑦
    ⑯⑧③⑪
    --------""")
    unsi = input('運指を入力:')
    if unsi == 'rqca3wfxe1vs42dz':
       print("""
        __人人人人__
        >EXCELLENT<
         ̄Y^Y^Y^Y^Y
       """)
    else:
       print("""
         _人人人_
        >FAILED<
         ̄Y^Y^Y^
       """)

imso関数の単体テスト用コード

im_so_happy.py
if __name__=='__main__':
    imso()

#まとめ
すみませんでした。

3
4
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
3
4