Giter VIP home page Giter VIP logo

bot-gaming-server's Introduction

Bot Gaming Server

Idea

Gaming bots/AI play each other at a set of different games. Each of the bots are ranked, with the aim to get your bot to the top of the leaderboard. Results of each tournament are distributed via email and can be viewed on the website <?>.

Current games

  • Goofspiel

Creating a bot

Testing your bot "offline"

Currently supported languages

Python 3

Creating a game

Games must be created in Python 3. There must be a function defined as follows:

def play(player_cb)

The input player_cb is a function that takes the players number and a list of game information, and returns the players move as a list Would a game Class be better? probably!

Security

Bots are run in their own container, with minimal priveleges. There is also a resource limit placed on the container, both in terms of memory and time. <?> The game host communicates with the bots through the UNIX socket. A shared folder is created with the command:

lxc config device add epic-grouse sharedtmp disk path=/home/ubuntu source=/home/edd/Workspace/shared

A socket file is created in this shared space, with permissions such that anyone can r/w to it Any persistent files that are needed by the bots (e.g. debug logs, trained models) should be stored . The maximum file size is

bot-gaming-server's People

Contributors

eddwhite avatar

Watchers

 avatar

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.