Computer science
Claire Juang Jiali Tan Chongyuan Li
Soccer 1VS1: Try to Score! 1. The name(s) of the group member(s), along with the title of your project
Group members: Claire Juang, Jiali Tan, and Chongyuan Li. 2. Short project intro: what the project is all about
This will be a two-player soccer game. There will be a point tracker on the top of the stage. On each side of the stage, there will be a goal, marked by a line. Each player will try to get the soccer into the goal of their opponent. When it reaches the goal, the player will gain one point. There will be 2 goals, one on the left side of the stage and one on the right, meaning each player has one goal. When one player is touching the ball, the goal of the other player is to prevent them from scoring. The ball will be placed in the center every time after someone scores. And after it is placed, each player needs to press their keys to see who can hit the ball first. When one player touches the ball, that player is on offense and the other is on defense. However, if the person on offense misses the goal, then the ball will bounce off the edge towards a random direction; thus, again, whoever touches the ball first will become the offense. To stop the other person from scoring, you simply need to move in front of the ball when the person tries shotting. When you do so when the ball hits you because you blocked the shot, the ball will bounce off of you and move towards a random direction. Moreover, you cannot really steal the ball from the other player. All you can do is defense and let it bounce off of you when you block it with your sprit instead of letting it go into your goal. In the game, you cannot “stop” the ball. Meaning, when they touch the ball, it will bounce off; thus, there’s no such thing as dribble in the game. The ball is constantly bouncing off of you, the sides, or the other player.
3. What kind of user interactions are there going to be (mouse clicks, key presses, etc.). How will the user interact with your program? The user interaction we are going to be using is key pressing. One person playing the game will use the up, down, left, and right keyboard while the other person playing will use ADSW to control the players. The user will control the player and try to make scores or prevent the other person to make scores.
4. Start and end: how does it begin, is there a way to win/lose? Is there some final task or end goal? The game ends when the first player reaches 10 points and wins the game. The goal of this game is to reach 10 points before the other player does.
5. Data: What data will your program use? What data will be stored in your program? Does the user input any data? Our project will not require any data.
Claire Juang Jiali Tan Chongyuan Li
6. A diagram that illustrates the flow of the program. This should be done in the form
of a flow chart with at least four components. Each component of the flowchart should represent a place where the program has to make a decision and/or query user input. If the program requires the user to upload data, then that could be part of the flowchart too.
7. A description of your Minimum Viable Product (MVP). What will you be sure to have working for the second checkpoint that is a reasonable step toward your final goals? The MVP must incorporate at least one function that takes at least one input that you write and call. For the second checkpoint, we will be sure to write the codes for the movement of the players and the ball, along with the design of the sprite, the stage, and the goal.