Skip to content

Latest commit

 

History

History
41 lines (25 loc) · 981 Bytes

README.md

File metadata and controls

41 lines (25 loc) · 981 Bytes

e-Valuate

Inspired by an article about e-Valuate, a two-player, zero-sum, sequential, perfect information game an arithmetic expressions, this project is started.

Goals

The goals for this project are two fold.

  1. Use python.
  2. Study alpha-beta pruning

Environment

Make sure to add the current project to the PYTHONPATH. I usually do this by execute the following command.

export PYTHONPATH=.

Test

Run all the test by executing the command:

python evaluate/test/test_all.py

Executables

You can determine the optimal value for an expression and domain by using the evaluate executable.

for example

> bin/evaluate "A-B" 4

If instead you want to play the game for an expression and domain use play

> bin/evaluate "A-B" 4