Preview

the skating part

Powerful Essays
Open Document
Open Document
380 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
the skating part
Problem Analysis and Design
Input/Output

Input(s) Output(s)

Mouse:

Clicking the squares button to put X or O
Clicking the button reset to restart the game
Clicking the button for high scores (if added)

Keyboard:

Entering name for high scores (if added)

Monitor:

Buttons for squares and symbol
Button for restart
Present score
Visual tic tac toe
Button for how to play

Game Layout
Main Screen
*500 X 500 Applet

Player 1 Player 2

High Score Screen (if added)
*500 X 500 Applet

High Scores Name Win/lose Selena 3/2 _ _ _ _

Other Screen
When the ? button is pressed, a message that indicates how to play the game will appear.

The players put a X/O on one of the 9 squares on each turn to try and form a line of 3 X/O. The player that first complete 3 squares in a row, column or diagonal using X/O wins.

Structure and Components
Buttons for Tic Tac Toe
Declare each button from 1-9” Example: Private JButton button1 = new JButton(“”); Private JButton button2 = new JButton(“”); Private JButton button3 = new JButton(“”); Private JButton button4 = new JButton(“”); Private JButton button5 = new JButton(“”); Private JButton button6 = new JButton(“”); Private JButton button7 = new JButton(“”); Private JButton button8 = new JButton (“”); Private JButton button9 = new JButton (“”);

Action Performed for Buttons
(Calculate

You May Also Find These Documents Helpful

  • Satisfactory Essays

    The first person to make it all the way around the board wins. You need the exact number to finish.…

    • 119 Words
    • 1 Page
    Satisfactory Essays
  • Satisfactory Essays

    (key verbs) and circle what you are being asked to look for in order to respond to the prompt…

    • 162 Words
    • 1 Page
    Satisfactory Essays
  • Satisfactory Essays

    Title: The Greatest Skating Race Author: Louise Borden Publishing Group: Margaret K. McElderry Books Copyright: 2004 Genre: Informational book about social studies Age: 9-12 Summary: In 1941 Piet, gets the assignment of a lifetime: He must skate along the frozen canals of the Netherlands and across the Belgian border, in order to get the neighborhood children to their aunt's house.…

    • 526 Words
    • 3 Pages
    Satisfactory Essays
  • Good Essays

    * For the PC games there is a Find a Game search for the game you would like to play.…

    • 988 Words
    • 4 Pages
    Good Essays
  • Better Essays

    30 for 30 broke

    • 906 Words
    • 4 Pages

    Enter whether the sentence or statement is true (enter “A” on your clicker) or false ( “B”).…

    • 906 Words
    • 4 Pages
    Better Essays
  • Satisfactory Essays

    The theme of "The Skating Party" is you cannot choose who you love. Uncle Nathan proves this theme when he says, "'You cannot love where you choose'" (Summers, 104). Uncle Nathan is going to marry Eunice, but he chooses to be 'in love' with her. With Deliah, he cannot control the fact that he loves her, and that his heart is loyal to her. When Uncle Nathan faces the choice to save either Deliah or Eunice, despite the fact that he is Eunice's fiance, he decides to save Deliah. Uncle Nathan does not believe that you can't choose who you love when he says "'If you can fall in love in twenty minutes, then you can fall out of love just as fast'" (Summers, 109). Uncle Nathan is becomes affected by his feelings for Deliah, and the decisions he makes…

    • 146 Words
    • 1 Page
    Satisfactory Essays
  • Satisfactory Essays

    The Skating Party

    • 376 Words
    • 2 Pages

    Maida always wondered why her uncle Nathan had never been married he always gave her an answer that never fulfilled her question which left her still guessing why. In the story her mom told her the story of “The Skating Party” [Page 190]. What had been told to Maida was basically a flashback used by the author to explain to the readers and Maida why her uncle hadn’t found a wife yet.…

    • 376 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    The Ice Skating Party

    • 298 Words
    • 2 Pages

    There is a clear example of missing information in this story: Uncle Nathan sketches the stone man for Maida, and his sister teasingly suggests that he has “forgotten” something when drawing the “very complete” stone man. What is Summers hinting at here, and how does the drawing Uncle Nathan has made represent Uncle Nathan himself? (How is he like the “incomplete” stone man he has drawn?)…

    • 298 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    In the two texts, “Snow” by Julia Alvarez, and “The Skater” by Annie Dilliard, the two characters in the stories had very different views about snow. As one was very scared and thought snow was a horrible thing, the other one thought that snow was a very beautiful thing in the world. These two texts have one thing in common, each character sees the snow in different ways, but by the end of the story, their views change. The characters thoughts change by the end of the story, thus meaning that each character is dynamic.…

    • 314 Words
    • 2 Pages
    Good Essays
  • Good Essays

    Nathan was also telling the story of stone man hill to his niece, stone man hill was the symbol of his confusion between Eunice and Delia.…

    • 905 Words
    • 4 Pages
    Good Essays
  • Good Essays

    Both boys stared into each other’s eyes with fear. They quickly got up to open the bathroom door. Once they were inside they noticed that Lisa was frozen. “I killed her!” Danny stated. “No you didn’t she’s just in cryonic sleep!” Walter said. At this moment both Danny and Walter were afraid they needed to unfreeze their sister. Walter asked Danny if he read the rules before playing “I didn’t read them” he stated. Walter got an uneasy feeling and decided it was time for them to read the rules of the game. “Pieces reset at the end of each game” “that means we get to go home if we play” Walter stated. Danny started to get anxious and didn’t want to continue playing the game. “All I know is when we play that game, bad things happen” Danny stated. “Don’t be a baby” Walter said as he cranked the key and started to play the next round. “Eight. Look, I’m halfway there,” he said with satisfaction. The card popped out and looked at it “…

    • 814 Words
    • 4 Pages
    Good Essays
  • Good Essays

    Essay On Figure Skating

    • 1952 Words
    • 8 Pages

    I started figure skating when I was 8 years old. I went to a birthday party at an ice rink, and signed up for skating shortly after. More advanced skaters filled the middle of the rink, doing spins and jumps. I fell in love the sport. I like how it was good for both summer and the winter. The feeling of you gliding around the ice in fun-filled strokes was amazing. My classes were amusing and I loved learning new things.…

    • 1952 Words
    • 8 Pages
    Good Essays
  • Good Essays

    “There's something magic about figure skating. Something that keeps me from giving up, and that makes me feel incomplete without it. Something that makes me addicted.”…

    • 592 Words
    • 3 Pages
    Good Essays
  • Good Essays

    I strongly believe that giving back to my community/school in one way or another is the most important thing outside of my academics and this is why I want to become an RA. At the age of thirteen, I started my own roller skating classes. Being the instructor of a roller skating class and running the class on my own taught me to be a leader, to grow from my failures and it gave me the opportunity to give back to my community. I learned how to skate in Washington, where my instructors were passionate and enthusiastic for the sport. Their positive energy was so powerful that my love for roller skating continued to radiate within me, even after I made the move from Washington to California. The impact that my instructors made on me and their ability…

    • 885 Words
    • 4 Pages
    Good Essays
  • Good Essays

    Imagine that you've just turned 16 and your parents bought you a brand new Mustang. You're cruising on the street at approximately 25 miles per hour. So maybe you're not breaking the speed limit, but everyone's staring. You feel the light breeze through your hair. Then you're in the air, 12 feet high. Finally, you land on your back and come this (gesture 6 in.) close to cracking your skull. What happened? You were skating.…

    • 2017 Words
    • 9 Pages
    Good Essays

Related Topics