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

Sonic Plush Show!:DVD Menu

by Beeze0426

Project thumbnail
View Project

numberblocks basics 10 plus

by capatidesmond

Project thumbnail
View Project

Halo ODST: Left Behind Mission 2

by daves777

Project thumbnail
View Project

Friday Night Funkin' Sick Score Test

by TacoOfBlooms

Project thumbnail
View Project

Massive Multiplayer Platformer v1.3

by griffpatch

Project thumbnail
View Project

Ink Sans Phase 3 Fight.

by bruhba

Project thumbnail
View Project

Project Arrhythmia Nautilus v0.6.2

by Jeremy-H

Project thumbnail
View Project

まちづくりgame3

by buturisuki-soo

Project thumbnail
View Project

Ball Physics Playground

by FelixCodeur

Project thumbnail
View Project

Refixed Thumbnail For Barney Error (Spiffy Pictures Error 2) Part 79 For Preston290-3RD

by Andricxa

Project thumbnail
View Project

cartoon characters

by Lestat1025

Project thumbnail
View Project

Infinite Craft Tutorial! #trending #all #games

by Legion999

Project thumbnail
View Project

Spiffy Pictures Exe. Buttons V18 Cat) BONUS x7.5 (Extra Button)

by mimitrini1return

Project thumbnail
View Project

Friday Night Funkin' || Week 7 "Ugh" level

by Bddj10

Project thumbnail
View Project

Za-warudo

by Barnabyscratch101

Project thumbnail
View Project

DinoWorld V1

by -yeldarbnivot-

Project thumbnail
View Project

Beat Up John [3]

by newmyles

Project thumbnail
View Project

GBC.sb2 - Scratch 3 Optimized

by Ultimate-XP

Project thumbnail
View Project

Classic Chaos (non-generic platformer)

by amazingQ

Project thumbnail
View Project

【マイクラ】ゾンビ100体VSアイアンゴーレム10体【大検証】 【マイクラ実況】

by naokimann

Project thumbnail
View Project

[UNFINISHED, COMPUTER] ALL IN ONE (Part 1)

by yellowcreeper_mc

Project thumbnail
View Project

Beat Up Martcallj! V0.5 / 8 Buttons

by KijobalKijobol5673

Project thumbnail
View Project

死の踊りキャットの冒険

by daijikesi

Project thumbnail
View Project

NO_ESCAPE

by ramune0