Skip to content

fidlej/alewrap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A Lua wrapper for the Arcade Learning Environment.

Installation

# Build Arcade Learning Environment 0.4.4 in the sibling directory.
cd ..
wget http://www.arcadelearningenvironment.org/wp-content/uploads/2014/04/ale_0.4.4.zip
unzip ale_0.4.4.zip
cd ale_0.4.4/ale_0_4
make -f makefile.`luajit -e 'if jit.os == "OSX" then print("mac") else print("unix") end'`

# Go back and build alewrap
cd ../../alewrap
mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=Release -DALE_INCLUDE_DIR=../../ale_0.4.4/ale_0_4/src -DALE_LIBRARY=../../ale_0.4.4/ale_0_4/libale.so ..
make
cd ..
ln -s build/alewrap/libalewrap.so

Running

./run_example.sh -rom path/to/pong.bin

The example will display the observed frames. See the example.lua for the API usage.

About

A Lua wrapper for the Arcade Learning Environment

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published