bart van maarseveen

@bvanmaarseveen

bart roorda

@bartroorda

outline

blockchain

& gaming?

 

proof of

gameplay!

“Hi, I’m representing the gameplay of this game. I exist because <these keystrokes> were used to play the game using <this seed>.”

the tech of the komodo project

brings this unique feature,

 

 

 

 

to the world of gaming

proof of gameplay

proof of

concept

game

 

roguelander

to get familiar with the basic workings, the first concept game for exploring proof of gameplay is komodo's roguelander

poc: roguelander

The original ‘Rogue’ was a dungeon crawling video game by Michael Toy and Glenn Wichman and later contributions by Ken Arnold. Rogue was originally developed around 1980 for Unix-based mainframe systems as a freely-distributed executable. It was later included in the official Berkeley Software Distribution 4.2 operating system.

it's hard to experiment with roguelander as many forks exist (but which is the valid chain?)

 

solution =>

we present our

rogue blockchain

 

BLOCKBARROGUE

for anyone to experience the basic concept of proof of gameplay we created BLOCKBARROGUE,

a stable komodo asset chain for our roguelander game

get started!

prerequisites

  1. install Komodo deamon
  2. install Python

but stop when you are at "Set pubkey value" > then follow our instructions

step 1 - start the chain

Start the BLOCKBARROGUE chain with the following command in a terminal window and wait for the daemon to fully sync. Don't close this terminal window and keep it running.

./komodod -ac_name=BLOCKBARROGUE -ac_supply=1000000 -ac_cclib=rogue -ac_perc=10000000 -ac_reward=120000002 -ac_cc=60001 -ac_script=2ea22c80203d1579313abe7d8ea85f48c65ea66fc512c878c0d0e6f6d54036669de940febf8103120c008203000401cc -addnode=142.93.136.89 -daemon

step 2.1 - set your pubkey

Open a new terminal window and issue the following command to generate a new address and you can use the rest of the commands in this terminal including gameplay.

./komodo-cli -ac_name=BLOCKBARROGUE getnewaddress

step 2.2 - set your pubkey

Use validateaddress command with the address you got to get the pubkey displayed.

./komodo-cli -ac_name=BLOCKBARROGUE validateaddress RPCeZmqW4Aam52DFLmMraWtu5CuXPxqk92

This will display the following info from where you get the pubkey.

{
  "isvalid": true,
  "address": "RPCeZmqW4Aam52DFLmMraWtu5CuXPxqk92",
  "scriptPubKey": "76a91498b5caa42ffe9868844c51ba6e085e5e7e92fc2588ac",
  "segid": 13,
  "ismine": true,
  "iswatchonly": false,
  "isscript": false,
  "pubkey": "02f183a71e93dfa7672ce7212187e45eabcf4077fed575348504b20295751ab1a2",
  "iscompressed": true,
  "account": ""
}

step 2.3 - set your pubkey

step 2.4 - set your pubkey

Set the pubkey we got from step 2.3. This step is mandatory and without pubkey set, CC is not usable.

{
  "address": "RPCeZmqW4Aam52DFLmMraWtu5CuXPxqk92",
  "ismine": true,
  "pubkey": "02f183a71e93dfa7672ce7212187e45eabcf4077fed575348504b20295751ab1a2"
}
./komodo-cli -ac_name=BLOCKBARROGUE setpubkey 02f183a71e93dfa7672ce7212187e45eabcf4077fed575348504b20295751ab1a2

step 3 - start the chain

Your pubkey is now set and you can proceed to next step. You can keep this pubkey saved up and use it again.

 

Best way would be to pass the pubkey value directly in the daemon start command. If you want to start the daemon with pubkey next time, use the following command:

./komodod \
-ac_name=BLOCKBARROGUE \
-pubkey=02f183a71e93dfa7672ce7212187e45eabcf4077fed575348504b20295751ab1a2 \
-ac_supply=1000000 -ac_cclib=rogue -ac_perc=10000000 -ac_reward=120000002 -ac_cc=60001 -ac_script=2ea22c80203d1579313abe7d8ea85f48c65ea66fc512c878c0d0e6f6d54036669de940febf8103120c008203000401cc \
-addnode=142.93.136.89 \
-daemon

step 4.1 - connect the game

Since we changed ROGUE to BLOCKBARROGUE you need to change the Python script rogue_tui.py >> chain = BLOCKBARROGUE

step 4.2 - connect the game

the final step is to copy the conf file:

you are now set to play roguelander on the blockbar fork! run the python tui to play:

cp ~/.komodo/BLOCKBARROGUE/BLOCKBARROGUE.conf ~/komodo/src/ROGUE.conf
./komodo/src/rogue_tui.py

start

gaming

Rogue block explorer: http://rogue.explorer.dexstats.info
NOTE: This explorer doesn't include BLOCKBARROGUE transactions

sell

your

warrior

NFT & DEX

Text

references

more like this?

This BLOCKBARROGUE was created at Blockbar, a community of blockchain enthusiasts that work together.

 

Join the Blockbar coworking Fridays in The Hague, The Netherlands - or join Blockbar on Discord to share your BLOCKBARROGUE adventures!

 

Similar coworking days in The Netherlands are these:

 

To great adventures 🗡

Blockbar Rogue install guide

By Bart van Maarseveen

Blockbar Rogue install guide

  • 1,649