Code Monkey home page Code Monkey logo

monopolyneat's Introduction

SETUP
---------------------------

In Program.cs, change the path of the .txt file to match where you put your monopoly_population.txt file

This algorithm runs several thousand games against every group in it's tournament to eliminate randomnness and allow good stratergies to be thoroughly tested. 
I made the program multi-threaded to make it play the games as fast as possible and this will most definitely push your computer to the max.
If you want to save your computer from being at 99% cpu loadgo to the Tournament.cs file and change the variables WORKERS and BATCH_SIZE down from 20 to something smaller such as 5 or 3

there are a couple of monopoly_population.txt files included:

- 162 -> the brains I presented in my video that got to generation 162, they are quite good at monopoly (as far as I can tell)
- champions -> an old set of brains from about generation 60 (bad players but not suicidal)
- a blank text file -> this will start a new population at generation 1

rename those to monopoly_population.txt if you would like to continue training them.

---------------------------

monopolyneat's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

monopolyneat's Issues

Issue running code

Following error occurs

Unhandled exception. System.FormatException: The input string '' was not in a correct format.
  at System.Number.ThrowFormatException[TChar](ReadOnlySpan`1 value)
  at System.Int32.Parse(String s)
  at Monopoly.Program.LoadState(String location, Tournament& tournament) in C:\Users\%USER%\Downloads\MonopolyNEAT-main\MonopolyNEAT-main\Monopoly\Program.cs:line 181
  at Monopoly.Program.Main(String[] args) in C:\Users\%USER%\Downloads\MonopolyNEAT-main\MonopolyNEAT-main\Monopoly\Program.cs:line 31
PS C:\Users\%USER%\Downloads\MonopolyNEAT-main\MonopolyNEAT-main\Monopoly> 

Pull data

once running the simulation in visual studio. How to i pull the data of the version of players?

Lack of scientific analysis

It would be great to add some numbers on its performance vs other approaches, as done here.
Furthermore, I looked at the weights and connections of the final network and they were too simplistic to let me believe it could beat even a decent fixed-policy algorithm like this, let alone a human player.

question

what version of vs would i need to run this in?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.