Skip to content

Multi-agent reinforcement learning environment

License

Notifications You must be signed in to change notification settings

cbinners/gym-battlesnake

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Original Repo: here

Changes vs original:

  • Updated input layer (now has 12 input feature layers, instead of original 6)
  • Proper food spawning rules (to make arena)
  • Game execution logic bugfixes
  • Uses pytorch
  • Removed SFML rendering dependency

Gym-Battlesnake

Gym-Battlesnake is a multi-agent reinforcement learning environment inspired by the annual Battlesnake event held in Victoria, BC each year, and conforming to the OpenAI Gym interface.

Features

  • Multi-threaded game implementation written in fast C++
  • Single agent training with multiple other agents as opponents

Installation

Prerequisites

Gym-Battlesnake has only been tested on Ubuntu 18.04. Install the dependencies using the command:

sudo apt-get update && sudo apt-get install cmake libopenmpi-dev python3-dev zlib1g-dev

Contributing

  1. Fork
  2. Clone and Setup
  3. Develop
  4. Pull Request

About

Multi-agent reinforcement learning environment

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 69.3%
  • Python 29.2%
  • CMake 1.5%