NotesWhat is notes.io?

Notes brand slogan

Notes - notes.io

// Poggers! This strategy editor is in BETA mode, please
// exercise extreme caution and use exclusively at
// your own risk. No bets can or will be refunded in
// case of errors.

// Please note the strategy editor executes arbitrary
// javascript without a sandbox and as such, only use
// strategies from trusted sources, as they can be
// backdoored to lose all your money or have
// intentional exploitable weaknesses etc.

// To see the full engine API go to:
///https://github.com/moneypot/webserver/blob/master/client_new/scripts/game-logic/script-controller.js

// To discuss, request or post a strategy checkout:
///http://www.reddit.com/r/moneypot/

//Engine events:

engine.on('game_starting', function(info) {
console.log('Game Starting in ' + info.time_till_start);
});

engine.on('game_started', function(data) {
console.log('Game Started', data);
});

engine.on('game_crash', function(data) {
console.log('Game crashed at ', data.game_crash);
});

engine.on('player_bet', function(data) {
console.log('The player ', data.username, ' placed a bet. This player could be me :o.')
});

engine.on('cashed_out', function(resp) {
console.log('The player ', resp.username, ' cashed out. This could be me.');
});

engine.on('msg', function(data) {
console.log('Chat message!...');
});

engine.on('connect', function() {
console.log('Client connected, this wont happen when you run the script');
});

engine.on('disconnect', function() {
console.log('Client disconnected');
});


//Getters:
console.log('Balance: ' + engine.getBalance());
console.log('The current payout is: ' + engine.getCurrentPayout());
console.log('My username is: ', engine.getUsername());
console.log('The max current bet is: ', engine.getMaxBet()/100, ' Pogs');
console.log('The current maxWin is: ', engine.getMaxWin()/100, ' Pogs');
// engine.getEngine() for raw engine


//Helpers:
console.log('Was the last game played? ', engine.lastGamePlayed()?'Yes':'No');
console.log('Last game status: ', engine.lastGamePlay());


//Actions:
//Do this between the 'game_starting' and 'game_started' events
//engine.placeBet(betInSatoshis, autoCashOutinPercent, autoPlay);

//engine.cashOut(); //Do this when playing
//engine.stop(); //Stops the strategy
//engine.chat('Hello Spam');
     
 
what is notes.io
 

Notes.io is a web-based application for taking notes. You can take your notes and share with others people. If you like taking long notes, notes.io is designed for you. To date, over 8,000,000,000 notes created and continuing...

With notes.io;

  • * You can take a note from anywhere and any device with internet connection.
  • * You can share the notes in social platforms (YouTube, Facebook, Twitter, instagram etc.).
  • * You can quickly share your contents without website, blog and e-mail.
  • * You don't need to create any Account to share a note. As you wish you can use quick, easy and best shortened notes with sms, websites, e-mail, or messaging services (WhatsApp, iMessage, Telegram, Signal).
  • * Notes.io has fabulous infrastructure design for a short link and allows you to share the note as an easy and understandable link.

Fast: Notes.io is built for speed and performance. You can take a notes quickly and browse your archive.

Easy: Notes.io doesn’t require installation. Just write and share note!

Short: Notes.io’s url just 8 character. You’ll get shorten link of your note when you want to share. (Ex: notes.io/q )

Free: Notes.io works for 12 years and has been free since the day it was started.


You immediately create your first note and start sharing with the ones you wish. If you want to contact us, you can use the following communication channels;


Email: [email protected]

Twitter: http://twitter.com/notesio

Instagram: http://instagram.com/notes.io

Facebook: http://facebook.com/notesio



Regards;
Notes.io Team

     
 
Shortened Note Link
 
 
Looding Image
 
     
 
Long File
 
 

For written notes was greater than 18KB Unable to shorten.

To be smaller than 18KB, please organize your notes, or sign in.