1
1
"use strict" ;
2
- // Transcrypt'ed from Python, 2016-07-03 16:02:02
2
+ // Transcrypt'ed from Python, 2016-07-03 16:28:35
3
3
function memory ( ) {
4
4
var __all__ = { } ;
5
5
var __world__ = __all__ ;
@@ -1657,13 +1657,6 @@ function memory () {
1657
1657
}
1658
1658
return true ;
1659
1659
} ;
1660
- var counter = function * ( ) {
1661
- var i = 0 ;
1662
- while ( true ) {
1663
- i ++ ;
1664
- yield i ;
1665
- }
1666
- } ;
1667
1660
var Grid = __class__ ( 'Grid' , [ object ] , {
1668
1661
get __init__ ( ) { return __get__ ( this , function ( self , game , rows , cols ) {
1669
1662
if ( typeof rows == 'undefined' || ( rows != null && rows . __class__ == __kwargdict__ ) ) { ;
@@ -1743,7 +1736,6 @@ function memory () {
1743
1736
} ;
1744
1737
self . game = hexi ( width , height , self . setup ) ;
1745
1738
self . game . backgroundColor = '#a4a4a4' ;
1746
- self . game . border = '24px red solid' ;
1747
1739
self . mouse = self . game . pointer ;
1748
1740
self . mouse . tap = self . tap ;
1749
1741
self . grid = Grid ( self . game ) ;
@@ -1851,7 +1843,6 @@ function memory () {
1851
1843
self . check_endgame ( ) ;
1852
1844
self . get_curcell ( ) ;
1853
1845
if ( self . mouse . tapped ) {
1854
- var lc = len ( self . clickedcells ) ;
1855
1846
self . clickedcells . append ( self . curcell ) ;
1856
1847
self . mouse . tapped = false ;
1857
1848
self . compare_cells ( ) ;
@@ -1875,7 +1866,6 @@ function memory () {
1875
1866
__all__ . all = all ;
1876
1867
__all__ . allcolors = allcolors ;
1877
1868
__all__ . colors = colors ;
1878
- __all__ . counter = counter ;
1879
1869
__all__ . memory = memory ;
1880
1870
__pragma__ ( '</all>' )
1881
1871
} ) ( ) ;
0 commit comments