2026-10-11 のメモ。このゲームを直しながら考えたことを、言葉にしておく。
面白さとは、「自分の予想が、納得のいく形で更新される体験」。
| // ==UserScript== | |
| // @name Auto Rubocop Suggestion | |
| // @namespace https://champierre.com/ | |
| // @version 1.0 | |
| // @description Automatically fill the title and body of suggestions provided by reviewdog/action-rubocop | |
| // @author champierre | |
| // @match https://github.com/* | |
| // @grant none | |
| // ==/UserScript== |
| #!/usr/bin/env node | |
| const fs = require('fs') | |
| const csvParse = require('csv-parse/lib/sync') | |
| const csvFile = process.argv[2] | |
| const reference = process.argv[3] | |
| const buffer = fs.readFileSync(csvFile) | |
| const formatDate = date => { | |
| const year = date.getFullYear(); |
| int n = 64; | |
| void setup(){ | |
| size(600, 600); | |
| } | |
| void draw() { | |
| if (mousePressed == true) { | |
| for (int i = 1; i <= n; i++) { | |
| float[] rmouse = rotate(mouseX - 300, mouseY - 300, 360.0 / n * i); |
| class Test { | |
| constructor() {} | |
| getInfo() { // 拡張機能の各種情報 | |
| return { | |
| id: 'test', | |
| name: 'Test', // 拡張機能の名前 | |
| blocks: [ // 各ブロックの定義 | |
| { |
| - 案内板は文字が消えてしまっていくけど、デジタルでとっておけばずっと保存できそう。 | |
| - OCR -> 翻訳 手間がかからない。 | |
| - どれが monumen.to として適切な案内板なのかわからないのがあった。 | |
| - 橋の由来とか好きなのであとから写真をアップロードしたい | |
| - AR 的に表示したい 例. https://play.google.com/store/apps/details?id=com.nianticproject.scout&hl=ja | |
| - 現在地がとれなかった | |
| - 観光地で広めたい | |
| - ガイドに紹介する。直接来ている人に宣伝する | |
| - あとで場所が確認しづらい | |
| - 直接スマホでできるようにしたい |
| import speech | |
| import time | |
| import random | |
| def finish_speaking(): | |
| # Block until speech synthesis has finished | |
| while speech.is_speaking(): | |
| time.sleep(0.1) | |
| wazas = [ |