js1024

js1024

Annual JavaScript Golfing Competition

CLOSED. Starts on 1 July

Pig Game
by Andrew Berry
1019/1024 bytes - HTML project

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

W2hdIFBpZyBHYW1lIFsvaF0NCg0KW2JdIEhvdyB0byBwbGF5OiBbL2JdDQoNClBsYXllcnMgdGFrZSB0dXJucyB0byByb2xsIGEgZGllLCB0YWxseWluZyB0aGUgc3VtIG9mIHRoZWlyIHJvbGxzIHdpdGhpbiBhIHNpbmdsZSB0dXJuLiBQbGF5ZXJzIGNhbiByb2xsIGFzIG1hbnkgdGltZXMgYXMgdGhleSB3YW50IHBlciB0dXJuLiBIb3dldmVyLCBpZiBhIHBsYXllciByb2xscyBhICcxJywgYWxsIHBvaW50cyBjb2xsZWN0ZWQgd2l0aGluIHRoYXQgdHVybiBhcmUgZm9yZmVpdGVkIGFuZCB0aGUgdHVybiBlbmRzLiBQbGF5ZXJzIGNhbiBhbHNvIG9wdCB0byAiaG9sZCIsIGF0IHdoaWNoIHBvaW50IHRoZSB0dXJuJ3MgcG9pbnRzIGdldCBhZGRlZCB0byB0aGVpciBvdmVyYWxsIHNjb3JlLiBUaGUgZ2FtZXBsYXkgY29udGludWVzIHVudGlsIG9uZSBwbGF5ZXIgYWNoaWV2ZXMgYSB0b3RhbCBzY29yZSBvZiAxMDAgcG9pbnRzLg0KDQpbYl0gRmVhdHVyZXM6IFsvYl0NCg0KLSBIdW1hbiB2cyBBSQ0KLSBVc2VzIEpTIHByb3hpZXMgdG8gdXBkYXRlIFVJIHdoZW4gZ2FtZSBzdGF0ZSBjaGFuZ2VzDQotIFBsYXlhYmxlIG9uIG1vYmlsZQ0KLSBJbmNvcnBvcmF0ZXMgMjAyMyB0aGVtZSAibHVjayINCg0KUmVwbzogW2xpbmtdIGh0dHBzOi8vZ2l0aHViLmNvbS9hbmRyZXdiL3BpZy1nYW1lIFsvbGlua10=

Ratings

Anonymous participant 67/100: i like the UI.
Anonymous participant 85/100: Works well don desktop and mobile, neat dice rolling animation, and an AI that is apparently a lot luckier than I am!
Anonymous participant 95/100: Loved: it looks so fresh and so clean, that little animation. Wanted: just a little something extra, so it stood out more? I ranked you at the "Pro" 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 70/100: no comment
Anonymous participant 50/100: 80
Anonymous participant 75/100: Solid execution, but nothing above that.
Anonymous participant 70/100: good design, i like the dice roll animation
Anonymous participant 92/100: I like the spinning animation.
Anonymous participant 65/100: Interesting game mechanism, the AI is often greedy yet its strategy works better than mine. Well executed, although I had higher expectations for the GUI (highlight the buttons, see the die rolling).
Anonymous participant 90/100: Fun, animations actually kept me engaged

Public comments

No public comments yet.

Leave a comment