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

Beat Up Cussing Splaat

by juliescott12

Project thumbnail
View Project

SDGs〜海〜について学ぼう!!

by SUNSAN3

Project thumbnail
View Project

ゲーム化(Game adaptation) Add Yourself Singing Roasted &(笑)アニメ

by sakujiro

Project thumbnail
View Project

Beat Up Ghosty!!! [UPDATE]

by Buzz18_

Project thumbnail
View Project

Founed a 4th outfit of little mac in knock-out!! beta 1.3.1 files

by mat2041

Project thumbnail
View Project

Geometry Dash - Ship Adventures remix

by magicoceoloet8699

Project thumbnail
View Project

☁️ Degrade / Cloud PVP ☁️

by NL3_Animations

Project thumbnail
View Project

Roblox 2010

by aydanberry272

Project thumbnail
View Project

Discover Card 2003 Countdown Remake (Complete)

by Robmug940

Project thumbnail
View Project

Wario Ware Megamix DEMO fixed

by da8ft8td8f82f8g2f

Project thumbnail
View Project

Sprunki losaine part 3

by Thegood1700

Project thumbnail
View Project

FNF Indie Cross Vr.1

by ValidVirgoKJ

Project thumbnail
View Project

Pen Fidget Spinner

by pixel_press04

Project thumbnail
View Project

Discover Card New Year's Countdown

by ArthurZC

Project thumbnail
View Project

Sega Logo Bloopers remix

by pinkkyjae

Project thumbnail
View Project

Hand-Powered Recovery Center! remix

by thenumberblockslove

Project thumbnail
View Project

Baldi basics (Demo)

by OliverCarvalho2024

Project thumbnail
View Project

「ブレイジングスター」

by cosmo-zero

Project thumbnail
View Project

Give me an OC and i'll make it as a beat up X button! remix remix-5

by ChermayeffTesting

Project thumbnail
View Project

arabic justov

by OkkieDokkieDay

Project thumbnail
View Project

Message To Everyone!!!!!!

by TheStarcoinComedian

Project thumbnail
View Project

Planet Rotation FIX remix-Alby

by Alby_7JUNI

Project thumbnail
View Project

Numberblocks Band Quarters 2 (It's Here...)

by TheReturnOfJog

Project thumbnail
View Project

Scratch Reflections WIP (60fps Edition)

by DaVeMaStEr_mp4