Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - Snailbrain

Pages: [1] 2 3 ... 6
1
Unreal Engine Client / Unreal Engine Client
« on: August 08, 2017, 10:08:05 PM »
in the works....

2
Development / Next Hardfork
« on: June 14, 2017, 05:23:57 PM »
We are currently looking at this for options :

1. Life Span of Hunters = ~60 to 80 Blocks

2. Combat Changes >

Some Ideas:
Random Destruct Patterns (not random every block)
Colours have different attack styles

--

3. Make use of the Empty Areas

3
General Discussion / Huntercoin Snapshot for Chimaera
« on: April 06, 2017, 04:04:45 PM »
As you probably heard from the website twitter feed and the bitcointalk Huntercoin / Chimaera Threads.

at block 1680000 there was a snapshot of the chain.

All those that had HUC at that block should receive Chimaera coins.

for more information visit https://chimaera.io

4
General Discussion / HARDFORK - Check the Sticky
« on: November 29, 2016, 08:53:47 PM »
Check the Sticky for the new hardfork

http://forum.huntercoin.org/index.php/topic,37.0.html

5
any thoughts?

6
Development / Map Changes
« on: April 15, 2016, 04:11:34 PM »
I was reading a comment on bitcointalk by wiggi about map changes and the discussions going nowhere after lenghtly dicussions..

