Skip to content

Commit

Permalink
Remove limited depth minimax and add ab pruning to roadmap
Browse files Browse the repository at this point in the history
  • Loading branch information
Zachary Marion committed Dec 29, 2018
1 parent 41dd81e commit 2536a2e
Show file tree
Hide file tree
Showing 7 changed files with 5 additions and 34 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ Build the project with `python3 setup.py sdist bdist_wheel`.
## Roadmap

- [x] Add Monte Carlo Tree Search
- [ ] Add Alpha Beta Pruning
- [ ] Add Othello as a game
- [ ] Add Chess as a game
- [ ] Add a simple RL agent & trainer
Expand Down
7 changes: 3 additions & 4 deletions gameai/agents/__init__.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
from .agent import Agent
from .trainable_agent import TrainableAgent

from .human import HumanAgent
from .limited_depth_minimax import LimitedDepthMinimaxAgent
from .mcts import MCTSAgent
from .minimax import MinimaxAgent
from .human_agent import HumanAgent
from .mcts_agent import MCTSAgent
from .minimax_agent import MinimaxAgent
from .random_agent import RandomAgent
File renamed without changes.
File renamed without changes.
25 changes: 0 additions & 25 deletions gameai/agents/minimax.py

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
from .agent import Agent


class LimitedDepthMinimaxAgent(Agent):
class MinimaxAgent(Agent):
'''
Implementation of minimax which allows you to specify a cutoff horizon for the
search.
TODO: Don't really need a separate agent for this
'''

def __init__(self, **kwargs):
Expand Down
2 changes: 0 additions & 2 deletions sphinx/api/agents.rst
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,4 @@ Classes

.. autoclass:: agents.MinimaxAgent

.. autoclass:: agents.LimitedDepthMinimaxAgent

.. autoclass:: agents.MCTSAgent

0 comments on commit 2536a2e

Please sign in to comment.