Skip to content

An easy to install AI development environment for the game of Go

License

Notifications You must be signed in to change notification settings

rit-ai/go_development_env

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Go Development Environment

An easy to install AI development environment for the game of Go.

Table of Contents

  1. Installation
  2. Using the Virtual Environment
  3. Development
  4. Purpose

Installation

Installation is relatively straightforward. Clone this repository and then run the installation script.

$ git clone [email protected]:RITficialIntelligence/go_development_env.git
$ cd go_development_env
$ ./scripts/install.sh

The install script should take about a minute to run and will both set up a python virtual environment as well as install OpenAI's Go development environment.

Using the Virtual Environment

Each time you start a new session, you must activate the python virtual environment.

$ source rit_go_venv/bin/activate

Once done with development, deactivating the environment can be done like so.

$ deactivate

Using this virtual environment will allow for the installation of python packages even if you are not developing on a machine in which you have root user priveleges.

Development

Once the installation script has been run and the virtual environment has been activated, you should be able to run the following python script without error.

import gym
env = gym.make('Go9x9-v0')
env.reset()
env.render()

For information on developing your Go AI read this documentation on the framerwork provided by OpenAI..

Purpose

This repository exists to provide competitors in RITficialIntelligence's Annual Go Tournament a means to easily set up a development environment for their agents. It is likely that not all competitors will have their own working *nix distro so all scripts are executable on any machine regardless of user privilege level. Given that the vast majority of RIT students in computing have access to university provided machines that run some variation of *nix, this should resolve any compatibility issues.

About

An easy to install AI development environment for the game of Go

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages