Short Explanation
This project is for OOP class final project, Java-based game that uses Swing for the graphical user interface. It features a score-saving function, and two modes of gameplay: versus computer, and two-player mode
Project Goals
The main goal of this project was to demonstrate proficiency in object-oriented programming concepts learned in class. Specifically, we aimed to create an interactive game that would challenge us to utilize the programming principles we learned throughout the course.
Technologies Used
The project was developed using Java programming language and the Eclipse integrated development environment (IDE). We used Swing, a Java-based GUI widget toolkit, to create the game's graphical user interface.
Lesson Learned
Developing this game taught us a lot about object-oriented programming, including encapsulation, inheritance, and polymorphism. We also learned how to implement user input and graphical user interfaces using Swing. Additionally, we learned how to save user scores and retrieve them for future gameplay.
Improvement
Although we are proud of the final product, there are several areas where we can improve the game's functionality due to the project creation timespan and lack of knowledge. For instance, we would like to replace the current random button used for the computer move in versus computer mode with a more advanced algorithm, such as the minimax algorithm. Additionally, we would like to switch from using JFrame to using JPanel to improve the game's overall user experience.