Hanabi

command module
v0.0.0-...-0a6770c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 26, 2018 License: AGPL-3.0 Imports: 9 Imported by: 0

README

Hanabi - cooperative game with partitial information

Requirements

  • MySQL
  • NodeJS
  • Golang 1.6+

Installation

Repository
  • go get github.com/BabichMikhail/Hanabi
  • copy app/app.conf.example to app/app.conf
  • npm install
Database
  • create database using MySQL
  • set orm credentials in app/app.conf

Run

If you have bee tools
bee run
Else
go build main.go

Windows:

main

Linux:

./main

Best Results

AI with recommendation strategy:

+------------+-------+-------+-------+-------+
| Players    |   2   |   3   |   4   |   5   |
+------------+-------+-------+-------+-------+
| Average    | 18.11 | 19.59 | 19.03 | 19.00 |
+------------+-------+-------+-------+-------+
| Perfect, % |  1.07 |  0.07 |  0.05 |     0 |
+------------+-------+-------+-------+-------+

AI with information strategy:

+------------+-------+-------+-------+-------+
| Players    |   2   |   3   |   4   |   5   |
+------------+-------+-------+-------+-------+
| Average    | 19.73 | 24.50 | 24.83 | 24.83 |
+------------+-------+-------+-------+-------+
| Perfect, % |  2.19 | 70.68 | 87.30 | 87.10 |
+------------+-------+-------+-------+-------+

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL