Skip to content

Conversation

@LuisW04
Copy link
Collaborator

@LuisW04 LuisW04 commented Jan 28, 2026

Purpose

  • The NewGameModal pops up when the "New Game" Button gets pressed
  • it allows PvP, PvE and EvE games in all gamemodes
  • Engines can be limited in time, depth or node count
  • at the end of a Game, the GameEndModal pops up, displaying the result and the move count
  • NewGameModal resets on resetAllSettings
  • both modals adjust to dark mode
  • NewGameModal prevents invalid games, like engines playing variants they are not intended for or playing PvE/EvE without engines selected

Pre-merge TODOs and Checks

  • test PvP, PvE and EvE in different gamemodes repeatedly (some bugs may only occur after starting multiple games)
  • test dark mode
  • resetBoardButton and resetAllSettingsButton stop the active game
  • test opening other windows/ interacting with UI elements while an EvE game ends, causing the GameEndModal to pop up automatically (might overlap with other UI elements)
  • test invalid NewGameModal configurations

LuisW04 and others added 27 commits December 19, 2025 16:18
TODO Functionality is not yet implemented.
- added some EvE-states
- added some EvE-mutations
- added EvEtrue (which provides a limiter-implementation)
- added EvEfalse

Engine vs. Engine mode is now usable :)
Changes:
- Startgame-button now overwrites variant in store
- EvE-Engines now play on the specific variant
- EvE-Engines now play different, wether the game is a 960 game or not
- PvE should be available again :)
tested popup for PvP, PvE, EvE and games outside of NewGameButton. Tested win/draw/loss/scenario
removed PvE settings from the settings tab and all functionality in SettingsTab that was connected to it. Added a close button instead
buttons are now clickable and don´t overlap
GameEndModal and StartGameModal now support dark mode.
pgn browser is now removed from the left side of the gui and made accessible via a new button. the pgn browser itself might not work properly and needs to be fixed
- added isPlayerTurn() and boardPointerEvents to ChessGround.vue to block mouse input when it is not the players turn
- fixed EvE not working in AnalysisHead
- limiter for PvE-engine is now working
- disabled engine-arrows, which showed the best move in current position
An import was missing, it probably got lost during merging
- moved the data of the NewGameModal to store.js
- resetAllSettings now resets the data of the NewGameModal
- fixed the bug where playing EvP then PvE causes the engine to play a move for the player
- this might have fixed the EvE bug too
The "Start Game" button of the StartGameModal gets disabled when for one of the participating Engines no Engine is selected.
A little message next to the button informs the player of the reason.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants