Commit Graph

199 Commits

Author SHA1 Message Date
Nuget Ninja fdcc2bf30d Auto csproj fix and update by bot. 2025-04-11 05:00:51 +00:00
Nuget Ninja ad4686a3cf Auto csproj fix and update by bot. 2025-04-10 05:00:45 +00:00
Nuget Ninja 460a1be24c Auto csproj fix and update by bot. 2025-04-05 05:01:45 +00:00
Nuget Ninja ebbe5e9036 Auto csproj fix and update by bot. 2025-04-01 05:01:02 +00:00
Nuget Ninja cfbec6c78a Auto csproj fix and update by bot. 2025-03-12 16:49:18 +00:00
Nuget Ninja 00d72886cc Auto csproj fix and update by bot. 2025-03-12 05:00:48 +00:00
Nuget Ninja eb1995667c Auto csproj fix and update by bot. 2025-02-24 05:00:56 +00:00
Nuget Ninja 6c5b03e786 Auto csproj fix and update by bot. 2025-02-13 05:06:50 +00:00
Nuget Ninja 18cd117925 Auto csproj fix and update by bot. 2025-02-11 05:01:18 +00:00
Nuget Ninja d389bbfd77 Auto csproj fix and update by bot. 2025-02-02 05:00:47 +00:00
Anduin Xue 688c459008 Update chess.js dependency to version 1.0.0 2025-01-21 13:06:44 +00:00
Nuget Ninja fa341c3fcb Auto csproj fix and update by bot. 2025-01-17 05:00:44 +00:00
Nuget Ninja 5015655398 Auto csproj fix and update by bot. 2025-01-16 05:00:47 +00:00
Nuget Ninja 4296be9929 Auto csproj fix and update by bot. 2025-01-03 05:01:07 +00:00
Anduin Xue e1ff2b84bc Update dependencies and optimize chess move computation
Upgraded various package dependencies in both test and main projects to their latest stable versions. Simplified the chess move computation logic by replacing custom depth handling with a streamlined `go depth` command for improved clarity and maintainability.
2025-01-01 15:19:47 +00:00
Anduin Xue ed70c58800 Bump runtime version from 8.0 to 9.0. 2025-01-01 14:01:42 +00:00
Nuget Ninja fd8e983830 Auto csproj fix and update by bot. 2024-12-12 05:01:08 +00:00
Nuget Ninja 7b740027fb Auto csproj fix and update by bot. 2024-12-09 05:01:13 +00:00
Nuget Ninja a9faa5227f Auto csproj fix and update by bot. 2024-12-07 05:01:27 +00:00
Nuget Ninja 6e26f87ba7 Auto csproj fix and update by bot. 2024-12-06 05:00:58 +00:00
Nuget Ninja 71ed23acec Auto csproj fix and update by bot. 2024-12-05 05:00:55 +00:00
Nuget Ninja 1f3a96d8c8 Auto csproj fix and update by bot. 2024-12-01 05:00:58 +00:00
Nuget Ninja d4f4743d64 Auto csproj fix and update by bot. 2024-11-20 05:01:23 +00:00
Nuget Ninja 5da1f879f2 Auto csproj fix and update by bot. 2024-11-13 10:06:39 +00:00
Nuget Ninja 4665be0640 Auto csproj fix and update by bot. 2024-11-13 08:32:41 +00:00
Anduin Xue 34b58a94a5 Update package versions and clean code imports
Updated various package references to their latest versions in the project and test files. Additionally, removed unnecessary `Aiursoft.AiurObserver.Extensions` imports from several controller files to clean up the code.
2024-11-13 05:10:49 +00:00
Anduin Xue c5cff05e9c Handle ConnectionAbortedException in controllers
Add specific handling for ConnectionAbortedException in ChatController, GamesController, and ChallengesController to explicitly manage cases where the client closes the connection, ensuring graceful exception handling and improved code clarity.
2024-11-12 16:08:10 +00:00
Anduin Xue 9689db40a5 Merge remote-tracking branch 'origin/master' 2024-11-12 16:06:24 +00:00
Anduin Xue fe3b04415c Add pusher.Connected check before closing pusher.
This ensures that the pusher is only closed when it is connected, preventing unnecessary operations and potential errors. The change has been applied across ChatController, GamesController, and ChallengesController.
2024-11-12 16:06:21 +00:00
Nuget Ninja 01dd076655 Auto csproj fix and update by bot. 2024-11-12 05:01:32 +00:00
Anduin Xue 5063390b6d Add in-memory caching for Player and Challenge models
Replaced manual in-memory data management with LruMemoryStore for Player and Challenge models. Updated relevant methods for challenge handling to utilize the new caching mechanism for better performance and maintainability. Added Aiursoft.InMemoryKvDb package to the project.
2024-11-11 13:20:52 +00:00
Nuget Ninja 5e21ada905 Auto csproj fix and update by bot. 2024-10-29 05:00:45 +00:00
Nuget Ninja 87b1d9b7b6 Auto csproj fix and update by bot. 2024-10-22 05:01:02 +00:00
Nuget Ninja c8e3d7ca6e Auto csproj fix and update by bot. 2024-10-10 05:01:00 +00:00
Nuget Ninja cc119912a9 Auto csproj fix and update by bot. 2024-10-07 05:00:47 +00:00
Anduin Xue 880c122db4 Add package-lock.json and simplify ChessEngine move selection
Added package-lock.json to track exact versions of dependencies. Simplified the logic in ChessEngine to always use the best move, removing randomness based on difficulty.
2024-10-07 01:59:52 +00:00
Nuget Ninja b61e1a836b Auto csproj fix and update by bot. 2024-10-05 05:00:59 +00:00
Nuget Ninja 0438f85b7f Auto csproj fix and update by bot. 2024-09-14 05:00:59 +00:00
Nuget Ninja f3090cd855 Auto csproj fix and update by bot. 2024-08-20 05:00:46 +00:00
Anduin Xue d8d0a44a79 Merge branch 'master' of ssh://gitlab.aiursoft.cn:2202/aiursoft/chessserver 2024-07-16 06:08:16 +00:00
Anduin Xue 378da184e0 Use Aiursoft's own npm registry. 2024-07-16 06:08:15 +00:00
Nuget Ninja 48128e9e08 Auto csproj fix and update by bot. 2024-07-08 05:01:03 +00:00
Anduin Xue 4d6033f73f Update difficulty handling in ChessEngine
The difficulty handling logic has been modified to better determine when to use the best move in the ChessEngine class. A new method called ShouldUseBestMove(int difficulty) has been added to provide a probabilistic approach towards choosing the best move based on the provided difficulty level.
2024-07-06 09:18:18 +00:00
xuef e780e7af7e Use new alpha. 2024-07-06 05:05:20 +00:00
dvorakchen 554e5918e8 refactor: play sound when moved 2024-07-06 12:36:48 +08:00
dvorakchen 3dee08b268 feat: play sound while piece moved 2024-07-05 22:24:15 +08:00
dvorakchen 9d6da46f4e feat: red highlight in check 2024-07-04 19:30:26 +08:00
dvorakchen 3c071f68cd feat: message tip 2024-07-04 15:15:11 +08:00
dvorak chen 99f1946fa1 Merge branch 'master' into 'master'
feat: add track

See merge request aiursoft/chessserver!61
2024-07-04 03:45:19 +00:00
Anduin Xue 71da95dfe1 Simplify AI difficulty calculation in ChessEngine
Removed the randomness from the AI difficulty calculation in ChessEngine. Now the depth purely relies on the given difficulty, providing a more consistent user experience.
2024-07-03 15:53:50 +00:00