Skip to content

A Deep Reinforcement Learning environment using generalized tic-tac-toe.

Notifications You must be signed in to change notification settings

projectaligned/mnk

Repository files navigation

mnk

A deep reinforcement learning test environment using generalized tic tac toe, the mnk game.

mnk

Here m=11, n=11, and k=5.

Outline

This project includes the following:

  • A Board object which can have a variable number of rows and columns.
  • A Win detection function which can detect wins for variable number of required tokens in a row.
  • A Game Tree which represents the sequence of moves made and pruned explorations from those moves.
  • Many Agents, ranging from a trivial bot which simply makes randomized moves up to more sophisticated bots using Minimax, Tabular Q Learning, and Deep Q Learning.
  • A Competition function to train bots with self-play and also to compare different bots against each other.
  • Tests with extensive coverage for all of the above.

Releases

No releases published

Packages

No packages published