Quote
takes ages to move the character
Quote
yes it does, and the reason is not 30s or 60s blocks, but the map layout. It could have been a bunch of small villages
with safe inns to park your hunter and connected with teleportation links. This is technically trivial but after tiring discussions
the layout is as it is. (Btw, that's exactly what I meant with the "let them human miners suffer" mindset which does Huntercoin no good)

not sure which discussions :D but,

i think wiggi has the skills to change the map for a hardfork after huntercore is completed.

i think post some suggestions/maps which will fix the game being slow without having < 1min blocks.



7
Development / Game Fund > Crown of Fortune
« on: March 22, 2016, 11:11:44 AM »
as per my post here for coinfest comp > http://forum.huntercoin.org/index.php/topic,22250.0.html

I think we could use the game fund for now by doing something like :

1k (or 2k better i think) coins to whomever has the crown of fortune every 1200 blocks. 1200 blocks so it passes through different time zones.

?

8
Development / Allow Standard Names in Huntercoin
« on: March 18, 2016, 01:01:21 PM »
One of the reasons for not allowing normal names like in namecoin was so huntercoin wasn't used like namecoin.
I wrote this in the original chronokings thread in 2013

my original idea was based on a fork of namecoin using names as characters, and their values as moves, positions are calculated (gamestate).

Now, thinking about this more (due to wiggi's gems), you can have an entirely new gameworld as long as not printing huntercoins and it doesn't even need to be in the daemon.

https://bitcointalk.org/index.php?topic=435170.msg14226270#msg14226270

if we allow normal names which still cost 200 HUCs (or 1000), then people can have their own gamestates/worlds in their own modified client or external game. - better, some sort of framework that can allow people to easily input their own "game-rules/law/gamestate-calculator" into the actual client. I don't think this would be difficult to do - maybe even wiggi could do it?
An extra tab (game2) in the QT for example, with it's own balance/wallet.

The only hardfork required for it would be "allowing none huntercoin names", so those names don't appear in the huntercoin world and act just like a namecoin name. by simply adding a new value like "hucworld=0" when you create the character.

This way it's easy(ier) for people to build on huntercoin to make their own games and currencies? (i.e. like Wiggis Gems, except entirely new game worlds as well not just in huntercoin map)..

It allows people to use huntercoin as a p2p-game-engine and create their own cryptocurrencies.

btw, another way of looking at Wiggis Gems if it's confusing is just this:
Imagine you are collecting HUCs in game but you don't bank them... you still have those coins, the only difference is that you can get them stolen or a disaster may come.
In an alternate gamestate in which hucs are not involved (except to create your character), there can be a virtual bank to bank your "gold pieces" they just woudln't be in your normal "crypto wallet", they go in your virtual calculated wallet which is also calculated just like hucs gamestate..
it's still cryptographically safe as you hold the key to the character who owns them..
You can still die in the alternative gamestate, but your 1000 huc character still exists in your huc wallet.. in the alternate gamestate you would probably just start at the begining of the map again, or worse, the gamestate would say that you can't enter the game again.. so you'd be blanked out and not involved any anyone elses calculations...

sounds confusing but it's simple, a bit like a matrix in a matrix. (or cryptocoins on top of bitcoin)

what are the obstacles
fees increase?
special "names" cost more?
did i a miss a fatal flaw..

p.s. you could do it with other cryptocoins and all the new application cryptos as well (maybe in bitcoin - but afair the values are limited in size), .. - but we can evolve huntercoin around this feature, set fees, prune what we want etc...
that's a point - pruning would be a problem as you'd need the entire chain since your alternate-gamestate began, to calculate your funds? (although you don't actually need to make a new currency for another game, if it's fun - it's advantage is that it's p2p game).

if it's viable, credits go to wiggi for opening minds..


9
The Purpose of this guide is so you have the ability to instant play huntercoin using the unity client anywhere (e.g. using the Android Unity Client over 3g/4g without storing the chain locally).

Basic Steps:
Setup a 10$/Month SSD VPS on Digital Ocean
build huntercoin, configure, upload chain
Install/Configure OpenVPN Server
configure openvpn on android/desktop
configure unity client

Obviously not ideal for what we want for hunercoin - BUT, it works and it's fast :) (Temp Solution for those who don't mind getting their hands dirty).

The guide is mostly aimed at windows users.
I've tried to make it as simple/step by step as i could.
It is VERY VERY easy even if this post looks long... actual time spent doing it is probably about 10mins if you discount download/upload/compile times.

These steps setup an instant play server so you can play anywhere anytime pretty much instantly with rocksolid stability. 10$/month. from your Android or Desktop PC.
I've had my Huntercoin Daemon running for several weeks without issue on Ubuntu - currently the windows daemon and qt can stop syncing for unknown reason (hopefully resolved in huntercore)

This is simple to setup but obviously not ideal for the masses. Still, works great from my experience.

Note : I'm not the best at linux/security so there could be lots of security holes - so take this as a work in progress and hopefully those with more knowledge can fine tune it..
SO - DO NOT USE SIGNIFICANT COINS ON THIS SERVER unless someone says it's safe..

You will need (on windows):
Putty http://the.earth.li/~sgtatham/putty/latest/x86/putty.exe
WinSCP  https://winscp.net/download/winscp576setup.exe


--

Setup VPS

1. Create an account on https://www.digitalocean.com/
2. Click Create Droplet (choose enable Private IP option)
3. Choose Ubuntu 14.04.4, the $10/month Size (30gb SSD, 1gb ram) and your nearest datacentre (if you want).
4. put a name for the host and click create.

Ok you now have your ubuntu VPS ready to go.
You will be emailed your root password for your VPS and it's IP address will be on the digital ocean site (and maybe in the email as well).

We now need to add a swap file to the VPS as it doesn't seem to come with one... 1gb of Ram isn't enough. We'll also update the server.

Get to the Terminal of the VPS from windows:

1. Run Putty
2. In the hostname put in the IP address of your VPS (droplet) that you created.
3. In the box which says "saved sessions" enter something like huntercoinVPS and click save
4. Press Open.
5. Accepted the security certificate (press yes or allow)
6. You should now have a login box
7. login with root as the username and for the password enter the password you got in the email from digital ocean.
8. It will ask you to change the password - use a super secure password and confirm it.
9. You should now be logged in to the session as root
10. Update the VPS - Enter the following and wait for each one to finish..
Code: [Select]
apt-get update
apt-get upgrade


Create/Configure Swap File (this seems the quickest way) - I've gone for 4gb of Swap which may be overkill on this 1gb system, although it has an SSD (that isn't mine) so i think ok..

1. in the putty session type these commands in order followed by enter :

Code: [Select]
fallocate -l 4G /swapfile
chmod 600 /swapfile
mkswap /swapfile
swapon /swapfile

2. The swap file should now be working - type
Code: [Select]
free -mit should show swap and something like this

Code: [Select]
             total       used       free     shared    buffers     cached
Mem:           994        924         69          0          0        447
-/+ buffers/cache:        476        517
Swap:         4095        414       3681

3. We now need to make it keep the swap file after a reboot..
In the session type:
Code: [Select]
vi /etc/fstab

This will bring up a text editor:
Press the letter i once on the keyboard to allow you to insert/edit the file.
use the down arrow to get to the bottom line and you may need to press the "END" to get to the last character of that line... press enter to make a new line...
then copy this :
Code: [Select]
/swapfile   none    swap    sw    0   0and paste it onto the new line in putty by pressing the right mouse button once.

should like like this:

