<html>
<head>
<title>Coin collecter</title>
</head>
<body>
<dialog id='instructions'>
<h1>Instructions</h1>
<p>
Hey there and welcome to Coin Collecter. You will be controlling a purple circle in the bottom of the screen by pressing the left and right arrow keys throughout the game. There will be yellow circles falling from the top of the screen. These yellow circles are valueable coins. It is your goal to collect as many of them as possible, before time runs out. Oh... and speaking about time, we measure time in cycles. You will start with 3600 cycles, which is about 1 minute. As an extra bonus, each time you collect a coin, you recieve 10 cycles of extra time, which alone isn't a lot, but it adds up. Also, occasionally there will be blue revive circles falling. They are usually faster than the coins. The first two times you collect a revive circle, your remaining cycle count will be reset to 3600, but if you collect a third one, the game will be immediately ended. You can monitor if it is safe to collect a revive circle by looking at the "revives remaining" count. If it is at zero, don't collect any more revive circles.
</p>
<p>
One more thing... If you ever need to pause the game, press the enter key. Please feel free to share this game with whoever you wish to. Press enter to start (or continue) playing.
</p>
</dialog>
<dialog id='paused'>
<h1>Paused</h1>
<p>
Press enter to continue or press "i" to view instructions
</p>
</dialog>
<dialog id='message'>
<p id='messageText'>
</p>
<p id='messageInputP'><input id='messageInput'></input></p>
<button id='messageButton'>
OK
</button>
</dialog>
<canvas id='c'>Uh oh... Your browser does not support this game :(</canvas>
</body>
</html>
Output
You can jump to the latest bin by adding /latest
to your URL
Keyboard Shortcuts
Shortcut | Action |
---|---|
ctrl + [num] | Toggle nth panel |
ctrl + 0 | Close focused panel |
ctrl + enter | Re-render output. If console visible: run JS in console |
Ctrl + l | Clear the console |
ctrl + / | Toggle comment on selected lines |
ctrl + ] | Indents selected lines |
ctrl + [ | Unindents selected lines |
tab | Code complete & Emmet expand |
ctrl + shift + L | Beautify code in active panel |
ctrl + s | Save & lock current Bin from further changes |
ctrl + shift + s | Open the share options |
ctrl + y | Archive Bin |
Complete list of JS Bin shortcuts |
JS Bin URLs
URL | Action |
---|---|
/ | Show the full rendered output. This content will update in real time as it's updated from the /edit url. |
/edit | Edit the current bin |
/watch | Follow a Code Casting session |
/embed | Create an embeddable version of the bin |
/latest | Load the very latest bin (/latest goes in place of the revision) |
/[username]/last | View the last edited bin for this user |
/[username]/last/edit | Edit the last edited bin for this user |
/[username]/last/watch | Follow the Code Casting session for the latest bin for this user |
/quiet | Remove analytics and edit button from rendered output |
.js | Load only the JavaScript for a bin |
.css | Load only the CSS for a bin |
Except for username prefixed urls, the url may start with http://jsbin.com/abc and the url fragments can be added to the url to view it differently. |