Skip to content

A neural network for learning to play the Las Vegas dice game 🎲

Notifications You must be signed in to change notification settings

dtompkins/lasvegas

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Las Vegas AI

This repo implements an AI for the dice game Las Vegas based on deep-Q learning with experience replay. Currently this has only been tested with Python 3.6 using the Theano backend of Keras.

Installation

export PYTHONPATH=.
pip install -r requirements.txt

Getting started

The repository contains two scripts bin/lasvegas-train and bin/lasvegas-eval. Both can be run with --help to list the available options. By default running lasvegas-train will train a neural network in a game against random players and save the model to model.h5. Models can be evaluated by running lasvegas-eval -m model.h5 to produce the average score in games against random players.

About

A neural network for learning to play the Las Vegas dice game 🎲

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%