GithubHelp home page GithubHelp logo

advanced-chess's People

Contributors

dglittle avatar dimusic avatar

Watchers

 avatar

advanced-chess's Issues

wrap javascript chess AI

  • create a directory called chess_ai_test
  • copy in this javascript AI
  • create an index.html
  • create a function in there called suggestMoves(fen, time, n)
  • test this function in index.html with this FEN:
    • "rnbqkbnr/pppppppp/8/8/4P3/8/PPPP1PPP/RNBQKBNR b KQkq e3"
    • suggest 3 moves
  • use drawChessBoard to show the original board, as well as the suggested moves
  • submit pull request with screenshot of the test

to apply

include the following information in your cover letter

  • github username
  • what does "4P3" mean in the FEN above?
  • how long will this task take?

make unicode chess pieces look white

I'm offering $40.00 on oDesk for someone to do this task: https://www.odesk.com/jobs/~01ae53b099ab693202

  • copy index.html to index2.html
  • goal: the pieces are transparent, and we want them to look solid
  • strategy: modify drawChessBoard in the following way:
    • make it so that each unicode piece has another piece at exactly the same location, but "behind" it, from the opposite team (for example, white pieces should have a black piece behind them), and this piece should have its color set to "white".
  • include a screenshot of the result in the pull request

create chess board using unicode pieces

  • create index.html
  • include jQuery from google's cdn
  • add the following pseudocode to index.html:
function drawChessBoard(size) {
    var d = $('<div/>')
    var squareSize = size / 8

    draw an 8x8 grid of squares like a chess board,
        each square should be a div,
        the background colors should be set to "darkgrey" for the black squares,
        and "lightgrey" for the white squares,
        make sure that the lower-right square is white/"lightgrey"

    put unicode chess pieces on the board in the starting position,
        you can get the unicode values from here:
            http://en.wikipedia.org/wiki/Chess_symbols_in_Unicode
        with white at the bottom,
        and make the pieces as big as they can be given the squareSize,
        and center all the pieces within their squares

    return d
}

$(function () {
    $('body').append(drawChessBoard(200))
})

take screenshot of the board
submit pull request with screenshot

to apply

include the following information in your cover letter

  • github username
  • how would you create a span containing the white king with jquery?
  • how long will this task take?

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.