Skip to content

Python implementation of e-Valuate, a game on arithmetic expressions.

Notifications You must be signed in to change notification settings

dvberkel/e-Valuate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

80 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Python implementation of e-Valuate, a game on arithmetic expressions.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages