I will be implementing the concepts of Model, View, and Control.
Model: The model will be through the java classes that will set up the points, variables, options, and win conditions. First, we will have a main class that just runs the whole project and lets us run multiple parts of the program. This will store all the variables and include all the necessary components. We also have the win condition function to check if they win and the whole random number generator for the CPU and receiving the user input.
View: This will be the HTML code that creates the website on the front end. First, I will just include some input places and a button that will run through the program. I will also add images for the rock, paper, and scissors to make the game more engaging. I will use CSS and HTML to make the page as aesthetically pleasing as possible so that it looks as professional as possible. I will be passing the user inputted values back into the backend and run through the process and send it back to the front end to display the value calculated. The outputs would be the points and the message that stated if you won or not.
Control: This will be the Controller that connects the backend Model to the frontend View. This is where the getters and setters take place and function. It will allow me to take in the user input for rock, paper, or scissor and send it through the backend. Then, it will go through the win condition and send the output back to the frontend, where the website will tell you if you won or not.
I will be implementing the concepts of Model, View, and Control.
Model: The model will be through the java classes that will set up the points, variables, options, and win conditions. First, we will have a main class that just runs the whole project and lets us run multiple parts of the program. This will store all the variables and include all the necessary components. We also have the win condition function to check if they win and the whole random number generator for the CPU and receiving the user input.
View: This will be the HTML code that creates the website on the front end. First, I will just include some input places and a button that will run through the program. I will also add images for the rock, paper, and scissors to make the game more engaging. I will use CSS and HTML to make the page as aesthetically pleasing as possible so that it looks as professional as possible. I will be passing the user inputted values back into the backend and run through the process and send it back to the front end to display the value calculated. The outputs would be the points and the message that stated if you won or not.
Control: This will be the Controller that connects the backend Model to the frontend View. This is where the getters and setters take place and function. It will allow me to take in the user input for rock, paper, or scissor and send it through the backend. Then, it will go through the win condition and send the output back to the frontend, where the website will tell you if you won or not.