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

Oligopoly update #79

Closed
wants to merge 801 commits into from
Closed

Oligopoly update #79

wants to merge 801 commits into from

Conversation

Fuinny
Copy link
Contributor

@Fuinny Fuinny commented Jun 3, 2023

Hello! I made some updates to Oligopoly:

  • I changed the design of letters and tables a little.
  • I added a turn counter.
  • I added the UpdateSharePrices method, which changes the prices of all companies in the range from -3 to 3 percent. I thought it would make the gaming market a little more dynamic.
  • I added two new companies and events to them (adding new companies and events would probably be a good first issue btw :D)
  • I added global events, they are generated every 50th turn and affect the prices of all companies.
  • I added the ability to choose difficulty and game mode.

ZacharyPatten and others added 30 commits July 2, 2022 21:53
Added 3 monsters: Chopper, Magneto & Musikradio, however musikradio may be used as a sign.
Added Sprites: Train Instructor, Cap Sprite
Added Hats: For Customisation hats can belong to the player
Fixed: Positioning of the Sprites
Fixed Sprite Left Idle
@ZacharyPatten
Copy link
Collaborator

Thanks for another pull request.

Feel free to try it if you want to, but I can update the web version of the code for you to match your latest console version.

I'll review this pull request as soon as I can.

@Fuinny
Copy link
Contributor Author

Fuinny commented Jun 4, 2023

Okay, at least I tried :D

@Fuinny Fuinny force-pushed the main branch 2 times, most recently from e8edd7a to 1eea61c Compare June 4, 2023 18:06
@Fuinny
Copy link
Contributor Author

Fuinny commented Jun 4, 2023

I think I fixed it... feel dumb :D

@ZacharyPatten
Copy link
Collaborator

ZacharyPatten commented Jun 10, 2023

Okay I had some time to review the pull request and here are some comments I have:

I don't think there should be multiple screens for choosing game-mode/difficulty. Right now the code has both a "GAME MODE" screen and a "DIFFICULTY" screen. Instead just have a single options screen maybe with a check box for having "random starting stock values" as a toggle-able option.

I like the idea of adding different difficulties, but changing the LosingNetWorth and WinningNetWorth isn't actually changing the statistical difficulty of the game. All this does is change how long the game is to play in order to win or lose. Instead, if we want to add different difficulties into the game, we should apply a weight to the random selection of events to so there is a bias towards positive/negative events based on the current difficulty. I don't think we need to change the LosingNetWorth and WinningNetWorth between the difficulties personally, just the event bias. For example, could have...

  • easy difficulty has a 60% chance that the next market event will be positive
  • normal difficulty has a 50% chance that the next market event will be positive/negative
  • hard difficulty has a 60% change that the next market event will be negative

@ZacharyPatten
Copy link
Collaborator

@Fuinny

If you would like me to make the changes to difficulty that I am recommending let me know. But since that would be a change to the game's design I wanted to wait and hear your thoughts before I made that change.

@Fuinny
Copy link
Contributor Author

Fuinny commented Jun 10, 2023

@ZacharyPatten

Thanks for reviewing my code!

Yes, I think that changing the chances of events would be more interesting than changing the win/lose conditions. I did not even think about such an implementation of difficulties, thanks for the improved idea!

Also, as a suggestion, we can add another checkbox (along with the random mode) that will allow the player to manually adjust the amount of money at the start. It can be called something like custom mode or something (and we also need to prevent the player from selecting both modes at the same time). What do you think?

@ZacharyPatten
Copy link
Collaborator

@ZacharyPatten

Thanks for reviewing my code!

Yes, I think that changing the chances of events would be more interesting than changing the win/lose conditions. I did not even think about such an implementation of difficulties, thanks for the improved idea!

Also, as a suggestion, we can add another checkbox (along with the random mode) that will allow the player to manually adjust the amount of money at the start. It can be called something like custom mode or something (and we also need to prevent the player from selecting both modes at the same time). What do you think?

Yeah having a slider or whatever for initial funds is probably a good idea. :) Would you like me to jump in and implement these changes your would you like to work on them? I just don't want us to step on each other's toes by both working on those changes at the same time.

@Fuinny
Copy link
Contributor Author

Fuinny commented Jun 10, 2023

To be honest, I need help with the implementation of this :D I don't really know how implement these changes, much less how to implement them so that they fit well into the current code. Thanks in advance for your help and time!

@ZacharyPatten
Copy link
Collaborator

Okay. I'll work on these changes when I have time. :)

@ZacharyPatten ZacharyPatten marked this pull request as draft June 22, 2023 14:54
@Fuinny
Copy link
Contributor Author

Fuinny commented Jun 25, 2023

@dotnet-policy-service agree

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants