Skip to content

Simple implementation of Expectimax Algorithm in JavaScript, as applied to a half-court basketball decision whether to shoot a 2 or 3 pointer

Notifications You must be signed in to change notification settings

mattsly/expectiminimax.js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Simple implementation of a expectiminimax algorithm in javascript, used to make a best decision in a two player game that includes elements of chance.

This version is based on trying to decide the best course of action for a halfcourt basketball game - whether to shoot a 3 or a 2

(This is currently a naive implementation - not doing any pruning yet.)

About

Simple implementation of Expectimax Algorithm in JavaScript, as applied to a half-court basketball decision whether to shoot a 2 or 3 pointer

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published