<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>stakiran</author_name>
  <author_url>https://blog.hatena.ne.jp/stakiran/</author_url>
  <blog_title>stamemo</blog_title>
  <blog_url>https://stakiran.hatenablog.com/</blog_url>
  <categories>
    <anon>つくった</anon>
    <anon>Python</anon>
  </categories>
  <description>edita.py というゲームをつくった。 どんなゲーム？ 修正とは ユーザーに要求される能力 実装の話 工夫したこと ファイルの監視 タイムの計測 問題文の作成 どんなゲーム？ ゲーム本体は edita.py というスクリプト。 実行すると、edita.py は問題文ファイルをつくった後、（ユーザーの修正を判定するため）監視に入る。 ユーザーはエディタで問題文ファイルを開いて修正する。修正できたと思ったら上書き保存。そしたら edita.py が（タイムスタンプを見てるので）更新を検知して答え合わせをする。正解するまで先に進めない。 正解したら先に進める（ラップタイムが出る）。edita.p…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fstakiran.hatenablog.com%2Fentry%2F2019%2F05%2F22%2F203542&quot; title=&quot;テキストファイルをエディタで修正するスピードを競うゲーム edita.py をつくった - stamemo&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>https://user-images.githubusercontent.com/23325839/58016061-b87b0b00-7b37-11e9-846d-5c5c5bd1b982.gif</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2019-05-22 20:35:42</published>
  <title>テキストファイルをエディタで修正するスピードを競うゲーム edita.py をつくった</title>
  <type>rich</type>
  <url>https://stakiran.hatenablog.com/entry/2019/05/22/203542</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
