Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Win condition #57

Closed
3 tasks done
MIDunn opened this issue Feb 3, 2017 · 4 comments
Closed
3 tasks done

Win condition #57

MIDunn opened this issue Feb 3, 2017 · 4 comments

Comments

@MIDunn
Copy link
Collaborator

MIDunn commented Feb 3, 2017

The player's score needs to be calculated based on resources owned as well as roboticons worth.
Score could be calculated each turn, or just once at the end of the game.

  • Game ends when there are no tiles left to purchase

  • Score is calculated, and the winner displayed

  • Player Score = Money + (Ore * MarketOrePrice) + (Food * MarketFoodPrice) + (Energy * MarketEnergyPrice) + Sum of all Roboticon.GetPrice()
    NOTE: This market price should be the same for both players.

@Tim020
Copy link
Owner

Tim020 commented Feb 8, 2017

How is this going?

@jcf518
Copy link
Collaborator

jcf518 commented Feb 9, 2017

Working on it but I've been concentrating on ARIN. I'll get it done after tomorrow's exam.

@jcf518
Copy link
Collaborator

jcf518 commented Feb 18, 2017

I've changed this so we calculate the player score with the resource amounts rather than multiplying them by their selling prices which proved difficult and isn't necessary to determine the winner. Was it a requirement to use selling prices to calculate the score?

@Tim020
Copy link
Owner

Tim020 commented Feb 18, 2017

I will have a look and finish this off this morning (easier for me to add the UI stuff as it's gonna be a pain in the ass to merge together later). :)

@Tim020 Tim020 self-assigned this Feb 18, 2017
@Tim020 Tim020 closed this as completed Feb 20, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants