Coder Social home page Coder Social logo

shologuti's People

Contributors

ehtnamuh avatar shakilbinkarim avatar

Watchers

 avatar  avatar  avatar

shologuti's Issues

issue#13 Create ObservationGenerator Class

Create observation generator class. Will have instance of board and will serve GutiAgent types with specific observations.
The class should be abstract or an interface as it is intended for extension.

#16 Make Player Manager Class

Make Manager class for storing players. Manager class can have exposed variables in the editor to allow designers to easily change what type of players they wish to spawn.
The game manager class can have a reference of the player manager class.
The player manager class will also be useful once a Settings class is created to control the major settings of the game during play.

#3 GameManager Class is too heavy.

GameManager class needs to be refactored and separated our into more classes.
Possible Solution: Separate out a Scoreboard class and a RuleBook class to handle the management of scoring and rule checking.

#7 Store MinMax Simulated move evaluations in a list

Store Min Max agents evaluations in a list. Will help in taking more random actions.
Edit the MinMax function in the MinMaxAI class
If a new state is encountered with the same as the max value, push that move in a MaxValue List
If then, a state is encountered that has a higher value then the previous known max value,
Empty the MaxValue List and then push the newly found move

#5 Simulating the environment hard coupled to MinMax Class, and heavy

Possible Solution:
Create simulator class,
The class access to the logical guti board (guti_map) and can map Address objects to their relevant representations
in a 1d array. The move and reverseMove functions can be rewritten to manipulate the 1d array. By directly manipulating the
array instead of creating the array everytime, the performance of simulating the game should improve significantly.

#6 Player Class is too cluttered

Player class has too many if else conditions and specialized code for player types
Possible solution:
Create a base Player Class interface
Inherit and create separate
RLAPlayer
MinMaxPlayer
HumanPlayer

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.