Skip to content

annalunde/peg-solitaire

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Peg solitaire solver using Reinforcement Learning

This is the first of three projects in the AI programming course at NTNU. The group built a general-purpose Actor-Critic Reinforcement Learner and has applied it to different instances of the game Peg Solitaire. The Actor-Critic Reinforcement Learner was built both as a lookup-table and as a neural network.

Figure 1 provides a high-level view of the system design.

File structure:

  • agent
    • actor.py
    • critic.py
    • critic_nn.py
    • critic_dict.py
    • split_gd.py
  • environment
    • board.py
    • diamond_board.py
    • enviroment.py
    • triangle_board.py

The configs folder consists of different configs that have been used for the different instances of the game. In main.py it reads in these configs and starts the whole training loop.

Progression of Learning Visualization of Game Play
Visualization of game play

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages