Skip to content

Khush-dev/multiplayer-multi-armed-bandits

Repository files navigation

multiplayer-multi-armed-bandits

This repo contains code for multi-armed bandit algorithm testing and local multiplayer competition.

To run the application:

  1. Clone the repository.
git clone https://github.com/Khush-dev/multiplayer-multi-armed-bandits.git
cd multiplayer-multi-armed-bandits
pip install -r requirements.txt
  1. Populate params.yml (IMP: Atleast specify SERVER_IP (your own IP, in case you are hosting the server))
  2. To start the server: python game_server.py Click "Start" button on the Server window
  3. Modify algorithm(tossed,heads) in algorithms.py
  4. To start an non-interactive client: python non_interactive_client.py <USERNAME>
  5. To start a interactive client: python interactive_client.py <USERNAME> You can also compare different algorithms locally

About

This repo contains code for multi-armed bandit algorithm testing and local multiplayer competition.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages