b2developer / monopolyneat Goto Github PK
View Code? Open in Web Editor NEWNEAT implemented into Monopoly with a knockout tournament scheme
NEAT implemented into Monopoly with a knockout tournament scheme
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. ---------------------------
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>
what version of vs would i need to run this in?
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.
Since .NET 5.0 is deprecated, how can I run this program with .NET 8.0?
It looks like the dice rolls are numbers in the range from 0 up to and including 6. Shouldn't the smallest dice roll be 1?
MonopolyNEAT/Monopoly/Monopoly/Board.cs
Line 238 in dd718ee
This rule is missing in the program.
once running the simulation in visual studio. How to i pull the data of the version of players?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.