Code: [Select]
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/vda1 during installation
UUID=050e1e34-39e6-4072-a03e-ae0bf90ba13a /               ext4    errors=remount-ro 0       1
/swapfile   none    swap    sw    0   0

~
~
~
~
~
~
~
~
~
~
~
"/etc/fstab" 11L, 499C                                        11,0-1        All

now to save:
Press : aka colon,
this will allow you to type on the bottom row (issue commands).
Then type wq and enter

so it looks like
Code: [Select]
:wq
this will save your config file so your swap file will survive a reboot.

Great VPS + Swap File.

--

Start Copying the Chain to the VPS and create huntercoin.conf - Best do this now before all the other stuff because it takes so long..

1. In Putty terminal type this in order to create your huntercoin datadir

Code: [Select]
cd ~/
mkdir .huntercoin
cd .huntercoin
vi huntercoin.conf

you should now be in the text editor again..
Press i so you can start typing

use super secure username and passwords here and write this (or copy and paste but changing the user/password)

Code: [Select]
rpcuser=secureusername
rpcpassword=securepassword
server=1
rpcallowip=192.168.20.*

ok, now press : and enter wq and press enter..
Code: [Select]
:wqFile should now be saved..

2. Run WinSCP

1. make sure "new Site" is selected at the top.
2. on the right enter the IP of your VPS in the hostname box. enter your username (root) and password for the VPS. Save it and enter a name like huntercoin-openvpn
3. Click Login, accept any security certificates etc..
4. on the right panel you should see the files in the current directory on the VPS.. click the ".." to get to the root of the directories. Then double click the folder called root.



5. In the root folder you should see .huntercoin in a grey colour.. if you can't see it you may need to set winscp to view hidden files/folder (to do this, click options, preferences, panel, and tick show hidden files).
6. double click the .huntecoin folder to go inside...
7. Copy the Chain into here using drag and drop.. see below:

There is 3 main ways to do this (choose any):

1. using putty you can use wget to download from chain.huntercoin.org and then unzip the folder into the .huntercoin. I've not used this method here because, i'm not sure there will be enough space for the large zip and then the uncompressed files - (maybe there is). It's also a bit behind the current block.
2. download from chain.huntercoin.org on your windows PC, unzip them, then drag and drop into the .huntercoin folder in WinSCP.
3. If you already have the chain (or most of it) then you can use this and drag and drop into .huntercoin through WinSCP:
The files are normally in C:/users/<username>/AppData/Roaming/Huntercoin/
you need basically all .dat files except your wallet at this stage.
MAKE SURE YOU ARE NOT RUNNING THE QT/DAEMON on the PC when you are copying..

This may take hours.. don't touch and just leave it..

-
Compile Huntercoin

1. In putty, make sure you are connected to the vps and at the command line logged in as root. then copy and paste this (copy here, right click in the putty window to paste)

Code: [Select]
sudo apt-get install libboost-chrono-dev libboost-date-time-dev libboost-filesystem-dev libboost-program-options-dev libboost-serialization-dev libboost-system-dev libboost-thread-dev libboost-dev libdb5.1++-dev git qt4-qmake libqt4-dev build-essential qt4-linguist-tools libssl-dev libglib2.0-dev
This installs the dependencies required to compile.

now lets compile huntercoin - enter these in order:

Code: [Select]
cd ~/
git clone https://github.com/chronokings/huntercoin.git
cd huntercoin/src
make

The last one may take some time..
if there are no error messages, your huntercoind executable should be ready to run.. but don't do anything yet.

At this stage your chain should still be copying over to the datadir..

--

Install/Configure OpenVPN


1. In putty terminal, connected to the VPS, logged in as root, at the command line, type:

Code: [Select]
cd ~/
wget http://swupdate.openvpn.org/as/openvpn-as-2.0.24-Ubuntu14.amd_64.deb

this downloads the latest openvpn for our VPS

2. install by typing:

Code: [Select]
dpkg -i openvpn-as-2.0.24-Ubuntu14.amd_64.deb
3. now change the password for openvpn admin (use super secure password)

Code: [Select]
passwd openvpn
4. we now need to re-initialize the openvpn as the web interface doesn't seem to work without it
Code: [Select]
/usr/local/openvpn_as/bin/ovpn-init
basically is default to most options except when it lets you select interfaces, make sure you choose "all interfaces", it was option 1 for me.
when it asks if you want to give access to internal subnets choose YES,
It may ask if you want to route all traffic through the VPN, and same for DNS, i chose NO. If you are going to use this VPN for accessing netflix or whatever from another country you may want to choose yes.

