js1024

js1024

Annual JavaScript Golfing Competition

Status Closed · starts 1 July

Mirror Puzzle
by burntcustard
One of those tile puzzle toys, but the image is your face! Webcam or selfie camera required.
1021/1024 bytes - HTML project


W2JdQ2FtZXJhIHBlcm1pc3Npb25zIHJlcXVpcmVkIC0gdGhlIGdhbWUgb25seSBydW5zIGFmdGVyIHBlcm1pc3Npb24gaXMgZ2l2ZW4uWy9iXQ0KDQpbaF1Lbm93biBpc3N1ZXNbL2hdDQoNCi0gQ2F1c2luZyBjYW1lcmEgZGltZW5zaW9ucyB0byBjaGFuZ2UgKGZvciBleGFtcGxlIGJ5IHJvdGF0aW5nIGEgZGV2aWNlKSBtYXkgcmVzdWx0IGluIGdyZXkgYmFycyBhcHBlYXJpbmcuIFJlZnJlc2hpbmcgdGhlIHBhZ2UgZml4ZXMgdGhpcywgYnV0IGFsc28gcmVzZXRzIHRpbGUgcG9zaXRpb25zLg0KDQotIFZpZGVvIHBvc2l0aW9uIGlzIG5vdCB2ZXJ0aWNhbGx5IGFuZCBob3Jpem9udGFsbHkgY2VudGVyZWQsIGJ1dCBpbnN0ZWFkIGlzIGFsaWduZWQgdG8gdGhlIHRvcCBsZWZ0LiBUaGlzIGNhbiBtZWFuIHlvdSBoYXZlIHRvIHRpbHQgdGhlIGNhbWVyYSBzbGlnaHRseSBtb3JlIGRvd253YXJkcyBvbiBtb2JpbGUsIG9yIHRvIHRoZSByaWdodCBvbiBkZXNrdG9wLg0KDQpGdWxsIHNvdXJjZSBjb2RlIGFuZCBidWlsZCB0b29scyBhcmUgYXZhaWxhYmxlIGluIHRoZSByZXBvIFtsaW5rXWh0dHBzOi8vZ2l0aHViLmNvbS9idXJudGN1c3RhcmQvanMxMDI0LW1pcnJvci1wdXp6bGVbL2xpbmtd

Comments & ratings

Participant feedback and public notes for this demo.

14 total

Rating comments

Feedback submitted with participant scores.

12
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

Notes left by visitors.

2
Anonymous visitor

hehe, great idea!

Anonymous visitor

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.

Leave a public comment

Your comment appears publicly after the human check.

0/512
Human checkOne quick verification before publishing.