Chess tweaked

Chess tweaked

by meonguy1

👁 1 ❤️ 0 ⭐ 0 🔄 0
Created: Mar 10, 2022 Last modified: Mar 10, 2022 Shared: Mar 10, 2022

Instructions

Welcome to "Scratch Chess - Game of Kings". FAQs: - "There is a bug!" Unlikely, 230k games, no known issues. Consult experienced player, read instructions. - "Why invalid move?" It probably keeps or puts you in check. Junior mode (click "Mode") shows valid moves. - "I still found a bug!" Please describe in detail, and click "Export", then copy & paste FEN (board) or PGN (moves) data into a comment. - "Too difficult!" Switch to Junior mode (click "Mode"). Note that there are also three levels on Junior mode. - "Too easy!" Play on TurboWarp (a Scratch runtime 20x faster than Scratch 3): https://turbowarp.org/148769358 If you win against Standard mode / Difficult, please copy/paste PGN data for analysis (click "Export"). You might have to split PGN data into multiple comments. Scratch is not well suited for CPU-intense calculations (interpreted, missing language features like bitwise operations, slow by design), that is why a Scratch chess engine will always have limited playing strength. TurboWarp is faster, but still has to emulate Scratch, hence has to impose similar restrictions. - "Too slow" The GoK engine is think time bound on Standard mode Medium and Difficult, and takes exactly as long as designed (10 seconds (Medium) resp. 20 seconds midgame / 15 seconds endgame (Difficult)). On Easy and all Junior levels, response time is 0 to 3 seconds on decent hardware. Scratch is inherently slow due to its design and interpreted nature. - "Castling doesn't work!" It does, see castling rules. - "Board is set up incorrectly" Maybe you mixed up king and queen. - "King and queen move the wrong way" Maybe you mixed up king and queen. - "Opponent pawn captured my pawn which had already passed it!" That's called 'en-passant'. - "Why is it a draw when engine only has king left and I still have pieces?". Most likely draw by stalemate (no legal move but also not checked) - "How do I copy FEN or PGN data?" Click "Export", triple-click FEN or PGN data, press Ctrl-C (Windows) or right-click / select "Copy". - "How to castle?" Move the king two squares; king must not be in check, none of the passed squares must be in check, and neither king nor rook must have moved before. - "How to play en-passant?" Move your pawn diagonally by one square, behind the opponent pawn which just moved two squares. - "What does the black/white bar on the right side of the board indicate?" It shows the current evaluation of the board, so either black's or white's lead in the game. - "Can you increase the engine's playing strength?" It has been tuned a lot already, and we probably reached the end of the rope now. A Scratch chess engine will never play at the level of one implemented in C/C++, Java or JavaScript. Scratch is slow due its interpreted nature, every variable access triggers a table-lookup by name, it doesn't have bitwise operations for bitboards, and uses variants with constant value conversions, etc. Standard Mode (on Scratch 3): - Easy: searches 2 plies plus subsequent captures - Medium: think time 10 seconds; searches 3-4 plies plus subsequent captures during midgame, more during endgame - Difficult: think time 20 seconds for midgame, 15 seconds for endgame; searches 4-5 plies plus subsequent captures during midgame, more during endgame - Difficult (competition mode, press 'c'): think time 40 seconds; searches 5-6 plies plus subsequent captures during midgame, more during endgame The fast TurboWarp runtime will typically add 3 to 4 plies. Junior Mode: - Easy: random moves - Medium: semi-random moves - Difficult: searches 1 ply plus subsequent captures Press 'c' to toggle 40 seconds think time on Difficult Press 'd' for iterative deepening debug info Press 'p' for profiler mode (shows CPU time spent per function and search depth, number of transposition table hits) BUG REPORTS: Please describe exactly what happened, and if possible provide exported board data: Click "Export", then look for the FEN data, select the text by triple-clicking it, copy it to the clipboard and paste it to the bug comment. Alternatively you can also export the move list in PGN format. Please also report the difficulty level, and whether you are playing in junior mode. Before you post a bug, go sure it really is a bug and not a misunderstanding, e.g. you may want to consult an experienced chess player beforehand. Thank you! I focused on playing strength and usability. Considering the speed limitations of Scratch it shouldn't be too bad It usually calculates 4 to 8 moves ahead (max. is 25 moves, only achieved on TurboWarp and during endgame), depending on selected level, board complexity and system speed. Looking forward to feedback in the comments! Remix instructions: Remix BEFORE playing, otherwise lists will be too large for saving. Or run the "RUN_BEFORE_SAVING" custom block (simply click it) to empty the lists again.

Project Details

Visibility
Visible
Comments
Enabled
Remixed From
Project #148769358
Original Project
Project #148769358

More Cool Projects

Project thumbnail
View Project

Dogday Chase Scene (playable)

by alphabetdude2020

Project thumbnail
View Project

Flush caillou

by driggy0114

Project thumbnail
View Project

unicode the movie - part 1

by bingcheeling

Project thumbnail
View Project

fna scratchy's

by given_we3

Project thumbnail
View Project

Beat Up Edward! [2025 Edition]

by Aidenlove916

Project thumbnail
View Project

Sugary spire, my beloved...

by Aidenboss11

Project thumbnail
View Project

The Studio Doors of Numbers I - Part II (192 Doors)

by bfdi041

Project thumbnail
View Project

⭑ ★ ❶❷❸❹❺ | TᕼE ᔕTᑌᗪIO ᗪOOᖇᔕ Oᖴ ᑎᑌᗰᗷEᖇᔕ • ᑭᗩᖇT ❻ • 552 ᗪOOᖇᔕ | ❻❼❽❾❿ ★ ⭑

by ProDelta110

Project thumbnail
View Project

超短編アニメ #18 ー ハイレベル

by sab_pg

Project thumbnail
View Project

undertale au icerume fight! demo【undertale fan game】

by k-2011

Project thumbnail
View Project

リンゴもぎゲーム

by Shunkacchi

Project thumbnail
View Project

☁ Switch the Timer v1.9 #games #all

by ScratchBoy179

Project thumbnail
View Project

Numberhumans V2

by JojosWorld32

Project thumbnail
View Project

Fidget Spinner remix

by Areeba-607

Project thumbnail
View Project

超長編アニメ 〜#64〜 タランチュラ

by SAS134

Project thumbnail
View Project

Beat Up Sonic 10 years Edition remix 1

by Nonee2014rises

Project thumbnail
View Project

Warriors : New Generation Bio Sheet Base remix-2

by Sky_Amberjade

Project thumbnail
View Project

add a button to beat up purple minion!!! [1]

by newmyles

Project thumbnail
View Project

Beat Up BonziBB Buddy Helium Edition X2

by tdcoding12

Project thumbnail
View Project

にゃんこ大戦争 ネコパティシエ 素材

by kaminotakeru

Project thumbnail
View Project

Numbericons 0-250

by vanhouchin

Project thumbnail
View Project

Nich | S2 E12 | Suspended | Clip | Fight Scene | kjboogie | NSA2 [FIXED] With Voices [EXTRE-FIXED

by pasquisuper

Project thumbnail
View Project

Bonzi Buddy OS

by Nandabenja

Project thumbnail
View Project

てるてるモッド ☁️ アモングアス スクラッチ v0.27 (オンライン)日本語翻訳

by yogemes