Git Product home page Git Product logo

hex's Introduction

hex

=======

This is a game to be played by computer players in an upcoming competition in Montreal: the Machine Intelligence Cup

Un jeux pour la compétition à venir à Montréal: le Coupe Intelligence Artificielle

It will look something like this:

alt tag

Game Engine

The engine is working. A fully working demo can be played with:

python hexgame/connector.py --test

A mock connection between two players will be set, and both players will run the code from hexgame/players/example_player.py, in which each player will move pieces randomly one space at a time, unless the enemy's home is in vision, in which case any piece that can will attack it.

TODO: Frontend

The front end is still rather incomplete. Running:

python hexgame/websocket_test.py

will open a server that will interact with user_interface/hex_grid_demo.html, which is still very much incomplete. user_interface/js/HexagonTools.js and user_interface/js/Grid.js contain a bleeding-edge library for dealing with drawing hexagonal maps to a canvas.

TODO: Web Backend

Eventually, this will interact with codebin, so that players of the game can upload code, get paired with another player, and watch the game being played out. Codebin creates docker containers limited to a single cpu core and limited memory for each player, to create a safe (for the server) and balanced (for the players) environment to run the players' AIs.

hex's People

Contributors

surenm avatar

Stargazers

Nick Sweeting avatar Max avatar

Watchers

 avatar James Cloos avatar Max avatar  avatar

Forkers

drsk surenm

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.