Skip to content

Implement attack effects #49

@adamgulde

Description

@adamgulde

When an player successfully attacks a player, the defending player is penalized with a certain attack effect. These are the following attack effects:

DOS-type effects*:

  • change cursor color to black (time based)
  • disable terminal (time based)
  • kill terminal (permanent)

Gameboard-type effects:

  • Move token to specific location
  • Force player to draw the next chance card (note that some chance cards are bad)
  • Slow burn: drains money at a constant rate for an amount of time

Fraud-type effects:

  • Directly transfer part of their held cash into your account
  • Force a player to sell a property to you for free. They immediately sell all houses on that property as per normal Monopoly rules (1/2 price), then transfer the ownership to you.
  • "Renovate" a player's houses onto your property. They do not lose the property, just a set number of houses / hotels from that location.

*virtually all DOS effects can be restored via an upgrade in the Shop module

(As of 10/22 there still is no standard communication between client/server so it doesn't really make sense to code these fully. Having said that, if you want to create some sample code that will be easy to export, do so!)

If you have any suggestions, comment them below!

Metadata

Metadata

Assignees

No one assigned

    Labels

    MVPRequired for minimum viable product (ideal deadline: Dec. 11)enhancementNew feature or requesthardLarge-scale improvement which may take longer to fixmediumSimple enough issue but probably overlooked during initial development.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions