All Projects → jbradberry → boardgame-socketplayer

jbradberry / boardgame-socketplayer

Licence: MIT license
A generic board game socket client

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to boardgame-socketplayer

boardgame-socketserver
A generic board game socket server
Stars: ✭ 39 (+85.71%)
Mutual labels:  board-game, board-game-framework
shogi-pieces
Shogi (Japanese Chess) pieces and boards
Stars: ✭ 25 (+19.05%)
Mutual labels:  board-game
rolling stock
A web app for the board game Rolling Stock
Stars: ✭ 14 (-33.33%)
Mutual labels:  board-game
Connect4
A game known as Connect4, Score4, 4-in-a-line or 4-in-a-row. Modes: Human Vs Minimax AI, Human Vs Human, Minimax AI Vs Minimax AI. Written in Java.
Stars: ✭ 14 (-33.33%)
Mutual labels:  board-game
airboardgame
AirBoardGame is a virtual tabletop to play and create any boardgame online with your friends
Stars: ✭ 45 (+114.29%)
Mutual labels:  board-game
Alphazero gomoku
An implementation of the AlphaZero algorithm for Gomoku (also called Gobang or Five in a Row)
Stars: ✭ 2,570 (+12138.1%)
Mutual labels:  board-game
seven-wonders
A digital version of the 7 Wonders board game
Stars: ✭ 31 (+47.62%)
Mutual labels:  board-game
immutable-gametree
An immutable game tree data type.
Stars: ✭ 18 (-14.29%)
Mutual labels:  board-game
AccessBattle
Free non-commercial implementation of the game "Rai-Net Access Battlers"
Stars: ✭ 15 (-28.57%)
Mutual labels:  board-game
everdell
🐿️ Play Everdell Online!
Stars: ✭ 18 (-14.29%)
Mutual labels:  board-game
stampadia
A daily print-and-play roguelike adventure you can play offline.
Stars: ✭ 35 (+66.67%)
Mutual labels:  board-game
TablutCompetition
Software for the Tablut Students Competition
Stars: ✭ 17 (-19.05%)
Mutual labels:  board-game
besogo
Embeddable SGF editor/viewer for the game of Go (aka Weiqi, Baduk)
Stars: ✭ 82 (+290.48%)
Mutual labels:  board-game
AnimalChess
Animal Fight Chess Game(斗兽棋) written in rust.
Stars: ✭ 76 (+261.9%)
Mutual labels:  board-game
piecepackr
Board Game Graphics in R
Stars: ✭ 44 (+109.52%)
Mutual labels:  board-game
UCThello
UCThello - a board game demonstrator (Othello variant) with computer AI using Monte Carlo Tree Search (MCTS) with UCB (Upper Confidence Bounds) applied to trees (UCT in short)
Stars: ✭ 26 (+23.81%)
Mutual labels:  board-game
tincisnotcatan
An online version of Settlers of Catan with additional advanced economic features
Stars: ✭ 117 (+457.14%)
Mutual labels:  board-game
Sabaki
An elegant Go board and SGF editor for a more civilized age.
Stars: ✭ 1,768 (+8319.05%)
Mutual labels:  board-game
SpaceAlertMissionGenerator
Mission Generator For Space Alert Board Game On Android
Stars: ✭ 15 (-28.57%)
Mutual labels:  board-game
terminally bored terminal board games
board games for your terminal!
Stars: ✭ 53 (+152.38%)
Mutual labels:  board-game

boardgame-socketplayer

A client for pluggable board game implementations.

The client included here is designed to work with jbradberry/boardgame-socketserver and the Monte Carlo Tree Search implementation jbradberry/mcts.

Requirements

  • Python 2.7, 3.5+; PyPy; PyPy3
  • six

Getting Started

To set up your local environment you should create a virtualenv and install everything into it.

$ mkvirtualenv boardgames

Pip install this repo, either from a local copy,

$ pip install -e boardgame-socketplayer

or from github,

$ pip install git+https://github.com/jbradberry/boardgame-socketplayer

To connect to a server as a human player playing (for example) Ultimate Tic Tac Toe

$ board-play.py t3 human
$ board-play.py t3 human 192.168.1.1 8000   # with ip addr and port

To connect a client using one of the compatible Monte Carlo Tree Search AI players

$ board-play.py t3 jrb.mcts.uct    # number of wins metric
$ board-play.py t3 jrb.mcts.uctv   # point value of the board metric

Configuration variables can be passed in using -e <variable name>=<variable value>. The -e flag may be repeated to pass in multiple variables. For example,

$ board-play.py t3 jrb.mcts.uct -e time=120 -e C=3.5

would configure the UCT player to use 2 minutes of thinking time, with an exploration coefficient of 3.5.

Games

Compatible games that have been implemented include:

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].