Chip Chess (Demo)
by caterbob
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
The Ultimate Endless Stampede!
by JBurgers87
endless numbers
by felip3_ge
Big Mouth Billy Bass
by grayway13
ABCDE
by llya2023
Paper Minecraft v11.7 (Minecraft 2D) remix
by theothe1st
Baldi Basic math
by SharkTacos37
[Djinn & Strikers] Brawl Stars
by WaWatch-Creator
Battle For Dream Island Your Way (Bfdi,Bfdia,Bfb,Tpot)
by BfdiaRubybfbtpot
The daily show with Jon Stewart Inaguiration day
by godwin
BEAT UP SCRATCH CAT
by sonic_da_hedgeh0g
Paper Minecraft with new updates
by cowmanjl
Friday Night Screechn': VS Four (BFB) (DEMO)
by ZacharyAirseed
so many beat ups
by CLAX1212
Timeblocks Band 16
by SharkyBlues3rd
SuperSponge PSX Engine Test
by frank161
meow variations (WIP)
by nothrethian
撃ち抜け!カービィの的当て大作戦! Shoot it out! Kirby's Target Hitting Mission!
by kuroneko88
Numberblocks Times Tables (MSpeed2000)
by MSpeed2000
French Alphabet Lore (Read instructions and notes)
by KhatounationsCreator
Emerald pingu error (pro edition)
by DanielSapinho9IsBack
小田急ロマンスカーミュージックホーン集
by hayaya-
Geometry Dash v0.8.4 (UPDATING)
by Themasterd2010
SUPER SMASH SCRATCH CRASH ANIMATORS TEASER 1
by jokergamer3245
Windows 3.0 Crazy Error maker remix
by winkryt