5. check if you can access the openvpn admin interface...

https://VPS-IP-ADDRESS:943/admin/

login with username openvpn and password whatever you changed it to previously.

ok awesome -- nearly there...

6.
in the admin panel go to:

VPN Settings
at the top where it shows "Dynamic IP Address Network", in Network Address enter :
192.168.20.0 and 24 for Number of Bits

Remove anything in "Group Default IP Address Network"
so should look like this:



Now go to "Server Network Settings"
Where it says "Interface and IP address", it should show 2 addresses, .. take note of the one that begins with 10. and write it down.
I'm not to sure how companies that host VPS work, but it seems this is the internal IP of your server and it hopefully doesn't change..

If you go back to VPN Settings, scroll down to Routing, and in the box to specify private subnets, see if something is written in there.. hopefully it should have the subnet of the IP address you wrote down. if not, could be you didn't select YES to allow access to subnets during the init of openvpn. but don't worry for now - carry on with the guide and if it doesn't work go back to initializing openvpn.

--

At this point the VPN should all be ready...
so lets try to connect to it -

ANDROID-

1. Install the official Open VPN Client for Android -

https://play.google.com/store/apps/details?id=net.openvpn.openvpn&hl=en_GB

2. Once installed, run it, click the options button in the top right, and choose import, then "Import Access Server Profile"

3. Enter the VPS Public IP Address (not the 10. one you wrote earlier), enter username openvpn and password you changed previously. tick the "import autologin profile". Press ok or import or whatever option it gives.

4. Click Connect (save password if not already ticked).

It should connect up right away. press on the "tap for more details", and check you have a 192.168.20.X ip address.
If it doesn't connect, something has gone wrong....

Congratz your Android OpenVPN is now all setup and working.

--

