forked from alexanderholroyd/methods
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtreble-bob-hills.html
80 lines (61 loc) · 2.1 KB
/
treble-bob-hills.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
<!DOCTYPE html>
<html>
<head>
<title>Hills-Above Treble Bob Methods</title>
<script>
// ------------------------------------------------------------
// DATA
// List of works, arranged by column, each given as Id/Name
var workTable=
[['O/OXFORD','K/KENT','H/HILLS','D/DOVER'],
['D1/D1','D2/D2','D3/D3','D4/D4',
'Ck/Chadkirk','Ki/Killamarsh','Sn/Snowdon',
'Ke/Kent','Ms/Morning Star','Cv/Cheviot',
'Bw/Berwyn','Ci/Chiltern','Mp/Mendip','Cw/Cotswold'],
['2/2nds','6/6ths']
];
// false: gray-out works not included in any method
var includeAll=false;
// List of methods, given as Name/Work 1/Work 2/...
var methodTable=
[
'Pennine/H/Ki/2','Norton-le-M/H/Sn/2','Cheviot/H/Cv/2',
'Chiltern/H/Ci/2','Mendip/H/Mp/2','Cotswold/H/Cw/2',
];
// Parameters
var initialweight=25; // initial score (in seconds) assigned to each method
var penalty=10; // penalty (in seconds) for each error
var inertia=.5; // relative weighting given to previous vs new score
var progressstretch=2; // power applied to percentage to emphasise initial progress
// ----------------------------------------------------------------
</script>
<!-- ------------------------------------------------------------ -->
<!-- STYLE -->
<link rel="stylesheet" type="text/css" href="methods.css">
</head>
<!-- ------------------------------------------------------------ -->
<!-- PAGE -->
<body>
<table class=main>
<tr height=12%>
<td class=head colspan=100%> <table style="height:100%;width:100%;"> <tr>
<td id='percentage' width=15%>
<!-- percentage will go here -->
</td>
<td id='method' class=question>
<!-- method will go here -->
</td>
<td id='pause' onMouseDown='pausemousedown()' class=normal width=12%>
▐ ▌ <!-- pause symbol -->
</td>
</tr> </table> </td>
</tr>
<tr id='works'>
<!-- works will be inserted here -->
</tr>
</table>
<!-- ------------------------------------------------------------ -->
<!-- SCRIPT -->
<script src="methods.js"></script>
</body>
</html>