Loading
Feedback

Shubhamaicrowd 0

Badges

0
0
0

Activity

Feb
Mar
Apr
May
Jun
Jul
Aug
Sep
Oct
Nov
Dec
Jan
Feb
Mon
Wed
Fri

Ratings Progression

Loading...

Challenge Categories

Loading...

Challenges Entered

Extrapolate Time Series Data

Latest submissions

See All
graded 114974

Recognise Text From Images

Latest submissions

See All
graded 114976

Color Black and White Images

Latest submissions

See All
graded 117917
graded 115153

Detect Objects From Images

Latest submissions

See All
graded 118013
graded 117983
graded 115003

Analyse Sentiment From Sound Clips

Latest submissions

See All
graded 114980

Predict the winner through prior chess moves

Latest submissions

See All
graded 122965
graded 122961
graded 122960
Gold 0
Silver 0
Bronze 0

Badges


  • May 16, 2020

  • May 16, 2020
Participant Rating
Participant Rating
Shubhamaicrowd has not joined any teams yet...

AI Blitz #6

Video with "en passant" capture

About 20 hours ago

Seems like in the dataset we only have instances of promoted pawn.

Update on Win Prediction puzzle | New evaluator

4 days ago

Yep, we figured out the mistake that was there in the dataset & have updated it!

In this challenge, you have to predict the side that is going to win based on a snapshot of the board a few steps before checkmate. So you should be good to go!

Update on Win Prediction puzzle | New evaluator

4 days ago

The turn column is in sample_submission.csv & you will soon be able to download test.csv too!

CHESS TRANSCRIPTION

About white passed pawn

7 days ago

Hi victorkras2008

We are still investigating the issue but here’s the bare minimum code to generate pawn promotion moves from chess-python library ( which we used to generated the dataset ) .

# Importing Libraries
import chess
import random


# Creating a chess board
board=chess.Board()

while True:

  # If no legal move, continue
  if list(board.legal_moves) == []:
    print("continue")
    continue


  # Make random move
  move = random.choice(list(board.legal_moves))
  
  # If there was any pawn promotion, print the move & board
  if len(move.uci()) > 4:
    print(move.uci())
    print(board)
    print('--'*20)


  # Make the move in board
  board.push_uci(move.uci())
  
  # If Game Ends, Reset chess board!
  if board.is_game_over() == True:
    board=chess.Board()
    continue   

And here’s the sample output -

f2f1b
. . . . . . . .
. . . . . R . .
N . k . . . . .
. . . . . . . .
. R p . . . . .
. . P . B . K P
. . . . . p . .
. . . . . . . .
----------------------------------------
d7d8q
. . . . . . . .
N . . P . . k .
. . . . . . . .
. . . . . . . B
P b . . . . P .
. p . . P P . .
. K . . . . . .
. . . b . . . .
----------------------------------------
f7f8q
. . . . . . . .
. . . . . P . .
. N . . P . . .
k . . . . . b .
. . . . . . . .
. . . . . . . .
. . . . . . . .
. K . b . . . .
----------------------------------------
e7e8b
. . . . . . . .
. . . . P . . .
. k . . . . . .
. . . . . . . .
. . . . . . . .
. . . . . b . .
. . . . . . . b
K . . . . . . .
----------------------------------------
a2a1b
. . . . . . . k
K . . . . . . .
. . . . . . . .
. . . . . . . .
. . . . . . P .
. . . . . N . .
p . . . . . . p
. . . B . . . R
----------------------------------------
h2h1n
. . . . . . . k
. K . . b . . .
. . . . . . . .
. . . . . . . .
. . . . . . P .
. . . . . . . .
. . B . . N . p
. R . . . . . .
----------------------------------------
a7b8q
. n . . r . . .
P . . . . . p .
. p . p . . k p
. p . p . . . .
. . n . . R b .
. . P . P . . B
. . . P . . . P
. . . . . . K .
----------------------------------------
d7d8r
. . . . . . . .
. . . P . . . .
. . . . . . . .
. . . . k . . p
. p . . . . p P
. . . . . . . .
K . . . . . . .
. . . . . . . .
----------------------------------------
b2a1q
. . . . k . . .
. . . . . . . .
. . . . . . . .
. . . . . . . p
. . . . . . p P
. . . . . . . .
K p . . . . . .
R . . . . . . .
----------------------------------------
g2g1r
. . . . . . . .
. . K . . . . .
. . . . . . . .
. . . . . k . p
. . . . . . . P
. . . . . . . .
. . . . . . p .
. . . . . . . .
----------------------------------------
g7g8n
. . . . . . . .
. . . . . . P .
. k . . . . . .
. . . K . . . .
. . . . . . . p
. . . . . . . .
. . . . . . . .
. . . . . . . .
----------------------------------------
b7b8q
. . . . . . . .
. P . . . . . k
. . K . . . n .
. . . p . p . .
P . . P . p . P
. . . . . N . .
r . . . . . . .
. . . . . . . .
----------------------------------------

The issue is python-chess doesn’t consider which side ( black/white ) had the pawn promotion.

Shubhamaicrowd has not provided any information yet.

Notebooks

Create Notebook