-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathcanvasgo.html
27 lines (27 loc) · 1.2 KB
/
canvasgo.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
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script>
<script src="goui.js" type="text/javascript"></script>
<script src="goboard.js" type="text/javascript"></script>
<link rel="stylesheet" href="go.css" type="text/css"></link>
<title>Play Go!</title>
</head>
<body onload="draw()">
<div style="position:relative">
<a href="canvasgo.html?size=19">19x19</a>
<a href="canvasgo.html?size=13">13x13</a>
<a href="canvasgo.html?size=9">9x9</a><br />
</div>
<div id="command-box">
<form id="color-radio-buttons">
<input class="command-options" type="radio" name="status" value="black" checked="true">Black</input><br />
<input class="command-options" type="radio" name="status" value="white">White</input><br />
<input class="command-options" type="radio" name="status" value="cap">Capture</input><br />
<input type="button" value="Pass" name="passBtn" onClick="on_pass()">
</form>
</div>
<canvas id="gocanvas" width="700" height="700"></canvas>
</body>
</html>