|
| 29 Jul 2014 06:55 PM |
Hi all!
I'm creating a game to test/teach scripting and I was hoping to get your help and input. Right now there are two large tasks needed for the game (apart from making it look pretty):
1) Creating questions. Not only do we need to add the questions and challenges themselves, we also need code to evaluate whether the user satisfied the requirements of the question. For example, one of the questions we currently have is to change the color of a part with a given name. The game checks the color of the part after the user's code is run to see if the color was changed to the correct value.
2) Testing. There are often many ways to achieve things through code and our test cases may not catch certain approaches correctly. Please let me know if you come up with a correct solution to a question in the quiz which the game does not recognize.
The game is available to play here: www.roblox.com/Quiz-Test-Zone-place?id=169112241
If you have any ideas for questions please feel free to comment on this thread or send me a PM. |
|
|
| Report Abuse |
|
|
ehern11
|
  |
| Joined: 23 Apr 2011 |
| Total Posts: 1541 |
|
| |
|
CrowClaws
|
  |
| Joined: 04 Jul 2010 |
| Total Posts: 4466 |
|
|
| 29 Jul 2014 07:00 PM |
Quick Question. How would asking a Newbie scripter srcipting questions help them learn... e.o |
|
|
| Report Abuse |
|
|
Krosskode
|
  |
| Joined: 26 Aug 2010 |
| Total Posts: 11001 |
|
|
| 29 Jul 2014 07:10 PM |
| How about a question with the new pathfinding service? That'd sure be neat! |
|
|
| Report Abuse |
|
|
| |
|
CrowClaws
|
  |
| Joined: 04 Jul 2010 |
| Total Posts: 4466 |
|
|
| 29 Jul 2014 07:12 PM |
| Wait. This is a Forum Mod with only 8 forum posts... |
|
|
| Report Abuse |
|
|
ehern11
|
  |
| Joined: 23 Apr 2011 |
| Total Posts: 1541 |
|
| |
|
ehern11
|
  |
| Joined: 23 Apr 2011 |
| Total Posts: 1541 |
|
|
| 29 Jul 2014 07:14 PM |
| i think your game is broke, I changed the BrickColor to yellow and it said it did not work >.< |
|
|
| Report Abuse |
|
|
|
| 29 Jul 2014 07:15 PM |
| I don't post here very often, my true domain is the Wiki. In any case, the idea of this is to be a supplemental learning tool. Just like learning math, you have to do exercises to make sure you understand the concepts. This game will be a companion to lessons and articles that we publish on the Wiki and such. |
|
|
| Report Abuse |
|
|
KEVEKEV77
|
  |
| Joined: 12 Mar 2009 |
| Total Posts: 6961 |
|
|
| 29 Jul 2014 07:15 PM |
Why cant I change it to yellow? plz be more specific.
Color3? New yeller? Is there even a "yellow" brickcolor? |
|
|
| Report Abuse |
|
|
CrowClaws
|
  |
| Joined: 04 Jul 2010 |
| Total Posts: 4466 |
|
|
| 29 Jul 2014 07:16 PM |
@Urist I see. So you are going to make a Quiz and link it to Wiki Article(s)
|
|
|
| Report Abuse |
|
|
|
| 29 Jul 2014 07:16 PM |
Krosskode: A pathfinding question sounds cool. I'll see what I can do.
ehern11: For the brick color question, do you mind posting the code you used that didn't work? |
|
|
| Report Abuse |
|
|
KEVEKEV77
|
  |
| Joined: 12 Mar 2009 |
| Total Posts: 6961 |
|
|
| 29 Jul 2014 07:17 PM |
| game.Workspace.ColorPart.BrickColor = BrickColor.new("Yellow") |
|
|
| Report Abuse |
|
|
CrowClaws
|
  |
| Joined: 04 Jul 2010 |
| Total Posts: 4466 |
|
|
| 29 Jul 2014 07:18 PM |
@Urists About the color thing. You don't have the game check bricks, you can make it check the chat. Like
if playersaid "game.Workspace.Brick.Color = aonsfsd") do stuffs
|
|
|
| Report Abuse |
|
|
ehern11
|
  |
| Joined: 23 Apr 2011 |
| Total Posts: 1541 |
|
|
| 29 Jul 2014 07:20 PM |
| the code that kev posted was the one i used. |
|
|
| Report Abuse |
|
|
|
| 29 Jul 2014 07:31 PM |
| Curious, BrickColor.Yellow is fine, BrickColor("Yellow") is not. If you want to use a string constructor it actually has to be BrickColor("Bright yellow"). I'll change the question prompt to better reflect this. Good catch! |
|
|
| Report Abuse |
|
|
ehern11
|
  |
| Joined: 23 Apr 2011 |
| Total Posts: 1541 |
|
|
| 29 Jul 2014 07:31 PM |
| what's the id to daring beards texture... |
|
|
| Report Abuse |
|
|
ehern11
|
  |
| Joined: 23 Apr 2011 |
| Total Posts: 1541 |
|
|
| 29 Jul 2014 07:35 PM |
| um, so i have the beard there and everything but it keeps saying i'm wrong |
|
|
| Report Abuse |
|
|
|
| 29 Jul 2014 07:57 PM |
| free model it, it works 100 percent!! |
|
|
| Report Abuse |
|
|
|
| 30 Jul 2014 12:20 PM |
| Beard and Color questions may not work for some folks, there was a problem with the random number generator (if you're curious it was because math.randomseed is not deterministic) |
|
|
| Report Abuse |
|
|
| |
|
|
| 30 Jul 2014 12:33 PM |
| Uhhh, how do we know where the face is in the model? |
|
|
| Report Abuse |
|
|
|
| 30 Jul 2014 12:37 PM |
Alright, so I got stuck on the face thing because I couldn't figure out where the face would be located.
How about instead of explaining that the part to change the color of is game.Workspace.ColorPart, why not have a dynamic layout of relevant stuff like the Explorer?
|
|
|
| Report Abuse |
|
|
|
| 30 Jul 2014 07:06 PM |
| The game now features a simple explorer/property window. Hopefully this should help more than just a text description of the part hierarchy. Also decided to add hints soon. |
|
|
| Report Abuse |
|
|
|
| 30 Jul 2014 07:15 PM |
I think this is an excellent way for beginners to practice and test their scripting skills.
However, I did notice a certain problem.
I tried scripting in some different code other than what was expected, and quite obviously it turned out to be incorrect in terms of the goal. When I tried resetting, it did clear the code but it did not reset the Workspace. This means that if I were to, for example, remove the head of the NPC in the face-changing part, there would be no way to change the face.
A hint button may be something to consider; it can give small tidbits of code or point out a common mistake. |
|
|
| Report Abuse |
|
|