Advertisement
Guest User

Untitled

a guest
Feb 20th, 2019
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.71 KB | None | 0 0
  1. simon= array( "");// here are the colors in the next function
  2.  
  3. function color()
  4. {
  5. level.color_random= randomint(4);
  6.  
  7. if( color_random == 0)// red
  8. {
  9. level thread red();
  10. here I do not know what to put //here add red in the array "simon"
  11.  
  12.  
  13. }
  14. if( color_random == 1)// green
  15. {
  16. level thread green();
  17. here I do not know what to put //here add green in the array "simon"
  18.  
  19.  
  20. }
  21. if( color_random == 2)// yellow
  22. {
  23. level thread yellow();
  24. here I do not know what to put //here add yellow in the array "simon"
  25.  
  26.  
  27. }
  28. if( color_random == 3)// blue
  29. {
  30. level thread blue();
  31. here I do not know what to put //here add blue in the array "simon"
  32.  
  33.  
  34. }
  35.  
  36.  
  37. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement