js1024

js1024

Annual JavaScript Golfing Competition

CLOSED. Starts on 1 July

Minesweeper
by burntcustard
1024/1024 bytes - HTML project

Run Demo Minified code Readable code Run Demo (Without Navigation Bar)

W2hdIEhvdyB0byBwbGF5IFsvaF0NCi0gTGVmdCBjbGljayBvciBwcmVzcyBvbiBhIOKsnCB0byByZXZlYWwgaXQncyBjb250ZW50cy4gSWYgaXQncyBhIPCfkqMgeW91IGxvc2Ug8J+YtQ0KLSBSaWdodCBjbGljayBvciBsb25nLXByZXNzIG9uIGEg4qycIHRvIHBsYWNlIGEg8J+aqSBvbiBpdC4NCi0gQSDirJwncyBuZWlnaGJvcnMgYXJlIHRoZSDirJwgZGlyZWN0bHkgYWRqYWNlbnQgdG8gaXQsIGluY2x1ZGluZyBhbGwgNCBkaWFnb25hbHMuIPCflIYNCi0gSWYgYSByZXZlYWxlZCDirJwgaGFzIGEgbnVtYmVyLCB0aGF0IG51bWJlciBpbmRpY2F0ZXMgaG93IG1hbnkgbmVpZ2hib3Jpbmcg8J+SoyBpdCBoYXMuDQotIElmIHlvdSByZXZlYWwgYSDirJwgd2l0aCBubyBuZWlnaGJvcmluZyDwn5KjLCBhbGwgaXRzIG5laWdoYm9ycyBhdXRvbWF0aWNhbGx5IHJldmVhbC4NCi0gVG8gd2luLCBhbGwg4qycIGNvbnRhaW5pbmcg8J+SoyBtdXN0IGhhdmUg8J+aqSBvbiB0aGVtLCBhbmQgYWxsIG90aGVyIOKsnCBtdXN0IGJlIHJldmVhbGVkIPCfpKkNCi0gQ2xpY2sgdGhlIPCfmYIgaW4gdGhlIHRvcCByaWdodCBhdCBhbnkgdGltZSB0byByZXN0YXJ0IPCflIENCg0KW2hdIERpZmZlcmVuY2VzIGZyb20gY29udmVudGlvbmFsIE1pbmVzd2VlcGVyIFsvaF0NCi0g4qycIHdpdGggaW5jb3JyZWN0bHkgcGxhY2VkIPCfmqkgYXJlIGlnbm9yZWQgd2hlbiBhdXRvbWF0aWNhbGx5IHJldmVhbGluZyBhbmQgYXJlIGluc3RlYWQganVzdCByZS1hZGRlZCB0byBzdG9yYWdlLg0KLSBUaGVyZSBpcyBubyAnY2hvcmRpbmcnLCBpLmUuIHJldmVhbGluZyDirJwgd2hlbiBhIG51bWJlcmVkIOKsnCB3aXRoIGNvcnJlY3RseSBwbGFjZWQgc3Vycm91bmRpbmcg8J+aqSBpcyBjbGlja2VkLg0KLSBUaGVyZSBpcyBubyAnc3RhcnQgd2l0aCBjbGVhcicgb3IgJ3N0YXJ0IHdpdGggc2FmZScsIGkuZS4gdGhlcmUgaXMgYSBjaGFuY2UgdGhlIGZpcnN0IOKsnCB5b3UgcHJlc3MgY29udGFpbnMgYSDwn5KjDQoNCltoXSBLbm93biBpc3N1ZXMgWy9oXQ0KLSBFbW9qaSBhcmUgbm90IGFsd2F5cyBwZXJmZWN0bHkgY2VudGVyZWQsIGJlY2F1c2Ugb2YgZm9udCBhbmQgZGVmYXVsdCBidXR0b24gc3R5bGluZyBkaWZmZXJlbmNlcyBiZXR3ZWVuIGJyb3dzZXJzIGFuZCBvcGVyYXRpbmcgc3lzdGVtcy4NCg0KR2l0SHViIHJlcG86IFtsaW5rXWh0dHBzOi8vZ2l0aHViLmNvbS9idXJudGN1c3RhcmQvanMxMDI0LW1pbmVzd2VlcGVyWy9saW5rXQ==

Ratings

Anonymous participant 85/100: accurate
Anonymous participant 90/100: Loved: great ui, nailed minesweeper. Wanted: a twist or spin, something more than minesweeper. I ranked you at the "Very Good" level in Games/Toys. I awarded points to each demo based on several criteria. I scaled the scores for all demos that I ranked, the best becoming 100, so your final score differs from the intital score I gave you.
Anonymous participant 90/100: Amazing work - so much is so little space
Anonymous participant 75/100: Quite feature rich for 1024. Too bad you could not make first cell guaranteed empty, like in the original.
Anonymous participant 80/100: did not work for me in chrome, did work in firefox. nice implementation! some minor gripes, make the revealed?tile color/shade more different. when i right click revealed tiles it brings up the browser context menu
Anonymous participant 94/100: Good work on doing it below 1024 bytes!
Anonymous participant 78/100: Classic, plays smoothly and very well executed, lots of tricks performed to minify it under 1K.
Anonymous participant 90/100: Very cool to do it with raw html

Public comments

Anonymous I got a type error in Chrome 114: Uncaught TypeError: Cannot read properties of null (reading 'style') at <anonymous>:1:1087 1690815341


Leave a comment