A small game written in Java to review words.

Overview

这是一个实现网络连接的助记单词游戏

项目的具体功能:

  • 实现多个用户通过网络连机进行游戏

  • 通过对随机下落的六级词汇的补全,在游戏中提高用户的单词水平

  • 记录每次游戏的成绩和情况(答对、答错、未答)

运用的技术及难点:

  • 技术:

    运用JavaSwing对游戏进行图形化开发,运用JavaSocket实现C/S网络互联,运用线程池实现项目稳定友好进行

  • 难点:

    Java进行UI开发时出现了很多次的组件覆盖问题,以及坐标位置不准等情况

项目运行:

  • 服务端打开主程序,监听客户端的连接
  • 客户端输入用户名连接服务器
  • 当服务器检测客户端的数目达到2的时候,开始进行游戏
  • 客户端进行游戏,根据右下角的中文提示向对应气泡发射字母补全单词
  • 用户输入正确字母,自己加1分;如果错误,自己减1分,对方加1分
  • 当其中一方减到0,游戏结束,显示游戏情况。并且在本地文件中显示三个txt文件夹,分别记录正确单词,错误单词,未答单词

项目效果评价:

自我认为实现了友好的人机交互界面,项目虽不完善但功能也算齐全,经过一定的优化改进可以成为一个比较成熟的项目

You might also like...

A basic representation of the 0-player game, "Game-of-Life", a simple example of basic cellular automata

A basic representation of the 0-player game,

Game-Of-Life-Basic A basic representation of the 0-player game, "Game-of-Life", a simple example of basic cellular automata. A cellular automaton is a

Oct 27, 2022

🚀Small java eventing library created to developer familiar with Bukkit,Nukkit and PowerNukkit...

FestivalKit 🇺🇸 Small event library for developers familiar with Bukkit,PowerNukkit and Nukkit 🇧🇷 Pequena libraria de eventos para desenvolvedores

Jan 2, 2022

Just some small utilities for sandbox/modding

Testing Utilities Just some small utilities for sandbox/modding Team Changer: Change teams easilty. (Disabled in campaign) Seppuku Button: Kill yourse

Dec 12, 2022

A small Reactive API with RxJava for Minecraft Paper Plugins.

RxPaper A small Reactive API with RxJava for Minecraft Paper Plugins. Usage RxPaper.io() When you want to return something back in the Minecraft Threa

Dec 9, 2021

A shitty discord token grabber written in Java

A shitty discord token grabber written in Java

JarGrabber A Discord token grabber that exfiltrates tokens to a webhook written in Java As usual, this code and tool should not be used for malicious

Nov 11, 2021

Sequel to Heavy Armaments Industries, a mod for mindustry written in Java

Sequel to Heavy Armaments Industries, a mod for mindustry written in Java

Sequel to Heavy Armaments Industries, a mod for mindustry written in Java

Dec 30, 2022

Golden Axe (1989) game implemented in java using only standard libraries (Java 2D, Swing, AWT & Java Sound API)

Golden Axe (1989) game implemented in java using only standard libraries (Java 2D, Swing, AWT & Java Sound API)

Golden Axe (1989) game implemented in java using only standard libraries (Java 2D, Swing, AWT & Java Sound API), so no external libraries required. Video: https://youtu.be/uevIVLNhQqs

Jul 21, 2022

Minecraft mod running on the TTCp engine to load modules written in JS at runtime - with runtime deobfuscation!

PolyFire ClickGUI opens with NUMROW_0 How to use: Run -jsmodules to initialize Navigate to your .minecraft folder Go to config/pf/modules/ Copy Exampl

Nov 18, 2022
Owner
JavaW
A coder from CSU who loves computers
JavaW
Snake-Game - A simple snake game written in java.

What's this? A simple snake game written in java. How to play Download the latest release. Ensure that a compatible java runtime is installed (optimal

Patrick260 4 Oct 31, 2022
Small mod for Minecraft Forge 1.16.5 that sends messages of in-game events to a channel in your Discord server. This mod also enables cross-chatting between Minecraft and Discord.

DiscordSync Small mod for Minecraft Forge 1.16.5 that sends messages of in-game events to a channel in your Discord server. This mod also enables cros

AeonLucid 4 Dec 20, 2022
A complete 3D game development suite written purely in Java.

jMonkeyEngine jMonkeyEngine is a 3-D game engine for adventurous Java developers. It’s open-source, cross-platform, and cutting-edge. 3.2.4 is the lat

jMonkeyEngine 3.3k Dec 31, 2022
Jetserver is a high speed nio socket based multiplayer java game server written using Netty and Mike Rettig's Jetlang.It is specifically tuned for network based multiplayer games and supports TCP and UDP network protocols.

Note New version of Jetserver is called Nadron and is in a new netty 4 branch of this same repo. JetServer is a java nio based server specifically des

Abraham Menacherry 1.2k Dec 14, 2022
A simple memory game written in java.

What's this? A simple memory game written in java. How to play Download the latest release. Ensure that a compatible java runtime is installed (optima

Patrick260 1 Jun 26, 2022
BattleShip-Game - This repository contains the code of the BattleShip (Bataille Navale) game programmed in Java.

Bataille Navale Auteur : SABIL Mohamed Amine Comment générer la documentation ? Placez vous dans le sous-dossier src : pour générer la documentation d

Mohamed Amine SABIL 1 Jan 4, 2022
Othello PvP (2-Player) Game Application created in Java using Swing and AWT, for playing the Othello game

Othello PvP (2-Player) Game Application created in Java using Swing and AWT, for playing the Othello game, a simple game that played on an 8 by 8 checkered board with 64 double-sided black and white discs. The game is easy to learn, but it takes time to master and develop winning strategies.

Soumyadeep Pal 1 Feb 28, 2022
My Game Engine tested via my Cubecraft Game

My Game Engine tested via my Cubecraft Game Install: mvn -P {your OS name} clean install mvn -P mac clean install mvn -P linux clean install mvn -P wi

null 30 Oct 3, 2022
The game is a 2D side scrolling system, where a player moves left, right, vertically or diagonally to traverse the game.

The game is a 2D side scrolling system, where a player moves left, right, vertically or diagonally to traverse the game.

Ravi Mandal 7 Sep 11, 2022
A simple puzzle game made with Unity to practice the game engine

A simple puzzle game made with Unity to practice the game engine.

Eyüb Salih Özdemir 1 Mar 30, 2022