https://github.com/prasad1120/word-war-client
A game in Java where two players compete to find more number words in a given time period.
https://github.com/prasad1120/word-war-client
board-game java swing-gui
Last synced: 2 months ago
JSON representation
A game in Java where two players compete to find more number words in a given time period.
- Host: GitHub
- URL: https://github.com/prasad1120/word-war-client
- Owner: prasad1120
- Created: 2020-05-17T15:45:22.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2020-05-18T06:40:25.000Z (about 5 years ago)
- Last Synced: 2025-01-20T10:47:18.404Z (4 months ago)
- Topics: board-game, java, swing-gui
- Language: Java
- Homepage:
- Size: 4.33 MB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Word War: Client
[](https://GitHub.com/prasad1120/word-war-client/releases/)
A multiplayer game in Java using client-server architecture and sockets in which two players compete to
find more number of English language words in a predefined time from a separate but similar
4x4 board of letters based on their frequency in English.> Check out [word-war-server](https://github.com/prasad1120/word-war-server)
![]()
## Features
- [x] Board populated on the basis of letter frequency in English language
- [x] Score of opponent displayed in realtime
- [x] All possible words are displayed after the game
- [x] Rematch with same as well as fresh opponent## Built with
- **Gradle** - used as build system
- **Java Swing** - used for GUI## Build and Run Process
- To run the Word War Client, in your top-level project directory, run the following command on terminal:
~~~
$ ./gradlew run
~~~
> When running Word War Client, set host and port (on which Word War Server is running) to required values in `WordWarClient.java`.- To build an executable jar, run:
~~~
$ ./gradlew jar
~~~
- To build and run Word War Client jar, run:
~~~
$ ./gradlew runExecutableJar
~~~> When building an executable jar, set host and port (on which Word War Server is running) to required values in `build.gradle`.
The jar will get exported as `build/libs/word-war-client-.jar`.**Default values**:
```
host='localhost'
port=8000
```