Coder Social home page Coder Social logo

stry233 / appjava-drawandguess-ver.rt Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 1.0 56.4 MB

This is a final project for RPI CSCI 4963. We introduce a TCP-based end-to-end Draw and Guess Demo using Java. All UI components are implemented using Java Swing

Java 99.35% Batchfile 0.37% Shell 0.27%
game java network-programming swing-gui rpi rensselaer-polytechnic-institute

appjava-drawandguess-ver.rt's Introduction

Draw and Guess - Real Time ver.

UI1

Draw and Guess ver. Real-Time is an online word-guessing game. In the game, we form groups of 2-8 players and the system will designate one player as the painter according to the order of connection and randomly search for a word in the dictionary. The player needs to use the mouse to draw the specific word given by the system. Meanwhile, other players will try to guess the word. At the end of the round, another player will become the painter and the system will also give a new secret word as a reciprocal for the player to score.

UI-2

Yuetian Chen was responsible for the project planning, GUI design and GUI implementation. Kevin Xia worked on the network, model and controller. Jeff Li worked on the dictionary, protocol, user manual and test manual. Everyone in our group was involved in the testing work. All of the content was implemented in Java.

Development platform

Code and scripts are tested under the following settings.

Linux

Distribution

Virtualbox (Oracle VM VirtualBox VM Runner v6.1.34) used.

JDK

openjdk 15.0.1 2020-10-20
OpenJDK Runtime Environment (build 15.0.1+0-adhoc..jdk15u-jdk-15.0.1-ga)
OpenJDK 64-Bit Server VM (build 15.0.1+0-adhoc..jdk15u-jdk-15.0.1-ga, mixed mode, sharing)

Windows

Distribution

Version Windows 10 Home Chinese\
Version number 21H2\

JDK

java 18.0.1.1 2022-04-22
Java(TM) SE Runtime Environment (build 18.0.1.1+2-6)
Java HotSpot(TM) 64-Bit Server VM (build 18.0.1.1+2-6, mixed mode, sharing)

Usage

The following command are under project scripts directory

Linux

RunDrawAndGuess

If there is no permission, run the following procedure:

$ chmod ugo+x ./scripts/run.sh

sh ./run.sh

Compile Javadoc

sh ./javadoc.sh

Windows

Open the cmd and nevigate to the project scripts directory

RunDrawAndGuess

.\run.cmd

Compile Javadoc

.\javadoc.cmd

Project Structure

./res

Where GUI Icons, fonts stored at.

./manuals

It contains detailed descriptions of all application features, inputs and outputs, formats of files, possible error messages and their meaning, and any other information which might be of interest to an end user.

./lib

External Library

It contains all tools including FlatLaf for the look and feel.

./Config.cfg

Default setting

It is located at the root.

Config.cfg stored the default config for the program. Please do not manually modify this file.

Acknowledgement

This project was carried out in July 2022 in the CSCI 4963 Application Programming Using Java course. The intent is to demonstrate an end-to-end network communication and protocol design guidelines using Java and a highly customized development process using Java Swing.

This project is relatively sensitive to resolution and DPI. For the best experience, please experience the application in 1080p 100%-175% scale.

Contributors

Click me to Open/Close the contributors listing
  • Yuetian Chen - Rensselaer Polytechnic Institute, 110 8th Street, Troy, NY, United States, 12180 (email: [email protected])
  • Kewen Xia - Rensselaer Polytechnic Institute, 110 8th Street, Troy, NY, United States, 12180
  • Jeff Li - Rensselaer Polytechnic Institute, 110 8th Street, Troy, NY, United States, 12180

appjava-drawandguess-ver.rt's People

Contributors

herobrinexia avatar stry233 avatar yunqili0809 avatar

Watchers

 avatar

Forkers

herobrinexia

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.