About 50 results
Open links in new tab
  1. Chess game in JavaScript - Code Review Stack Exchange

    Oct 16, 2019 · I have created a chess game in JavaScript. Right now you can only play against another human. "use strict"; function Piece(x, y, type, color) { let char; let moved = false; switch (typ...

  2. Generating a chess board with JavaScript - Code Review Stack Exchange

    Sep 6, 2019 · 8 In another attempt to further my knowledge in the JavaScript language, I've written a chess board generator that will essentially create a chess board with any initial state supplied. This …

  3. javascript - Chess AI Using Minimax and Alpha-Beta Pruning - Code ...

    May 4, 2019 · I am working on a Chess AI using chess.js, and currently, it can run 3 layers in under 10 seconds, but 4 or more takes minutes. How can I optimize my current code to be able to run 4 or 5 …

  4. A chessboard model in JavaScript - Code Review Stack Exchange

    Jun 1, 2015 · 2 Unfortunately I believe your JavaScript model is quite useless. All you have is a bunch of variable names which store a pair of coordinates. The piece class doesn't even contain the color or …

  5. javascript - Chess board in JS - Code Review Stack Exchange

    Mar 18, 2016 · I've completed the small challenge in the eloquent JS book to create a chess board pattern: Write a program that creates a string that represents an 8×8 grid, using newline characters …

  6. javascript - PHP Chess Version 2 - Code Review Stack Exchange

    For programming practice, I created a chess program in PHP (my most comfortable language). The program reads a FEN (a string with the location of all the pieces on the board) from the URL, generat...

  7. Object-Oriented JavaScript Chess game - Code Review Stack Exchange

    Dec 21, 2019 · I am currently creating a chess game in JavaScript, some aspects are yet to be done such as the computer player and turns, but before I get into writing these features I would like to …

  8. java - Chess move validator - Code Review Stack Exchange

    Feb 16, 2019 · I have written code for making a Chess Validator, which will validate the moves of a chess game. There is a Main class which is taking the input from the user, about the move. Problem …

  9. Code Review Stack Exchange

    I'm writing a python chess UI+backend and I would like feedback on where there are issues before I continue to expand it python object-oriented chess Chris 10.5k

  10. javascript - Counting possible moves for a queen - Code Review Stack ...

    Jan 30, 2018 · The challenge is this: You have a function that is passed a board length (8x8 chess board), with the coordinates of the queen's location, along with an array of obstructions (opponents). …