forked from alexanderholroyd/methods
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtreble-bob-29.html
93 lines (71 loc) · 2.75 KB
/
treble-bob-29.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
81
82
83
84
85
86
87
88
89
90
91
92
93
<!DOCTYPE html>
<html>
<head>
<title>Standard 29 Treble Bob Methods</title>
<!-- <title>Kent-Above Treble Bob Methods</title> -->
<!-- <title>Carlisle-Above Surprise Methods</title> -->
<!-- <title>London-Above Surprise Methods</title> -->
<!-- <title>Norwich-Above Surprise 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=
[
'Kent/K/Ke/6','Trinity Sunday/K/Ki/2','Killamarsh/K/Ki/6',
'Quantock/K/Sn/2','Snowdon/K/Sn/6','Berwyn/K/Bw/2','Waterford/K/Bw/6',
'Oxford/O/Ke/6','Duke of Norfolk/O/D1/2','Sandal/O/D1/6','Morning Star/O/Ms/2',
'College Ex/O/D2/2',"London Sc Pl/O/D2/6",'Ockley/O/D3/2','Capel/O/D3/6',
'Norbury/O/D4/2','Kingston/O/D4/6','Rochester/O/Cw/2','Burton/O/Cw/6',
'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',
'Chadkirk/D/Ck/2','Nelson/D/Ck/6','British Sc Pl/D/Mp/2',"Woodcock's Vic/D/Mp/6"
];
// 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>