The Coolest Chess
  • The Chess Documentation
    • Chess Game Introduction
    • Essential Prefabs
    • Components
  • Importing Stockfish AI
  • Controller
    • Base Controller
    • Two Player Controller
  • The UIs
    • Button Prefabs
    • UI Events
    • Enquiry
    • Replacing UI
    • Others
  • Scenes Details
    • ChessPGN
    • ChessPuzzleEditor
    • ChessPuzzle
    • ChessAI
  • Honorable Mentioned
    • ChessBoard class
    • GUI Classes
    • Game Logic Classes
    • The Architecture Notice
  • Customization
    • Time AI
    • AI Draw Game
    • TypeI AI
    • TypeII AI
    • Event Based Functions
    • Chess Game Finishing Rule
  • Unit Tests
Powered by GitBook
On this page
  • Position Score
  • The isUI parameter
  1. The UIs

Others

PreviousReplacing UINextScenes Details

Last updated 5 months ago

Position Score

There are positive and negative position score for each game. Positive position score indicate white player is leading the game while negative position score means black player has favorable advantage against their opponent.

The isUI parameter

Sometimes you may came across functions in GUI with parameter (bool isUI), which will get called twice most of the time, when isUI is true, it meant it is the call for UI listeners while false is for GUIs.