DrugWars: Development Continues

in #drugwars5 years ago

drugwars.jpg

@timcliff wrote a very detailed write-up of the @drugwars battle system.
(Which has changed again since yesterday.)

Now that @drugwars has open-sourced the project,
it is possible to divine what is going on behind the scenes.

https://github.com/FutureShockco/drugwars.js/

A very nice tool to use is https://simulator.drugwars.io/

We can now see the outcomes of battles before they happen.


The order of operations for units can now be found at:
https://github.com/FutureShockco/drugwars.js/blob/master/src/units.json

  1. Rowdy
  2. Bouncer
  3. Knifer
  4. Gunman
  5. Sniper
  6. Hitman
  7. Ninja
  8. Big Mama
  9. Bazooka
  10. Mercenary

Every round, units get matched against each other using this order and swing for damage. If units are still alive, a new round starts, units are rematched using the same order of operations, and units swing for damage again. After 5 rounds if units are still alive the game is a draw.

For example, if I attacked someone with one of every unit and they had 25 snipers and 25 big mama, all my odd numbered units would strike the snipers and all my even numbered units would strike the big mama. The 25 snipers would all strike my single rowdy and the 25 big mama would all strike a single bouncer.

On the next round, my knifer and gunman would die, on the next round my sniper and hitman, assuming the bouncers and big mama units were still alive at this point. Let's check the simulator:

drugwars-battle-sim1.png

The 25 bouncers died on round 3. The bouncer swing on round 3 wasn't enough to kill my hitman so it survived even though my ninja and big mama died later.

The game went five rounds to the draw.

Kudos to @timcliff for such a detailed deep dive.
Open sourcing this project is a big win for everyone involved.

Other developments

The front end is getting better at letting me juggle multiple accounts.
I'm forced to relog less than I had to before.

Also, a player can no longer be attacked by more than one person.
This has lowered attacking activity by quite a bit.
I can no longer spy on what other attackers are doing and beat them to the punch.
However, this development makes it a lot easier to farm my own accounts.

I've set up a script that tells me if any my accounts are under attack.
More scripts to come

Steem On!

Sort:  

Now with the project open source, the game will probably start to pick up the pace and develop much faster, really good news for the whole drug wars gaming community but also for STEEM.

I dont like the battle system.

Probably very subjective..

Do you have a script for me which just dumps all drugs of all my accs to the heist?

I lost 4 big armies against minimal opponents..

For example, while this was one of my very little armies:

Posted using Partiko Android

You should always have at least one of every unit. He used the battle system against you. He knew all your units would overkill the singles he threw out.

Yea he used the 'battle system' against me.

You mean he used knowledge about the game I hadnt yet because the drugwars team didnt tell them..

I guess I was not the only one loosing all of his armies against a few crappy little units.

Posted using Partiko Android

Yeah, I could shred your army right now for very little cost.
You have way too many bazooka guys.
I could kill all 14 and only lose 3.
They are an offensive unit.

Yeah.

Want to go offensive but seems as everyone has to play the same Meta.

Posted using Partiko Android

Your alt's name is funny. XD is an emoji expressing extreme mirth.

Im seeing this game everywhere. Is it really worth checking out?

Posted using Partiko Android

probably not.
the only reason I'm playing is I got in early and am making a profit.
those days are gone for new players

i like and love gaming.....

really very informative post....
I read this post.

Coin Marketplace

STEEM 0.20
TRX 0.12
JST 0.028
BTC 64377.96
ETH 3500.45
USDT 1.00
SBD 2.52