Coder Social home page Coder Social logo

jonthysell / uhpsamplecode Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 0.0 120 KB

Code samples implementing the Universal Hive Protocol.

License: The Unlicense

CMake 0.30% C++ 49.58% C# 50.12%
game board-game chess hive artificial-intelligence uhp hive-game

uhpsamplecode's Introduction

UHP Sample Code

This repo contains code samples which implement the Universal Hive Protocol or UHP.

The UHP is a set of specifications for building software that play the board game Hive. The UHP is designed to facilitate software interoperability among a community of developers who create Hive-playing AIs.

Sample Engines

SampleEngine C++ CI SampleEngine C# CI

In the UHP, an "engine" is responsible for implementing all the logic necessary to play a game of Hive, like keeping track of pieces on the board, calculating the set of valid moves, and letting players play those moves. An engine is also where developers implement their AI in order to calculate the next "best move".

This repo contains sample engines written in different programming languages. Each represents a minimal implementation of a UHP engine - just enough code to fulfill the UHP specifications and play the base game of Hive without expansion pieces. They have no AI per se, so when asked for a "best move" they simply return a valid move they've calculated.

These sample engines are provided as starting points for would-be Hive developers. They are not optimized, or necessarily the best or only way to build a UHP engine. Use them to bootstrap your own UHP engine, whether by building directly on the existing code or just as inspiration your own implementation. Note, each has its own readme with specific build and setup instructions.

Copyrights

All code in this repo is free and unencumbered software released into the public domain.

Hive Copyright (c) 2016 Gen42 Games. This repo is in no way associated with or endorsed by Gen42 Games.

uhpsamplecode's People

Contributors

jonthysell avatar

Stargazers

 avatar

Watchers

 avatar  avatar

uhpsamplecode's Issues

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.