http://qame.org/guide ETN Gaming Blockchaining like a yeah
STEP 1: setting up the QLRI (ql-node) with Qlite Web
1Install the Java Runtime Environment (JRE) or Java Development Kit (JDK).
2Download QLRI v0.3 and unzip its content to any location.
3In your terminal (cmd on Windows) change to the folder via cd wherever/my/folder/is
4Type in java -jar qlri-0.3.jar -api (see qubiclite.org or github) to start it. This will start Qlite Web on port 17733. You will find the exact url printed in your terminal.
STEP 2: installing the qApp
Instructions can be found on the respective qApp page. (example)
STEP 3: running the qApp's qubic via Qlite Web
1Copy the ql code at the bottom of the qApp's qame.org page (example) to your clipboard. Usually you have to perform some minor adjustments so read the description above it.
2Open Qlite Web and click on the (+) button next to Qubics. Paste the code into the textarea and click on create qubic.
3Copy the ID of the qubic you just created and use it to create a new oracle (optionally ask your friends to create oracles for your qubic as well).
4Click the applications button of your qubic, select at least one oracle and click assemble. Make sure you do this in time: you only have 5 minutes to assemble after creating the qubic.¹
¹ … If you need more time, set execution start in the advanced configurations during the qubic creation in step 2 to the amount of seconds you need.
accs = ['DWDZMAOXQNIUORJESVFGD9RPISHJEICVLFHMFJ9LFQREXELZPDKBWFSEEMIGVDVWRSFKOKEXILSYZX999', 'HCRPNTMSEHIOHRPPJQWHKH9FLQITOKVKIFWHSPYCJEMQBJYHLENJU9YQCBMZ9SLKXAZHGHGPMPAHJX999'];
H = 10;
W = 15;
TIMES = [10,14,20,30,40,60,80,120,160,300];
if(epoch < size_of(accs)) {
map = []; age = [];
y = 0; while(y < H) { map[y] = []; age[y] = []; x = 0; while(x < W) {
map[y][x] = 0;
age[y][x] = epoch;
x; } y; }
return({
'map':map,
'age':age,
'inv':[1,1,1,1,1,1,1,1,1,1],
'msg':'account created'
});
}
e = 0; while(!ls) {
e+=size_of(accs);
ls = qubic_fetch(qubic, epoch-e);
}
map = ls['map'];
age = ls['age'];
inv = ls['inv'];
bm = map;
ba = age;
bi = inv;
a = iam_read(accs[epoch%size_of(accs)], epoch);
if(!a) { return({'map':bm,'age':ba,'inv':bi,'msg':'no action'}); }
y = 0; while(y < H) { x = 0; while(x < W) {
if(a['age'][y][x] == -1) {
if(map[y][x] > 0) {
if(epoch-age[y][x] < TIMES[map[y][x]-1]) {
return({'map':bm,'age':ba,'inv':bi,'msg':'invalid harvest/plant'});
} else {
inv[map[y][x]-1]+=2;
}
}
seed = a['map'][y][x];
if(seed>size_of(inv)) {
return({'map':bm,'age':ba,'inv':bi,'msg':'unknown plant'});
}
if(seed>0) {
inv[seed-1]--;
}
map[y][x] = a['map'][y][x];
age[y][x] = epoch-1;
}
x; } y; }
i = 0; while(i < size_of(inv)) {
if(inv[i]<0) { return({'map':bm,'age':ba,'inv':bi,'msg':'insufficient seeds'}); }
i++; }
return({'map':map,'age':age,'inv':inv,'msg':'user input accepted'});
Leave http://qame.org/guide ETN Gaming Blockchaining like a yeah to:
Read more #qapps posts
Best Posts From MIB/MOSCOIN.NODE.USA
We have not curated any of kyler2018's posts yet. But you can encourage our curation team to review posts by visiting them regularly and by referring other readers. Because we give priority to frequently read content.
More Posts From MIB/MOSCOIN.NODE.USA
- New Languages added on MIB Website #MIBCOIN Mobile Integrated #Blockchain MOBILE MINING
- MIB coin USA node manager coming soon #mibcoin
- Engineer TRUE ROOT SU NO TWRP or Other Bootloader mod Root the Samsung Galaxy S8 & S8 Plus Qualcomm Snapdragon version.
- Coinbase and MIBCoin Live November 2018 Delistings no comliance Bytom ETC 25 Financial Products Delisted
- Orders by #Jesuits @pontifex FAIL
- Representative and point from day 1111
- Spirits need no vehicle
- Amazon requires Jeff Bezos to prove he is worthy of running Amazon by placing false empty packages into company vehicles.
- C++ Download package Majorgeeks.com
- @MIBCoin @mubcoin-USA-master-node