Giter Club home page Giter Club logo

hchess's Introduction

HChess

https://travis-ci.com/hexagonal-sun/hchess.svg?branch=master

HChess is an attempt to learn haskell by means of writing a chess engine, something I’ve previouisly done in C++.

This software is in it’s very early stages and only currently supports pretty printing of an initial board state.

Current features:

  • Data types for Ranks and Files.
  • 0x88 Board representaiton using Array indexed by Locus.
  • Translation functions for translating between 0x88 locaii and File, Ranks.
  • Direction types and applications to Locus to generate a new Locus.
  • Piece data types:
    • Piece Kind
    • Colour
    • Piece
  • Creation of starting board.
  • Pretty printing of game state.
  • GameState class that encapsulates all game state.
  • Move generation that’s valid up to perft 5 from starting position and various other positions.
  • Perft testsuite with Travis CI integration.
  • Game tree search with:
  • UCI implemtnation, allowing communication with various chess programs, such as Cute Chess.
  • Iterative deepening
  • Use Template Haskell to precompute movement rays during MoveGen.

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.