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

[pull] master from udacity:master #1

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

Conversation

pull[bot]
Copy link

@pull pull bot commented Jan 22, 2020

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.1)

Can you help keep this open source service alive? 💖 Please sponsor : )

cgearhart and others added 30 commits February 7, 2017 16:49
Refactor Board class to use more efficient representation.
Randomize the order of legal moves list to prevent accidental advantage against low-fidelity heuristics.
Added standard template for .gitignore
- eliminate unused import
- extend timeout for all tests to 60s
State the relationship between CustomPlayer parameters: search_depth …
Provide a template for students rather than full test suite. The project assistant uses tests that would reveal the solution, so they are kept private. The updated tests should include more useful debugging information than the old local tests provided.
…valuation

The old tournament structure did not correct for potential advantages due to random starting positions (the test and reference agents played independent games). The updated tournament uses identical starting conditions for every match that the test agents play, which better controls for starting position bias.

  - improve the tournament report format
  - report on all three custom heuristic agents
  - update the tournament agent list (and add center board heuristic)
…y’re included in the zip file for submission.
Removed dialogue for non-competition submission
jamesandersen and others added 23 commits April 23, 2017 10:24
Display the board before the human player has to select a move
The center score heuristic now uses the coordinates of the board center to calculate the relative distance of the player.
Print statements were hard-coded, making it hard to run the tournament with another number of cpu/test agents.
Now it computes the printed strings from the lists of agents.
Added import statements in the sample code in README.md to make it work as a standalone example.
Format printed strings programmatically based on number of agents
The previous warning implied that forfeits were coming from the ID search agent specifically. In fact, forfeits are also counted and reported for the `MinimaxPlayer` which does not use ID.
Fix misleading warning message for forfeits
Use default python unit test command: `python -m unittest`

References:

  - Test-Driven Python Development, by Siddharta Govindaraj
    https://www.amazon.com/dp/B00VQF59D6

  - The Hitchhiker's Guide to Python.
    http://python-guide.readthedocs.io/en/latest/writing/tests/
@pull pull bot added the ⤵️ pull label Jan 22, 2020
@pull pull bot added the merge-conflict Resolve conflicts manually label Feb 19, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
⤵️ pull merge-conflict Resolve conflicts manually
Projects
None yet
Development

Successfully merging this pull request may close these issues.

10 participants