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

Game sim point choice #428

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

jgonzalez1
Copy link

Screen Shot 2022-08-14 at 8 26 34 PM

Screen Shot 2022-08-14 at 8 26 46 PM

Everything looks correct. Lookin g into the engine a bit to see what changes people should do.

Things to consider changing

  1. TS%
  2. Driving should be better than midrange since FT are the same.
  3. End of game tactics might shift slightly.

Copy link
Member

@dumbmatter dumbmatter left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For late game stuff, see where forceThreePointer is used, that logic should change a bit here.

@@ -309,6 +312,7 @@ class GameSim {
this.elamActive = false;
this.elamDone = false;
this.elamTarget = 0;
this.isOneTwos = isOneTwos;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add a new setting to defaultGameAttributes.ts and then you can just access it here with g.get("isOnesTwos"), similar to other settings used in this file like numPlayersOnCourt. Also in defaultGameAttributes.ts add the new setting to gameAttributesKeysSportSpecific (might require merging with master) so it's not included in other sports exports.

@dumbmatter
Copy link
Member

For TS% I think it's probably not worth changing, because someone might change this setting in the middle of a season and then who knows what anything means.

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.

None yet

2 participants