-
Notifications
You must be signed in to change notification settings - Fork 1
Feat chess game example #7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
ezekielelvis
wants to merge
14
commits into
master
Choose a base branch
from
feat-chess-game-example
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- Added gradle-wrapper.jar to enable Gradle wrapper functionality. - Created gradle-wrapper.properties to specify distribution URL and settings. - Added gradlew shell script for Unix-based systems to facilitate Gradle execution. - Introduced gradlew.bat for Windows users to run Gradle commands easily.
…ethod for better readability
…me state handling
…rove real-time updates
- Deleted ChessGame.x, ChessPieces.x, OnlineChess.x, chess.x, chessLogic.x modules. - Removed all associated game logic, piece validation, online multiplayer handling, and API services. - This cleanup prepares the codebase for a new architecture or implementation.
- Added last move highlighting and valid move indicators. - Improved layout and styling for better responsiveness. - Introduced collapsible panels for game details and chat. - Implemented chat feature for multiplayer mode with message history and polling. - Refined button styles and typography for a modern look. - Adjusted padding and margins for a cleaner interface.
- Introduced CSS variables for consistent theming - Implemented reset and base styles for a clean layout - Designed mode tabs for single and multiplayer modes - Created styles for game container, status bar, and board - Enhanced toolbar and button styles for better user interaction - Developed responsive design adjustments for mobile devices - Added styles for chat functionality and info popovers - Included animations for interactive elements like buttons and status indicators
…s and cleans the code
Feat online mode feature
Feat online game chat
UI redesign
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request introduces major new features and improvements to the chess game server, focusing on adding multiplayer chat functionality, AI move selection, and board utilities. It also includes some project structure and build script updates. The most important changes are grouped below:
New Features
ChatApiweb service inchess/ChatApi.xthat provides RESTful endpoints for sending and retrieving chat messages in multiplayer chess games, including message validation, room/player checks, and support for polling recent messages.chess/ChessAI.xusing heuristic-based move selection for the Black player, scoring moves based on captures, center control, and pawn promotion.BoardUtilsservice inchess/BoardUtils.xwith utilities for board manipulation, algebraic notation parsing, and square validation, to support chess logic and AI.API and Module Definitions
chess.x, including REST API response/request types for chat, and static content serving for the web client.Build and Project Structure
.gitignorefile to exclude IDE/editor files and temporary artifacts from version control.