Skip to content

Latest commit

 

History

16 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

In this repo, I experimented with Reinforcement learning on the game of Strands. I implemented a gym environment an trained a TD agent to play the game. Strands is a simple strategy game where players take turns covering empty spaces on a hexagonal grid. It has similarities with Go.

Rules

One player has white stones, the other player has black. The game is played on a hexagonal grid, with hexagons marked with the numbers from 1 to 6

  1. Start by covering any spaces marked "2" with Black.

  2. Then, starting with White, take turns covering up to X empty spaces marked "X". For example, you could cover any 3 empty spaces marked "3".

  3. If the board is full, the game ends. The player with the largest contiguous group of stones wins. If tied, compare the players' second-largest groups, and so on, until you come to a pair which aren't the same size. Whoever owns the larger wins.

The game can be played with smaller (size 7, ie 7 squares of diameter) or bigger boards (size 11, ie 11 squares of diameter)

Resources

Reference papers

About

I compared the performances of multiples Reinforcement learning on a board strategy game called STRANDS

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages