Skip to content

Project of creating the board game Myretuen and create an AI to play the game.

Notifications You must be signed in to change notification settings

FredslundMagnus/Myretuen

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Myretuen

Project of creating the board game Myretuen and create an AI to play the game. Welcome

Requirements

python -m pip install torch torchvision
python -m pip install pygame
python -m pip install gym
python -m pip install matplotlib

Using the enviroment

Initialize

from game import Myretuen, Controller

env = Myretuen()

Get the agents

from agents import *

agent1 = Opponent(RandomAgent())
agent2 = NNAgent()

Start the controller

controller = Controller(env=env, agent1=agent1, agent2=agent2)
controller.run()

The UI

Videoes of game

Versions

version-1.0

  • Data from all runs used in report
  • Added battle and watch scripts to try the AI
  • Added more plotting functionality

version-0.6

  • New Fruit-mode
  • Monto Carlo Search
  • Bugs fixes and improvements

version-0.5

  • Added Boltzmann Approach to the explorer
  • Changes Elo system to be absolute
  • Impala is now batch training

version-0.4

  • Feature and reward improvements
  • Added probaility calculations
  • Added an Elo system
  • Added impala

version-0.3

  • Added explorer mode
  • Added TD(lambda)
  • Added self play option

version-0.2

  • Speed improvements
  • Simple Lionear model added
  • Neural Network model added

version-0.1

  • One linear model
  • Most basic feateres implemented

Attributions

Ants Vectors by Vecteezy

Foods Vectors by Vecteezy

Fonts by Fontmeme

About

Project of creating the board game Myretuen and create an AI to play the game.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published