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

Dutch Alphabet Lore but I added a sprite for V and added a gem R needed.

by Zcratch24

Project thumbnail
View Project

dust san

by KOS_SansCO

Project thumbnail
View Project

¡Feliz Cumpleaños Super Scratch Cat!

by Joseph-9c

Project thumbnail
View Project

all Talking Tom And Ben News HD V5 remix 2 remix remix remix remix

by kuponoIs

Project thumbnail
View Project

Interactive Adrian's SAL Ultimate

by xandi40

Project thumbnail
View Project

Beat Up Evil Gorilla! (ADD-ONS ADDED!) remix

by mikeabreualt

Project thumbnail
View Project

Scratch TSTOH XXXIV: Bart The NFT Collab: Fairman's NFTs

by Scratch-Fairman

Project thumbnail
View Project

-<[{(Collabs)}]>- talking tom and ben news GEOMETRY DASH HD 2.2 UPDATE remix

by veziravcisi

Project thumbnail
View Project

Beat Up Fairy

by elevatorfan1978

Project thumbnail
View Project

Speedrunner Mario FNF

by McDonaldsQueen1

Project thumbnail
View Project

BLOODSPLATTER Extreme Demon Geometry Dash 2.2

by wellgames789

Project thumbnail
View Project

Mappy2 (PC88)

by JacobRunkey

Project thumbnail
View Project

NEW Fortnite: Pixel Platformer Online

by gumboygames

Project thumbnail
View Project

3D Planet Maker!

by DadOfMrLog

Project thumbnail
View Project

Firefly maker

by purplerabbitcandy

Project thumbnail
View Project

Ruby's Swimsuit

by Kalel213454

Project thumbnail
View Project

FREAK ZONE Мультфильмы XXI века(Спецвыпуск № 2)

by Surgutinformtv

Project thumbnail
View Project

D3!InkSans Leak smh my head

by Dragon_113

Project thumbnail
View Project

endless number 1

by orcalane10

Project thumbnail
View Project

Paper Minecraft !!!multiplayer!!! mobile

by funny19MK13

Project thumbnail
View Project

Smoochie Й New Test remix remix

by Dhyeguinho

Project thumbnail
View Project

Beat Up the purple stick node! TEAM FLARE VESION! remix

by haru147

Project thumbnail
View Project

Beat up the cat! 2

by HankMaddox

Project thumbnail
View Project

Scratch Party - Star Scramble v0.0.7.1

by SuperCoolCoder9500