範例
2017年11月7日 星期二
2017年10月31日 星期二
2017年10月14日 星期六
GAMEDISK 遊戲編號與測試
遊戲部分列表
G01 猜數字,需要MCI32.OCX
G02 比大小
G03 骰子猜謎
G04 顏色猜謎
G05 萬徑人蹤
G06 挑戰記憶
G07 打字遊戲
G08 反轉方塊
G09 數字拼盤
G10 旋轉方塊
G11 旋轉蜂窩
G12 撿石頭
G13 縱橫計數
G14 井字棋
G15 反圈叉棋
G16 豆腐棋
G17 五角棋
G18 孔明棋
G19 三子棋
G20 四子棋
G21 五子棋
G22 伏羲神算 需要Music目錄
G23 孫武練兵 需要Music目錄
G24 陶侃搬磚
G25 華容道
G26 六角棋
G27 獨人跳棋,需要Msvbvm50.dll
G01 猜數字,需要MCI32.OCX
G02 比大小
G03 骰子猜謎
G04 顏色猜謎
G05 萬徑人蹤
G06 挑戰記憶
G07 打字遊戲
G08 反轉方塊
G09 數字拼盤
G10 旋轉方塊
G11 旋轉蜂窩
G12 撿石頭
G13 縱橫計數
G14 井字棋
G15 反圈叉棋
G16 豆腐棋
G17 五角棋
G18 孔明棋
G19 三子棋
G20 四子棋
G21 五子棋
G22 伏羲神算 需要Music目錄
G23 孫武練兵 需要Music目錄
G24 陶侃搬磚
G25 華容道
G26 六角棋
G27 獨人跳棋,需要Msvbvm50.dll
VB五子棋設計回顧
現存原始檔是1998年,2001年時修改的
就是單純採用VB5設計的,原本以為有HiPoint設計,結果發現有原始函數庫,可是主程式並沒有呼叫它。
HiPoint 在筆記本裡是這樣描述的
IF 存在HiPoint THEN
score = 計算每一個HiPoint的值,選出最高分的
ELSE
掃描所有存在的空點,如果加入之後會造成4子連線,或者兩個(以上)的三子連線就加入 HiPoint
ENDIF
就是單純採用VB5設計的,原本以為有HiPoint設計,結果發現有原始函數庫,可是主程式並沒有呼叫它。
HiPoint 在筆記本裡是這樣描述的
IF 存在HiPoint THEN
score = 計算每一個HiPoint的值,選出最高分的
ELSE
掃描所有存在的空點,如果加入之後會造成4子連線,或者兩個(以上)的三子連線就加入 HiPoint
ENDIF
2017年10月13日 星期五
單位表
我們目前所用的K、M、G、T等都是英文表示方法,分別是Kilo(103)、Mega(106)、Giga(109)、Tera(1012)的簡寫,更大的還有Peta(1015)、Exa(1018)、Bronto(1021)等。底下是維基百科中的列表
| Prefix | Base 1000 | Base 10 | Base 2 | English word | Adoption | ||
|---|---|---|---|---|---|---|---|
| Name | Symbol | Short scale | Long scale | ||||
| yotta | Y | 10008 | 1024 |
280
| septillion | quadrillion | 1991 |
| zetta | Z | 10007 | 1021 |
270
| sextillion | trilliard | 1991 |
| exa | E | 10006 | 1018 |
260
| quintillion | trillion | 1975 |
| peta | P | 10005 | 1015 | 250 | quadrillion | billiard | 1975 |
| tera | T | 10004 | 1012 | 240 | trillion | billion | 1960 |
| giga | G | 10003 | 109 | 230 | billion | milliard | 1960 |
| mega | M | 10002 | 106 |
220
| million | 1873 | |
| kilo | K | 10001 | 103 |
210
| thousand | 1795 | |
| 10000 | 100 | 1 | one | – | |||
| milli | m | 1000−1 | 10−3 |
2-10
| thousandth | 1795 | |
| micro | µ | 1000−2 | 10−6 |
2-20
| millionth | 1873 | |
| nano | n | 1000−3 | 10−9 |
2-30
| billionth | milliardth | 1960 |
| pico | p | 1000−4 | 10−12 |
2-40
| trillionth | billionth | 1960 |
| femto | f | 1000−5 | 10−15 |
2-50
| quadrillionth | billiardth | 1964 |
| atto | a | 1000−6 | 10−18 |
2-60
| quintillionth | trillionth | 1964 |
| zepto | z | 1000−7 | 10−21 |
2-70
| sextillionth | trilliardth | 1991 |
| yocto | y | 1000−8 | 10−24 | 2-80 | septillionth | quadrillionth | 1991 |
Rich Edit 問答
基礎
來源:MS Rich Textbox Control 5.0
屬性
Appearence 0-rtfFlat 1-rtfThreaD
AutoVerbMenu True False
BackColor
BorderStyle 0-rtfNoBorder 1-rtfFixedSingle
BulletIndent
DataBindings
DataField
DataSource
DisableNoScorll True False
來源:MS Rich Textbox Control 5.0
屬性
Appearence 0-rtfFlat 1-rtfThreaD
AutoVerbMenu True False
BackColor
BorderStyle 0-rtfNoBorder 1-rtfFixedSingle
BulletIndent
DataBindings
DataField
DataSource
DisableNoScorll True False
Greasemonkey範例
新增Greasemonkey套件
新使用者腳本
名稱 edit
命名空間 http://wusi.asuscomm.com/news5/
使用 http://wusi.asuscomm.com/*
將底下複製到使用者程式碼區
// ==UserScript==
// @name edit
// @namespace http://wusi.asuscomm.com/news5/
// @include http://wusi.asuscomm.com/news5/
// @version 1
// @grant none
// ==/UserScript==
function openInNewTab(url) {
var win = window.open(url, '_blank');
win.focus();
}
var x = document.getElementsByClassName('logo');
var btn = document.createElement('BUTTON');
var t = document.createTextNode('EDIT');
btn.appendChild(t);
x[0].appendChild(btn);
btn.onclick = function () {
a = location.href.split('/');
l = a.length;
//alert(a[l-1]);
b = a[l - 1].split('-');
c = b[0].match(/\d+/g);
url = 'http://wusi.asuscomm.com/news5/administrator/index.php?option=com_content&task=article.edit&id=' + c;
openInNewTab(url);
}
新使用者腳本
名稱 edit
命名空間 http://wusi.asuscomm.com/news5/
使用 http://wusi.asuscomm.com/*
將底下複製到使用者程式碼區
// ==UserScript==
// @name edit
// @namespace http://wusi.asuscomm.com/news5/
// @include http://wusi.asuscomm.com/news5/
// @version 1
// @grant none
// ==/UserScript==
function openInNewTab(url) {
var win = window.open(url, '_blank');
win.focus();
}
var x = document.getElementsByClassName('logo');
var btn = document.createElement('BUTTON');
var t = document.createTextNode('EDIT');
btn.appendChild(t);
x[0].appendChild(btn);
btn.onclick = function () {
a = location.href.split('/');
l = a.length;
//alert(a[l-1]);
b = a[l - 1].split('-');
c = b[0].match(/\d+/g);
url = 'http://wusi.asuscomm.com/news5/administrator/index.php?option=com_content&task=article.edit&id=' + c;
openInNewTab(url);
}
2017年10月12日 星期四
2017年10月10日 星期二
訂閱:
文章 (Atom)