Giter Site home page Giter Site logo

cardgame's Introduction

Card Game - Portfolio #3

Contributors:

Brett Wilhelm

Game Title: Round-a-Bout

Values on card:

topLeft = Name topRight = Type (Hero or Boost) bottomLeft = HP (Depletes every other turn along with Value, removes card from game at 0) bottomMid = Player # of owner bottomRight = Value (Used for Hero battles and Life damage)

Keyboard Keys:

play() = Click on either the deck or unused zones endTurn() = Press the enter/return key quit() = Press the escape key,

Ruleset:

At the beginning of every turn, click on the deck to reveal a card. You cannot continue your turn until you do this (although you can still quit the game or end your turn)

After revealing a card, it is displayed on top of your deck. You may then choose to either a) play that card onto its corresponding segment of the playfield or b) play a card that you didn't use last turn (the top card in your unused pile)

You cannot play a card from either area if your card's value (Bottom-right of card) is less than the corresponding value of an opponent's card that takes up the same space. If you have a boost card in your player boost zone, this value is added to the value of your Hero (Beware, your opponent's boost card will be subtracted from this when calculating the winner of a Hero battle)

At the end of your opponent's next turn, every card you control on the play field lose a single point of HP (Bottom-left of card). If this value hits zero, the card is removed from play

If you control the current Hero on the field, at the end of your opponent's next turn they will lose HP calculated by subtracting their current HP by the Hero's value stat (Bottom-right of card)

Play until one of you reaches 0 HP, this decides the winner

If both players run out of cards before a winner is decided, the game ends

cardgame's People

Contributors

b-wilhelm avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.