gimsieke / floodit-xsl Goto Github PK
View Code? Open in Web Editor NEWThe popular Flood-It game, implemented in browser-based XSLT 2.0
Home Page: http://publishinggeekly.com/wp-content/uploads/2012/02/floodit-xsl/floodit.html
The popular Flood-It game, implemented in browser-based XSLT 2.0
Home Page: http://publishinggeekly.com/wp-content/uploads/2012/02/floodit-xsl/floodit.html
Or is this just my perception? At least it’s plausible because fi:neighbors determines the neighbors for every square in the main area (main area = the area containing the top left square).
I’m not sure whether it will really make a difference to flag the inside squares as being inside, so that we don’t have to determine their neighbors any more. For an 6×6 area, the fringe square count is 20, and the number of inside squares is only 16. For non-square areas the ratio is still worse.
So flagging squares as “inside” might not be worth the while, but I’ll do it anyway.
Fri Feb 10 10:02:44 GMT+100 2012 Xstl20Processor SEVERE: Exception class client.net.sf.saxon.ce.trans.XPathException com.google.gwt.core.client.JavaScriptException: (NS_ERROR_DOM_HIERARCHY_REQUEST_ERR): Node cannot be inserted at the specified point in the hierarchy code: 3 INDEX_SIZE_ERR: 1 DOMSTRING_SIZE_ERR: 2 HIERARCHY_REQUEST_ERR: 3 WRONG_DOCUMENT_ERR: 4 INVALID_CHARACTER_ERR: 5 NO_DATA_ALLOWED_ERR: 6 NO_MODIFICATION_ALLOWED_ERR: 7 NOT_FOUND_ERR: 8 NOT_SUPPORTED_ERR: 9 INUSE_ATTRIBUTE_ERR: 10 INVALID_STATE_ERR: 11 SYNTAX_ERR: 12 INVALID_MODIFICATION_ERR: 13 NAMESPACE_ERR: 14 INVALID_ACCESS_ERR: 15 VALIDATION_ERR: 16 TYPE_MISMATCH_ERR: 17 DATA_CLONE_ERR: 25 result: 2152923139 filename: http://publishinggeekly.com/wp-content/uploads/2012/02/floodit-xsl/SaxonceDebug/0F30750388E6726949C2FD540F07E05B.cache.html lineNumber: 1842 columnNumber: 0 inner: null data: null
_.Ub=function E8(a){var b,c,d,e,f;d=fi...is.j&&(c=this.j.Ge(a,b,c));return c};
Maybe IE 9 doesn't support U+2003?
I’ll try 1.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.