GoConqr hat ein neues Design! Sag uns, wie es dir gefällt.

Flussdiagramm

Python Game

Prachee Nanda Englisch

Inhalt des Flussdiagramms

  1. Open menu()

  2. start

  3. User opens

    menu

  4. Game level:

    Easy

  5. Difficult

  6. Set lives to 1, increase speed as player moves and ensure snakes are more than food

  7. no

  8. Easy

  9. yes

  10. Set lives to 3, keep speed the same and equal number of food and snakes

  11. Music?

  12. Mute; no sounds

  13. no

  14. Play Music/ Continue playing

  15. yes

  16. Sound?

  17. Mute; player makes no sounds

  18. no

  19. Play sounds

  20. yes

  21. Player wants to exit?

  22. end

  23. yes

  24. no

  25. Game Events()

  26. start

  27. Create Player,

    Snakes and Food

  28. Has player collided with something?

  29. Did player collide with Snake?

  30. Yes

  31. Did player collide with food?

  32. Has player

    reached

    final size?

  33. No

  34. Deduct 1 life

  35. Is player dead?

  36. Increase size of player, remove food from screen

  37. exit

  38. yes

  39. no

  40. Yes

  41. No

  42. Yes

  43. No

  44. yes

  45. No

  46. Python Game: {Insert Title}

  47. start

  48. Open Menu

  49. Game Events()

  50. Does Player want to quit?

  51. end

  52. no

  53. yes

  54. Player()

  55. Attributes:

    name = "" (maybe)

    health = 3

    x_coordinate = int

    y_coordinate = int

    image = .png??

  56. Behaviors:

    move(): void

    checkCollision(): void

Informationen

Beschreibung
Flussdiagramm am Python Game, erstellt von Prachee Nanda am 04/01/2019.
Erstellt von
Prachee Nanda
Aufrufe
0
Bewertung

Feedback

Worum geht es?

Wie gefällt dir das neue Design?

Dein Eindruck