CubeNet is a 2D cube TCP multiplayer game built with Java. The game uses Java Swing for the GUI and allows players to engage in exciting battles. The objective of the game is to shoot and destroy other players while avoiding getting shot yourself. Gain points for successfully eliminating opponents and demonstrate your skills in strategic combat. The game currently supports a maximum of 2 players who can move around and engage in intense battles within the 2D cube arena.
Each commit message consists of a header. The header has a special format that includes a type, a scope, and a subject:
<type>(<scope>): <subject>
The header is mandatory, and the scope of the header is optional.
- feat(gameplay): Add new power-up item
- refactor(network): Refactor TCP socket handling code
- docs(ui): Update user manual with new controls
- feat: Adding new game features or functionalities
- fix: Fixing a bug or issue in the game
- perf: Improving the game's performance
- refactor: Refactoring game code to improve quality or maintainability
- docs: Updating game documentation, such as user manuals or API references
- test: Adding or updating game tests to ensure functionality and quality
- chore: Updating or maintaining game infrastructure, such as servers or databases
- server: Changes that affect the game server
- client: Changes that affect the game client
- network: Changes that affect the game's network functionality, such as TCP communication
- gameplay: Changes that affect game mechanics or gameplay
- graphics: Changes that affect game graphics or visual elements
- audio: Changes that affect game audio or sound effects
- input: Changes that affect game input, such as keyboard or controller support
- ui: Changes that affect game UI or menus
- player: Changes that affect the player
To run this game, you will need:
- Java Development Kit (JDK) 19
- Maven
- Git
The game is played on a 2D cube where the players can move around. Each player can move up, down, left, or right.
If you'd like to contribute to this project, please follow these steps:
- Fork the repository
- Create a new branch (git checkout -b feature/my-feature)
- Make your changes
- Commit your changes (git commit -am 'Add my feature')
- Push to the branch (git push origin feature/my-feature)
- Create a new Pull Request
This project is licensed under the MIT License