to set it up on windows, you can go to https://IP-OF-VPS/
login (select connect), and then download the software with config from your server. follow on screen instructions and you should be able to connect from your windows PC.
Will expand on this later (not doign now because i already have openvpn stuff setup and i don't want it to screw anything up).

--

Install Huntercoin Unity Client on Android

1. Make sure you are able to install apps from unknown sources. This is somewhere in your settings of your Android device, depending on version. (e.g. google search http://gs4.wonderhowto.com/forum/enable-unknown-sources-android-install-apps-outside-play-store-0150603/ )

2. Download the Unity for Android apk file (can do it from your android device, or from your pc and copy it on over us)
http://forum.huntercoin.org/index.php/topic,1552.0.html

3. Run the file (to install it).

You should now have the Huntercoin Icon in your Apps. Don't run it yet.

--

OK - After all that, everything should be ready once your chain has finished copying to the VPS.
So check your WinSCP and make sure the chain is all copied to the .huntercoin folder..

--

Lets check everything is working -
Make sure all the chain has been uploaded first..

1. in putty terminal, connected to the VPS, logged in as root type

Code: [Select]
cd ~/huntercoin/src
./huntercoind -printtoconsole=1

This should start up the daemon and output the debug.log to the screen line by line. I use this a lot to see what's happening real time..
If all goes well, after a minute, it will start downloading the blocks from where you chain was up to.. it will start spamming on the screen with the latest blocks as it catches up..
Wait for it to get to the latest block..

2. leaving this on your screen, go to your android device, connect to the openVPN and run the Huntercoin unity client.
3. n the unity client, go to the Overview Tab, Server Settings.
4. Enter your server IP in the format - Note, This IP address is the IP your Wrote down earlier from within the openvpn admin section.. it may start with 10.
Code: [Select]
http://10.X.X.Xenter port
Code: [Select]
8399enter the username and password you configured in the huntercoin.conf earlier (rpcuser and rpcpassword).

Press ok.

wait a minute.. if all goes well it should connect and show everything on the map and ready to play...

- but wait.. now that we know it's working we need to run the huntercoin daemon another way so that it persists after closing down the putty session.
exit huntercoin on your android device.

go back to the putty window with the spamming text which is runing the daemon and press control + C
you should see it start to "exit" and shutdown the daemon.. when it's finished shutting down you should be able to press enter and ee the command prompt (it may show a load of boost error messages before it which can be ignored).

now, in the putty session type :

Code: [Select]
nohup ./huntercoind &
You can now click the X and close the putty session.

--

That should be it.

You should now be able to connect to this openvpn from anywhere and instantly play Huntercoin with the unity client on your android device (or/and windows/Linux/mac unity clients) - with rocksolid stability.

to get coins you can generate an address in the unity client and then send them from any wallet or exchange.

Notes:
In the unlikely event digital ocean restarts your server, you may need to run the huntercoin daemon again - hasn't happened to me..

to do so, login to the server with putty and type:

Code: [Select]
cd ~/huntercoind/src
nohup ./huntercoind &

If you want to backup your wallet (which you should) without stopping the server you can login with putty and type:

Code: [Select]
cd ~/huntercoind/src
./huntercoind backupwallet ~/backupwallet.dat

This will put a backup of your wallet in the root home,
you can copy it off here using WinSCP..

-
You can skip putty entirely and use the console/vnc screen within digitalocean website.
-

Questions:

Does it need some firewall config (block everything except openvpn port?)
is some stuff better not done as root?
opening up rpc to the internet isn't a good idea, but could you have dyndns setup on your mobile and allow the resolved dydns domain name IP through the firewall only? (if possible). Maybe that would be a simpler setup, or would it be less secure?

10
Development / Auto Log Out Hunters
« on: September 14, 2015, 03:09:45 PM »
Discussed recently and further in the past (mithrilman called it sleep i think).

I've been contacted by someone with regards to him always forgetting his characters are in the game or not having time to get to a bank so is therefore losing his hunters.

After some conversion and also going over what has been discussed in the past e.g. using it to avoid pvp etc, i'd like to start a discussion to try to get something in to fix this issue some what (maybe with the next gameplay update).

Some ideas :

1. if player does not move after X blocks (100?) it auto refunds. (maybe with a toggle on off but may add some unnecessary complication).
2. A camp out button - you press and can camp out - costs a fee.

Any coins looted should be dropped on the floor, and maybe the fee should / could partly go into the game fund and partly drop on the floor.

There is still a risk of course of someone spawning near you.

11
Playable Downloads / Draft Instructions for Unity Client Installation
« on: August 02, 2015, 10:16:57 PM »
Draft Instructions to play with the unity client :

Windows

Fastest way :

Start Downloading the chain from chain.huntercoin.org

In, C:\users\<username>\appdata\roaming
make a folder called huntercoin
goto C:\users\<username>\appdata\roaming\huntercoin

make a huntercoin.conf file and edit it with a text editor. (right click, create new text document).

create a username and password to allow communication between the unity client at the huntercoin daemon/qt
so it looks like this (replacing username and password with a secure username and password):

Quote
rpcuser=username
rpcpassword=password
server=1
rpcallowip=127.0.0.1
rpcallowip=192.168.*.*

save it

-

when the blockchain has downloaded, use 7zip (not the window extractor as it can't handle the big file properly) and unzip the contents into the hutnercoin folder you created

-

download the latest huntercoin client from >> http://forum.huntercoin.org/index.php/topic,37.0.html

-

unzip the contents to a folder anywhere.. maybe C:\huntercoin or on your desktop.

Decide whether you want to connect/use the QT or the daemon. I would prefer the daemon as it seems faster, but maybe to begin with you'd like to use the qt so you can
see what's happening a little more clearly, also maybe you prefer the wallet functions better. Using the QT may help with debugging and noticing any issues.

Run Huntercoin-qt.exe or huntercoind.exe

-

give it a minute, then run the unity client - build.exe

-

Go to OVERVIEW, Server Settings, and enter the details:

The username and password you entered in the hunercoin.conf
server = http:\\127.0.0.1   - assuming you are connect to a daemon/qt on the local machine.

the default rpc port is 8399

Press OK

-
At the bottom it should change from "connecting to XXXXX", to something like "syncing". The numbers it displays there, and time may be incorrect (working on that), but if it

does show some times, then it's at least syncing. If you are using the qt you can also check if it's syncing.

I prefer to use the daemon with the printtoconsole=1 so i can see what's happening real time, but not neccesary.

-

Once you are fully synced you are good to go.
If you want, while you are syncing, you can click chat and join the IRC Channel - this will join the freenode channel - #huntercoin
This channel is for support and discussion about the huntercoin project. Any "VERY" offense messages will not be tollerated and you will be kicked/banned.

-

in the future you can just run huntercoin-qt.exe and build.exe - and away you go.

12
Development / Traps
« on: August 02, 2015, 04:01:42 PM »
Decided to create a new thread:

As discussed in the past - A Hunter (I think a specified colour's ability is better) has the ability to place a trap on the ground and later trigger it for detonation (or prove someone walked on it)

This is based on the original invisibility idea for chronokings. A special encrypted transaction is used to place the trap (or go invisible) and is then triggered later by revealing the key (password).

-

Problems:

How to place a trap without anyone knowing you actually placed it - e.g. if someone sees you do the special transaction in the chain even if encrypted - they can still see it's a special transaction?
could we place fake transactions (without too much spam in the chain - maybe spell timer on fake transactions as well)

How to stop 10 hunters created loads of traps?

should it work like the idea for invisibility? - if the trap is not triggered within x blocks something happens - e.g. hunter dies or, 10 hucs appear (example cost of setting the trap). Probably if the hunter doesn't reveal where the trap is then the 10 hucs may have to go on some random location on the map (or gamefund).

Or - does the 10 hucs just go direct into the gamefund - OR maybe the 10 hucs appears within a random location within 50 blocks of the hunter, so any potential victims have a chance of free money?

would the trap trigger a destruct when activated, or would the trapper just prove it was stood on..

will it work at all?

13
Development / Differentiating Colours - Enabling FFA PvP
« on: July 25, 2015, 01:31:22 AM »
As i think most people are agreeing atm - there is no need for the "factions".

We can differentiate colours by :

1. Different Patterns of Destruct - X Shape, + Shape, Standard Shape.
2. Different Abilities
3. Some Move then Destruct, some Destruct then Move. - whether this is feasible or could cause unnecessary issues - i'm not certain at this point.

Examples -
 - Blue - Armour - Like MM proposal - http://forum.huntercoin.org/index.php/topic,1981.0.html + have normal Destruct - 3 Ammo - 1 Ammo regenerates after 30 Blocks, as does armour (capped at 1). Destruct is processed first.
 - Yellow - Invisibility - http://forum.huntercoin.org/index.php/topic,1982.msg5545.html#msg5545 - the only attack with a standard destruct radius upon "decloaking". Allows invisibility for 15 blocks, destructs on decloak, recast is 60 blocks.
 - Green - Standard Destruct - 10 Ammo Regenerating 1 every 30 blocks - Move First then Destruct.
 - Red - Standard Destruct, except in a + shape. The Area is 3x3, except expands into the 5x5 square (just the corners of a + sign). Only has 2 Ammo. Regenerates 1 every 30 blocks. Move first, then Destruct.

Ammo Recharge can spawn on the Map - if a yellow picks up a recharge - it resets Invisibility recast, if green picks up it refills ammo, if blue picks up it refills ammo and armour, if red picks up it refills ammo.

Of course the above are examples and could do with tweaking.

14
Read - simple in theory, not sure how simple in implementation.

Keeping very short :

Problem - no matter what we do with combat - automation, spam of chain, connection issues in long drawn out fights and other stuff - it's never going to work 100% when everyone knows what is happening.

Solution : Don't let anyone know what you are doing until it's too late.

When you create your hunter you select from X amount of squares on a Grid X by X in size.
For this example, lets assume you select from 4 squares from a 5x5 Grid, but you can only select from the out layer.
The centre square and inner squares are already yours as a destruct radius by default (user could choose any squares, but for this example we'll say they are fixed).
You may also only select 2 Squares per side.

example -

creating your character (probably got syntax wrong):

name_register player1 {"color":1,"destructpattern":Xf22fDSgfdsf224}

the destruct pattern is encrypted using either some none currency using key or manually entered phrase upon creation (which is stored in your wallet for later).
It can be changed at any time just like you can change your reward address (at the cost of a pending tx).

When you meet someone in combat - only you know your own destruct pattern, and they theirs.
When you finally destruct - your destruct/attack tx is actually the revealing of "phrase"/key/salt(?) so you can prove that's what your pattern was.
You'd then be wise to immediately reset/change that hunters pattern if you won (or miss)

To make this more fun and more tactical you could later add evade as per MM's concept. Then you can do true feints etc, ones which make them use their evade even though you wasn't going to land your destruct- as, without them not knowing what you are doing there is no such possibility of real feints - because everyone can see what you are doing.

Of course - the prase/key would need to be strong to prevent brute force, and also maybe need some other security so that 1 hash doesn't represent 2 destructs - something i'd leave to domobs advanced knowledge ;)

-
The same concept could be applied so that attacks are just rock, paper, scissors - which may be easier to implement.

Thoughts?

15
This will be put on the website and forum.

If no one wants to do it, i'll try to do it at the weekend.

p.s. if anyone wants to update the website content they are welcome - i can give you editor access.

Pages: [1] 2 3 ... 6