Skip to content

Latest commit

 

History

History
11 lines (7 loc) · 417 Bytes

README.md

File metadata and controls

11 lines (7 loc) · 417 Bytes

Tiny quiz game

A tiny javascript game which source code fits into a single twitter tweet.

This project was inspired by the challenge from Ben Porter at twitter.

Source code

d=Date.now;t=5;n=o=0;while(n<t){f=s=(''+d())[12]++;f=f+3*2;c=f+s+'';o+=prompt(f+'+'+s)==c?1:0;n++}alert('Score '+o+'/'+t)