forked from Jimbly/regex-crossword
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
32 lines (30 loc) · 1.73 KB
/
index.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
<!DOCTYPE html>
<html>
<head>
<title>RegEx Crossword</title>
<!-- meta http-equiv="refresh" content="1" -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.6.1/jquery.min.js"></script>
<script src="crossword.js"></script>
<link rel="stylesheet" type="text/css" href="crossword.css">
</head>
<body>
It's a crossword puzzle where you need to fill in the hexes with character sequences, so that they match the regular expressions listed around the edges.<br/>
The individual clues will turn <span class="match">green</span> when satisfied, <span class="nomatch">red</span> when not.<br/>
<input type="button" value="Reset" id="reset"></input>
<table id="board_table">
<tr><td id="board" align="center">
</td>
</table>
<br/>
<br/>
<br/>
<br/>
<br/>
Javascript implementation by <a href="https://github.com/Jimbly">Jimb Esser</a>. Source code available on <a href="https://github.com/Jimbly/regex-crossword">GitHub</a>, fork and add your own puzzles!<br/>
Original puzzle from: <a href="http://www.i-programmer.info/news/144-graphics-and-games/5450-can-you-do-the-regular-expression-crossword.html">http://www.i-programmer.info/news/144-graphics-and-games/5450-can-you-do-the-regular-expression-crossword.html</a><br/>
Solution available <a href="http://z.manicsages.org/puzzle/uploads/puzzle_files/50d697158c9cf.svg">here</a>.
<br/>
Best viewed in <a href="http://chrome.google.com">Google Chrome</a> or <a href="http://www.mozilla.org/en-US/firefox/new/">Firefox</a>. If you are using one of these browsers, your work should be saved if you refresh the page or come back later.<br/>
<div id="debug"></div>
</body>
</html>