Upgrade to Pro — share decks privately, control downloads, hide ads and more …

クソ bot 実装ライブコーディング

クソ bot 実装ライブコーディング

13ページ以降は当日にライブコーディング (?) した成果物のスクショ

Yuki Ishikawa

February 04, 2020
Tweet

More Decks by Yuki Ishikawa

Other Decks in Programming

Transcript

  1. ΫιCPU࣮૷
    ϥΠϒίʔσΟϯά

    !IPUP

    View Slide

  2. ࠓ೔ͷझࢫ

    View Slide

  3. ΫιCPU͸؆୯ʹ࡞ΕΔ
    ΋ͬͱΫιCPUΛ࡞͍ͬͯ͜͏

    View Slide

  4. CPUͱ͸
    w &NBJM
    w 5XJUUFS
    w 4MBDL
    w %JTDPSE
    w -*/&
    w (JU)VC
    FUDʜ
    ͞·͟·ͳ
    γεςϜ
    Πϕϯτ
    ΞΫγϣϯ
    ౤ߘ
    ؂ࢹ
    ਓؒͷίϛϡχέʔγϣϯπʔϧͰ
    ਓؒͬΆ͘ৼΔ෣ͬͯ͘Δਓؒ͡Όͳ͍΍ͭ

    View Slide

  5. 4MBDLʹ͓͚ΔCPUతͳػೳ
    w 8FC"1* *ODPNJOH8FCIPPL
    ˠ4MBDLʹ1PTU͢Δ΍ͭ ͔ΜͨΜ

    w 3FBM5JNF.FTTBHJOH"1*ˠൃݴΛ؂ࢹͯ͠൓Ԡ͢Δ΍ͭ ;ͭ͏

    w 4MBTI$PNNBOETˠϢʔβ͕࢖͑ΔίϚϯυΛ࡞Δ΍ͭ ;ͭ͏

    w *OUFSBDUJWF$PNQPOFOUTˠͳΜ͔εήʔ6*͕࡞ΕΔ΍ͭ Ή͍ͣ

    View Slide

  6. ศར৘ใ

    View Slide

  7. 35."1*Λ࢖͏৔߹Ҏ֎͸
    શ෦"84-BNCEBͰ࣮૷Ͱ͖Δ

    View Slide

  8. "84-BNCEBͰͷ࣮૷ํ๏
    w 8FC"1* *ODPNJOH8FCIPPL
    ˠ೚ҙͷτϦΨʔͰ-BNCEBΩοΫ
    w 3FBM5JNF.FTTBHJOH"1*ˠ8FC4PDLFU͕ඞཁͳͷͰແཧ
    w 4MBTI$PNNBOETˠ"1*(BUFXBZͰड͚ͯ-BNCEBΩοΫ
    w *OUFSBDUJWF$PNQPOFOUTˠ"1*(BUFXBZͰड͚ͯ-BNCEBΩοΫ

    View Slide

  9. "84-BNCEBͰಈ͘͜ͱͷྑ͞
    w ࣮࣭ແྉ ޠฐ

    w ӡ༻ϨεΞʔΩςΫνϟ

    View Slide

  10. Αͬ͠Ό࡞͍ͬͯͧ͘

    View Slide

  11. ࠓճ࡞ΔΫιCPU
    w εϥογϡίϚϯυʮ΄ͬͱ΋ͬͱʯΛ࣮ߦ͢Δͱ
    ʮͱ΋ͬ΋΄΄ͬ΄ʯΈ͍ͨͳϥϯμϜจࣈྻ͕ฦͬͯ͘Δ
    w ʮ΄ͬͱ΋ͬͱʯ͕׬੒ͨ͠Β༏উ

    View Slide

  12. ΫιCPUΞʔΩςΫνϟ
    ίϚϯυ࣮ߦ
    ݁Ռදࣔ
    )5513FRVFTU
    )5513FTQPOTF
    -BNCEB1SPYZ
    -BNCEB1SPYZ
    Ϣʔβ 4MBDL "1*(BUFXBZ -BNCEB

    View Slide

  13. -BNCEB'VODUJPOͷ࣮૷

    View Slide

  14. "1*(BUFXBZͷઃఆ

    View Slide

  15. 4MBTI$PNNBOETͷઃఆ

    View Slide

  16. ׬੒

    View Slide

  17. ·ͱΊ

    View Slide

  18. ΫιCPU͸؆୯ʹ࡞ΕΔ
    ΋ͬͱΫιCPUΛ࡞͍ͬͯ͜͏

    View Slide