UCL-COMPM050 Easy 21 Assignment
Solutions to David Silver's Easy21 assignment.
Requires Python3, numpy, matplotlib, and tqdm (for progress bars).
easy21.py contains the game logic for the Easy21 Game.
rl.py defines logic for the tabular value function and the linear value function approximator.
montecarlo.py and sarsa.py contain logic for Montecarlo and Sarsa control, respectively.
Simulations can be run through the command:
python simulate.py
This script generates the figures required in the assignment.