Skip to content

Instantly share code, notes, and snippets.

View panzzzzz-er's full-sized avatar

Mohit Pansare panzzzzz-er

View GitHub Profile
@Vivek-abstract
Vivek-abstract / queen_hill_climbing.py
Created December 1, 2018 12:08
Solving the 8-Queen Problem using Hill Climbing Search
import copy
import numpy as np
import chess
import sys
from chess import svg
def exists(i, j):
# Checks if square exists within boundary