Chip Chess (Demo)

Chip Chess (Demo)

by caterbob

👁 810 ❤️ 24 ⭐ 18 🔄 0
Created: Aug 12, 2020 Last modified: Jan 15, 2024 Shared: Aug 23, 2021

Description

An enormous credit goes to @Arnohu and their chess project, GoK, at https://scratch.mit.edu/projects/148769358/ . Their code for the user-interface was largely borrowed and their ideas for board representation, move enumeration, and search are the basis for the ones used in this project. GoK also served as a big inspiration. Another big credit is the chess programming wiki at https://www.chessprogramming.org/Main_Page which discusses all topics regarding chess programming in detail. It's ideas helped a lot with this demo's move generator. Other credits include: Think Timer Code: @MegaApuTurkUltra & https://scratch.mit.edu/projects/41440388/ Board design: https://commons.wikimedia.org/wiki/File:Chess-niemann.PNG Piece set/style: Merida Tags: #games #chess #ai

Instructions

(Scroll down for Q&A) Welcome to the Chip Chess Demo! Play white in a game of chess against your online opponent, Chip. All chess rules are present with the exceptions of en passant, draw by move repetition, 50-move rule, and insufficient material. Playing as black is not yet available in this demo, but it's very possible I will add it. HOW TO PLAY: ———————————————————— To move a piece, first click on the piece you’d like to move, then the square you’d like to go to. For castling, click the king then two squares toward the direction you’d like to castle. If your move isn’t being applied, try clicking on the piece you’d like to move TWICE and then the target square. If this doesn’t work, the move you’re trying to make is likely illegal (either doesn’t abide to how the pieces move or leaves your king open to capture, learn more here under “Gameplay”: https://en.m.wikipedia.org/wiki/Rules_of_chess ) If you think otherwise, scroll down and read the instructions for reporting a bug. REPORTING A BUG: ———————————————————— If you’d like to report a bug follow the guide below when it is your turn: 1. Click “See inside” (to the right of the project title) 2. Click on the orange “Variables” icon on the left toolbar and scroll down until you see the red bubble titled, “Apply Move History” 3. Click the checkbox to the left of the bubble, you should now see a list titled, “Apply Move History” appear to the right on the project screen 4. Move your cursor to the list and right click, you should see a pop-up saying "import" or "export", click export 5. Save the string to a text file on your computer, open the file, and copy the string using ctrl+c or by right-clicking and selecting "Copy" 7. Paste your string of numbers into a comment and post it in the comment section below the project screen If the string doesn’t fit into one comment, paste as much as you can into one comment and reply to it with the rest of the string. It would also be great for you to describe exactly what the problem is. Make sure to delete the text file afterwards, if you want to anyway. Thank you so much for helping Chip become a better chess player! MORE INFORMATION: ———————————————————— Is Chip too slow for you? Try it at https://turbowarp.org/417263227/fullscreen for increased speed! This Chip Demo uses a simple ply-2 minimax search, considering material count and basic mobility into its evaluation of end positions. Running on Scratch 3 with good hardware, it is able to look at around ~100 positions per second, or nodes per second (nps). Running on TurboWarp speeds it up significantly to ~1350 nps. The first prototype for this project was started in July, 2020.

Project Details

Visibility
Visible
Comments
Enabled

More Cool Projects

Project thumbnail
View Project

Incredibox - Sprunki OC (REAL Phase 3) V3 PART 1/3 remix

by Jevin_Alive

Project thumbnail
View Project

Scratch: Story Mode - Season 2 | Episode 4

by -Cinematic-

Project thumbnail
View Project

雪合戦ゲーム  爆発地帯 戦争!!!!!

by Lisa_Panda

Project thumbnail
View Project

Numberblocks Band [FIXED]

by CP210801

Project thumbnail
View Project

Numbers (1 to 1 Decillion)

by DAK0729

Project thumbnail
View Project

beat up bonzi buddy remix remix remix

by bonzi346

Project thumbnail
View Project

高速道路 / Freeway

by pandakun

Project thumbnail
View Project

Beat up scratch cat EXTREME but added more buttons

by chris304940

Project thumbnail
View Project

Little Gadgets Plus! [v4.1]

by Johannthekuya

Project thumbnail
View Project

ethan's quest side games [ENG]

by gatIink

Project thumbnail
View Project

【モバイル・キーボード操作対応】東方風弾幕劇場~アリス編~

by gigirugarudo

Project thumbnail
View Project

BarryFans Band (Band Version) But Multiples in 10

by juanfrilla

Project thumbnail
View Project

BubbleMenu Characters

by tatatino150

Project thumbnail
View Project

I wanna kill the taigaW Ver 0.1

by taigaW

Project thumbnail
View Project

Omega Flowey Fight V1.2

by tripoid

Project thumbnail
View Project

SUPER RETORO MAN ➋ [プラットフォーマー]

by 1819000003

Project thumbnail
View Project

Device Detector By FOXSWORD

by FOXSWORD

Project thumbnail
View Project

NumberBlocks fourty fifths 8 (BONUS!) (here)

by dros12

Project thumbnail
View Project

Add Yourself Singing wega remix

by nekofigure123

Project thumbnail
View Project

5Kイントロコンテストの結果発表!!

by Pikurin

Project thumbnail
View Project

SONIC WORLD: re-imagined

by Blue_Jay3

Project thumbnail
View Project

Magic carpet journey

by tillie2

Project thumbnail
View Project

Night city -A Scrolling Platformer

by MINITOMATO10

Project thumbnail
View Project

Talking Tom Cat 2 (PC)

by Dorito_King4589