# Wordle-JavaGUI **Repository Path**: sleaf123/Wordle ## Basic Information - **Project Name**: Wordle-JavaGUI - **Description**: 一个利用Java和Java GUI(java.awt和javax.swing)实现的具有可视化界面的单机Wordle小游戏,希望你能喜欢,也欢迎参考借鉴! - **Primary Language**: Java - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 4 - **Forks**: 1 - **Created**: 2022-05-27 - **Last Updated**: 2024-06-26 ## Categories & Tags **Categories**: Uncategorized **Tags**: GUI, Java ## README # Wordle #### Description A wordle game finished by using Java and Java GUI. #### Software Architecture ![img.png](README_IMGs/img.png)Software architecture description #### Installation 1. Open IDEA (community). 2. Open ProjectPath, Trust it. 3. Double clicked ./src/Wordle, press Ctrl + Shift + F10. 4. Program runs. #### Instructions 1. Click start button to start game. 2. Press any characters on your keyboard to input. 3. Press ‘Enter’ or ‘Space’ to submit; Press ‘Backspace’ to withdraw one current input. 4. If no input at current line but is submit, you will get a warning, so does not enough chars at current line. 5. If an input is submitted and is regarded as a word by the program, the program will display colors of every character. 6. If you got an all Green feedback within 6 (include) tries, you won; Otherwise you lose. 7. Then you will return to the start panel. 8. Or you can click reset button to restart a game. 9. Or you can click back button to focus to quit this game and return to the start panel. #### Display Start Panel ![img_1.png](README_IMGs/img_1.png) Fisrt game(Lock Wordle 'GREEN') ![img_2.png](README_IMGs/img_2.png) ![img_3.png](README_IMGs/img_3.png) Empty Input ![img_4.png](README_IMGs/img_4.png) Submit without finishing ![img_5.png](README_IMGs/img_5.png) Input false word ![img_6.png](README_IMGs/img_6.png) Right Input ![img_7.png](README_IMGs/img_7.png) Another game(Lock) ![img_8.png](README_IMGs/img_8.png) Fail 6 times(Lost) ![img_9.png](README_IMGs/img_9.png) Another game(Lock) ![img_10.png](README_IMGs/img_10.png) Arbitrarily input ![img_11.png](README_IMGs/img_11.png) Backspace ![img_12.png](README_IMGs/img_12.png) Reset (Update wordle word with unlock model, but I force it to “GREEN” by adding a statement at the end of the method) ![img_13.png](README_IMGs/img_13.png) Another finishing.(20s better than 42% of my game?) ![img_14.png](README_IMGs/img_14.png) Another game(Lock) ![img_15.png](README_IMGs/img_15.png) Arbitrarily input ![img_16.png](README_IMGs/img_16.png) Force to back ![img_17.png](README_IMGs/img_17.png) Open again ![img_18.png](README_IMGs/img_18.png) Exit ![img_19.png](README_IMGs/img_19.png) Cancel ![img_20.png](README_IMGs/img_20.png) ![img_21.png](README_IMGs/img_21.png) Ok ![img_22.png](README_IMGs/img_22.png) Game ends. Settings and Ranks are not yet finished. #### Gitee Feature 1. You can use Readme\_XXX.md to support different languages, such as Readme\_en.md, Readme\_zh.md 2. Gitee blog [blog.gitee.com](https://blog.gitee.com) 3. Explore open source project [https://gitee.com/explore](https://gitee.com/explore) 4. The most valuable open source project [GVP](https://gitee.com/gvp) 5. The manual of Gitee [https://gitee.com/help](https://gitee.com/help) 6. The most popular members [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/)