Coder Social home page Coder Social logo

board-game-simulation's Introduction

Multi-player board game simulation

This is the implementation of an MCTS-based multi-player board game for robotic team composition optimization.

Requirement

pandas and numpy

Usage

  1. Multi-tasking robotic team with the same robot type: The robot can handle all types of activities from A to H
python multi_tasking_team.py 
--total_game <Number of games to play> 
--player_num <Number of players of the same type> 
--N <Number of simulations per round> 
--C <Parameter for balancing utilization and exploration>
--scaffold_type <2x1|2x2|2x4|2x6|2x8|2x10>

For example, 1 game, 3 robots, and 2 story 2 span scaffold

python multi_tasking_team.py --total_game 1 --player_num 3 --N 50 --C 10 --scaffold_type 2x2
  1. Mixed robotic team with two different types of robots: Installation robots [C D F H] and transportation robots [A B E G]
python mixed_team.py 
--total_game <Number of games to play> 
--humanoid_num <Number of humanoid robots> 
--robot_num <Number of general transportation robots> 
--N <Number of simulations per round> 
--C <Parameter for balancing utilization and exploration>
--scaffold_type <2x1|2x2|2x4|2x6|2x8|2x10>

For example, 1 game, 2 installation robots, 1 transportation robot, and 2 story 2 span scaffold

python mixed_team.py --total_game 1 --humanoid_num 2 --robot_num 1 --N 50 --C 10 --scaffold_type 2x2

board-game-simulation's People

Contributors

crossstyle avatar

Watchers

 avatar

Forkers

yifanlulu

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.