js1024

js1024

Annual JavaScript Golfing Competition

CLOSED. Starts on 1 July

Mirror Puzzle
by burntcustard
1021/1024 bytes - HTML project

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

W2JdQ2FtZXJhIHBlcm1pc3Npb25zIHJlcXVpcmVkIC0gdGhlIGdhbWUgb25seSBydW5zIGFmdGVyIHBlcm1pc3Npb24gaXMgZ2l2ZW4uWy9iXQ0KDQpbaF1Lbm93biBpc3N1ZXNbL2hdDQoNCi0gQ2F1c2luZyBjYW1lcmEgZGltZW5zaW9ucyB0byBjaGFuZ2UgKGZvciBleGFtcGxlIGJ5IHJvdGF0aW5nIGEgZGV2aWNlKSBtYXkgcmVzdWx0IGluIGdyZXkgYmFycyBhcHBlYXJpbmcuIFJlZnJlc2hpbmcgdGhlIHBhZ2UgZml4ZXMgdGhpcywgYnV0IGFsc28gcmVzZXRzIHRpbGUgcG9zaXRpb25zLg0KDQotIFZpZGVvIHBvc2l0aW9uIGlzIG5vdCB2ZXJ0aWNhbGx5IGFuZCBob3Jpem9udGFsbHkgY2VudGVyZWQsIGJ1dCBpbnN0ZWFkIGlzIGFsaWduZWQgdG8gdGhlIHRvcCBsZWZ0LiBUaGlzIGNhbiBtZWFuIHlvdSBoYXZlIHRvIHRpbHQgdGhlIGNhbWVyYSBzbGlnaHRseSBtb3JlIGRvd253YXJkcyBvbiBtb2JpbGUsIG9yIHRvIHRoZSByaWdodCBvbiBkZXNrdG9wLg0KDQpGdWxsIHNvdXJjZSBjb2RlIGFuZCBidWlsZCB0b29scyBhcmUgYXZhaWxhYmxlIGluIHRoZSByZXBvIFtsaW5rXWh0dHBzOi8vZ2l0aHViLmNvbS9idXJudGN1c3RhcmQvanMxMDI0LW1pcnJvci1wdXp6bGVbL2xpbmtd

Ratings

Anonymous participant 91/100: Looks really difficult at first but it's actually fun after you figure out the algorithms :D
Anonymous participant 100/100: Funny
Anonymous participant 95/100: Pretty clever approach! Nicely done!
Anonymous participant 87/100: no comment
Anonymous participant 90/100: very good idea
Anonymous participant 80/100: no comment
Anonymous participant 100/100: Perfect. Looks good, plays good and thematic. Though I guess this can be better as a puzzle than 15-puzzle.
Anonymous participant 70/100: no comment
Anonymous participant 90/100: 3x3 sliding puzzle using a dynamic image from a webcam, which is naturally mirrored. Features a minimal but polished interface with a good edge case handling. Pleasing animation and an interesting way to implement a cropped video. The code complexity is surprisingly low, but I think this is actually a refreshing take for JS1024.
Anonymous participant 70/100: Great use of camera for the animated puzzle, nicely done, but 3x3 is too easy
Anonymous participant 95/100: Very original, best themed demo for sure.
Anonymous participant 92/100: This game just becomes harder with real-time image from camera! I like that it's like a shattered mirror.

Public comments

Anonymous hehe, great idea! 1657987936
Anonymous In "better as a puzzle than 15-puzzle" I meant "jigsaw puzzle" kind of puzzle:) Figuring which parts goes where is already a challenge, 15-puzzle mechanics was superflous, imho. 1659295578


Leave a comment