File tree Expand file tree Collapse file tree 1 file changed +5
-27
lines changed
Expand file tree Collapse file tree 1 file changed +5
-27
lines changed Original file line number Diff line number Diff line change 22
33var boards = [
44 [
5- [ 1 , 0 , 0 , 0 , 1 ] ,
6- [ 0 , 1 , 0 , 1 , 0 ] ,
7- [ 0 , 0 , 1 , 0 , 0 ] ,
8- [ 0 , 1 , 0 , 1 , 0 ] ,
9- [ 1 , 0 , 0 , 0 , 1 ]
10- ] ,
11- [
12- [ 0 , 0 , 0 , 0 , 0 ] ,
13- [ 0 , 1 , 1 , 1 , 0 ] ,
14- [ 0 , 1 , 0 , 1 , 0 ] ,
15- [ 0 , 1 , 1 , 1 , 0 ] ,
16- [ 0 , 0 , 0 , 0 , 0 ]
17- ] ,
18- [
19- [ 0 , 0 , 1 , 0 , 0 ] ,
20- [ 0 , 1 , 0 , 1 , 0 ] ,
21- [ 1 , 0 , 1 , 0 , 1 ] ,
22- [ 0 , 1 , 0 , 1 , 0 ] ,
23- [ 0 , 0 , 1 , 0 , 0 ]
5+ [ 1 , 0 , 0 , 1 , 0 ] ,
6+ [ 0 , 1 , 1 , 0 , 0 ] ,
7+ [ 1 , 0 , 0 , 0 , 0 ] ,
8+ [ 1 , 1 , 0 , 1 , 0 ] ,
9+ [ 1 , 1 , 1 , 1 , 1 ]
2410 ]
2511] ;
2612
@@ -99,14 +85,6 @@ var LightsOut = React.createClass({
9985 render : function ( ) {
10086 return (
10187 < div >
102- < a
103- href = "http://en.wikipedia.org/wiki/Lights_Out_(game)#Light_chasing"
104- target = "_blank"
105- id = "hidden-cheat"
106- >
107- Turn on every switch.
108- </ a >
109- < button onClick = { this . handleReset } > Shuffle</ button >
11088 {
11189 this . state . board . map ( function ( row , i ) {
11290 return (
You can’t perform that action at this time.
0 commit comments