Group Details Private

china users

paying users from China

  • RE: My friend can't sign into creaticode forum

    @011830-0a42ef84

    Can you please ask your friend to email his/her email login to info@creaticode.com? We will check why.

    CreatiCode

    posted in Help
  • CreatiCode XO (AI Asssitant) - Give Me a Quiz

    Introduction

     

    To most people, quizzes are not fun: they can be too easy or too hard, and we may have to take them before we are ready. However, quizzes are one of the most effective tools for reinforcing what we have learned and identifying gaps in our understanding.

    With XO, you can get quizzes that are much more fun: you can customize the theme of the quizzes and choose the difficulty level.

    If you are a teacher, you can also use XO to generate quizzes for your entire class.

     
    For an important note: XO can not accurate evaluate all quizzes yet, especially coding challenges. That is because currently, XO can not run the program, so it has to rely on reviewing the code. Also, XO is not smart enough to recognize all coding issues yet (though it is catching up fast!). To be safe, teachers may still need to review the final answers.

     
     

    Generate Quiz for Any Difficulty Level

     

    In the most basic format, you can ask XO to generate a random quiz by saying “give me a quiz on [TOPIC] with difficulty [LEVEL]”. The LEVEL can be 1, 2, 3 or 4, with 1 being the easiest. For example, when you say “give me a quiz on variables with difficulty 1”, you may get a response like this:

    7ce88214-7a56-4a83-883a-7e48eb72277b-image.png

     
    Now you can simply answer the quiz in the chat and get the result:

    e1dc5516-e4e9-410e-8014-ac075047ce0e-image.png

     
     

    Specify Quiz Format

     

    By default, XO will randomly select from these 3 formats: coding challenge, multiple-choice question and short-answer question. However, you can specify the format if you have a preference. For example, you can ask “give me a coding challenge on variables with difficulty 2”:

    72d6bef5-00bf-4cfd-8cc3-23d4efd6a2d9-image.png

     
    After implementing the solution, we can ask XO to check out solution by saying “check my code” or “check my answer”. If there is an issue, XO will point it out:

    d6552510-084a-484a-9465-b28e7293c3a5-image.png

     
    After fixing the issue, we can ask XO to check again by saying “check again” or “how about this new answer”:

    572962bf-58e9-4d36-b370-9bdef7b0cba9-image.png

     
     

    Specify Quiz Theme/Story

     

    Quizzes can be made fun when we add some “flavors” to them. Specifically, we can ask XO to generate quizzes with a given background story, character or theme. XO will be happy to do so. For example, you can pretend to be any character, like an Alien:

    e2335387-144d-452e-bcb2-e7bd63b8b368-image.png

     
    Below are some more examples that you can try:

    • I’m Frodo and you are Gandalf. Give me a coding challenge on repeat loops
    • It’s Earth Day. Write a level 1 coding quiz for using events that aligns with this theme.
    • Give me a coding test on the <key pressed?> sensor block, and use the storyline of Star Wars
    • As a wizard in Hogwarts, I need a quiz on cloning sprites using the “create clone of” block. Difficulty Level 2.
    • I’m a detective solving a mystery. Challenge me with a puzzle on broadcasting messages. Difficulty Level 1.
    • Imagine I’m a pirate seeking treasure. Create a navigation challenge using motion blocks. Difficulty Level 3.
    • I’m a chef in a cooking show. Whip up a coding recipe that uses lists to manage ingredients. Difficulty Level 2.
    • Pretend I’m a superhero. I need to learn about sensing blocks to avoid obstacles. Difficulty Level 1.
    • I’m an astronaut on Mars. Send me a coding task to analyze patterns with “repeat until” loops. Difficulty Level 3.
    • As a medieval knight, I need to learn about variables to keep track of my health and gold. Difficulty Level 2.
    • I’m a time traveler in ancient Egypt. Teach me how to use events blocks to start scripts. Difficulty Level 1.
    • As a vampire hunter, I need a challenge on using “if then else” statements to make decisions. Difficulty Level 2.
    • Imagine I’m a DJ at a party. I need to learn how to use sound blocks to mix tracks. Difficulty Level 1.
    • I’m a scientist researching climate change. Give me a quiz on using data blocks to record temperatures. Difficulty Level 3.
    • As a spy behind enemy lines, I need a stealth coding task using operators to crack codes. Difficulty Level 2.
    • I’m a dinosaur in the Jurassic period. Challenge me with motion blocks to dodge meteors. Difficulty Level 1.
    • Pretend I’m a farmer. I need a coding quiz on repeat loops to automate my farm tasks. Difficulty Level 2.
    • I’m a king defending my castle. Create a challenge using variables to track resources and soldiers. Difficulty Level 3.
    • As a deep-sea diver, give me a coding test on the “touching color?” block to navigate coral reefs. Difficulty Level 2.
    • I’m an elf crafting magical items. Challenge me with lists to manage my materials. Difficulty Level 1.
    • As an explorer in a haunted house, I need to use broadcast messages to trigger ghostly events. Difficulty Level 3.
    • I’m a hacker in a cyberpunk city. Send me a quiz on using “repeat until” loops to bypass security. Difficulty Level 2.
    • Imagine I’m a racer at the Grand Prix. I need a coding test on motion blocks to control my speed. Difficulty Level 1.
    • As a magician preparing a show, give me a challenge using sensing blocks to interact with the audience. Difficulty Level 2.
    • I’m an artist in a gallery. Create a coding quiz on cloning sprites to replicate my paintings. Difficulty Level 3.
    • Pretend I’m a kid in a candy shop. I need to learn about variables to count my candies. Difficulty Level 1.
    • I’m a robot in a factory. Challenge me with operators to calculate production efficiency. Difficulty Level 2.
    • As a superhero fighting villains, send me a quiz on “if then” statements to choose my actions. Difficulty Level 3.
    • I’m a historian decoding ancient scripts. I need a task using lists to categorize artifacts. Difficulty Level 2.
    • Imagine I’m a beekeeper. Give me a coding test on repeat loops to manage my bee routines. Difficulty Level 1.
    • I’m a snowboarder in the Olympics. Challenge me with motion blocks to perform tricks. Difficulty Level 3.
    • As a composer writing a symphony, I need a quiz on sound blocks to arrange my music. Difficulty Level 2.
    • I’m an alien exploring Earth. Create a coding challenge on broadcasting to communicate with my spaceship. Difficulty Level 4.

     
     

    Specify More Details

     

    XO can follow our instructions very well, so we can feel free to add more details to our request. Here are 2 examples.

    Example 1 - Limit Scope of Blocks

    Since XO may not know which blocks we already know, it may generate a quiz that uses some blocks that we are unfamiliar with. To avoid this issue, we can specify which blocks can be used like this: give me a coding challenge on clones. difficulty 1. note that I am new to Scratch and I can only use motion and event blocks

    6d83a0d7-f6f8-4875-ab42-8ea20ed26b10-image.png

    Example 2 - Reference the Project

    Since XO can read the code in the playground, you can ask Xo to use that as a reference when creating the quiz. For example, you can open the Explore page and find an interesting game, then ask XO this: I’m a 5th grade teacher. I just explained this project to my class, and now I hope to test their understanding. Give me a multi-choice question of level 1 about how this project works.

    19861567-48be-4978-8172-845e0b9f3249-image.png

     
     

    Share Your Quizzes

     

    If you have found any interesting way to prompt XO to generate quizzes, please feel free to reply to this post below with the request you used and XO’s response.

    posted in Tools
  • CreatiCode XO (AI Assistant) - Automatic Feedback

    Introduction

     

    This tutorial is designed primarily for K-12 educators, though students may also find it insightful.

    As educators, one of our key goals is to provide students with constructive feedback that acknowledges their efforts and guides them towards improvement. Effective formative assessment is crucial in this process, as it helps highlight both strengths and areas for growth.

    Nevertheless, crafting thoughtful and comprehensive feedback can be quite demanding. It requires a careful review of each element of a student’s work and a considered choice of words to ensure the message is both encouraging and instructive.

    To address this challenge, XO has been developed to provide feedback on any given project when we provide it with a rubric. Here is how it works:

    1. Teachers draft a rubric as part of the assignment, a common practice already in place.
    2. Students, as they progress with their project, can request XO to assess their work according to the specified rubric. They can continue to seek feedback and make improvements until they are satisfied with their project.
    3. Students submit the final project to their teachers for evaluation.
    4. Teachers can review the log of XO conversations for each student and can also utilize XO to evaluate student submissions.

    The key advantage of this approach is that it offers students instant, personalized feedback, significantly enhancing both the efficiency and engagement of the learning process.

     
     

    Example Step 1 - Teacher Creates an Assignment

     

    Let’s consider a scenario where a teacher has recently introduced the concept of the “broadcast message” block in class. Here’s an example of how an assignment using this concept might be structured along with its rubric:

    Create a project that effectively demonstrates the use of message broadcasting between sprites.
    
    Rubric:
    1. The project must include at least two sprites, each with appropriately descriptive names.
    2. At least one sprite should broadcast a message that another sprite receives and responds to.
    3. All message names used should be clear and meaningful.
    4. The project should narrate a coherent story, such as a dialogue between two people or an interaction between two animals.
    5. [Extra credit] Implement a broadcast message that triggers simultaneous actions in two or more sprites.
    

     
     

    Example Step 2 - Student Buiids Initial Project

     

    Suppose a student creates an initial version of the project with 2 sprites like this:

    Sprite “Sprite1”:

    51beafc1-ada5-4fb5-a5e9-d7392e38a32e-image.png

     
    Sprite “Crab”:

    2f1c28e3-72d7-4f2c-ba5d-86e29cf5f8a9-image.png

     
    Note that the Sprite1 is missing the “broadcast” block.

     
     

    Example Step 3 - Student Gets Initial Feedback

     

    Now, suppose the student asks XO for feedback. He/she needs to ask XO to “review the project for the given assignment”, then paste the assignment/rubric into the chat. Don’t worry about the format, as XO will still understand the request even if it is all in one line:

    3af167f6-ad83-4b75-b041-9a7ceae94693-image.png
    e3fb043b-37b3-4561-b880-698d7499aafe-image.png

     
    Note that XO has gone through every requirement in the rubric thoroughly, and it has correctly pointed out some issues, especially that “message1” is not sent out.

     
     

    Example Step 4 - Student Improves Program

     

    Next, suppose the student has updated the program to broadcast the message, and also renamed the message name like this:

    Sprite1:

    3db132ed-fb59-4354-8061-d978e6858c45-image.png
    Crab:

    1ee3d3e2-5bc8-4029-92a5-d5eea053fbbd-image.png

     
     

    Example Step 5 - Student Asks for Feedback Again

     

    Now, the student can ask for another review by saying “review again” or “how about now”:

    e33e49e3-1c07-4364-b6d0-8888fbb1eba8-image.png

     
    Note that the review has been updated to confirm the changes the student has made, and also encourage student to focus on the remaining issues.

    The student can keep improving the project continuously until he/she is happy about it.

     
     

    Notes on Writing Rubrics for XO

     

    It’s important to understand that XO is capable of evaluating only the code blocks within each sprite. This means that XO is unable to assess several aspects of the project:

    • Aesthetics: XO cannot “see” or evaluate the visual elements like costumes or backdrops on the stage.
    • Runtime Issues: XO does not run the projects, so it cannot detect certain bugs or issues that only appear during execution.
    • Project Description or Comments: XO is unable to read and interpret any written project descriptions or embedded comments.

    Given these limitations, XO is best utilized for static analysis of the programming elements of a project.

     
     

    Use XO to Write Rubrics

     

    If you’re uncertain about how to write effective rubrics for XO, you’ll be pleased to know that XO can assist in writing the rubrics itself. Who doesn’t love an AI that can write instructions for itself?

    For best results, here are some tips for asking XO to write rubrics:

    • Provide as much details about the student and the assignment as possible;
    • Include all key points you want to include
    • If you already have a sample project, open it and ask XO to use this project as a reference
    • Ask XO to improve until you are satisfied

     
    Here is an example request:

    I'm teaching fifth grade students how to use repeat loops in combination with variables. 
    Write an assignment with rubric. It should cover variable initialization and variable
     updates inside the loop.
    

     
    And here is an example output from XO:

    09ed29a0-aa2a-4c97-a3aa-dd3ea917950b-image.png

    posted in Tools
  • CreatiCode XO (AI Assistant) - New Project Design

    Introduction

     

    CreatiCode extends MIT Scratch by introducing a variety of new block categories including 3D game engines with physics capabilities, 2D physics, artificial intelligence, app widgets, multiplayer online games, augmented reality, and table variables. These additions allow for the creation of a much broader range of projects beyond what is possible with standard MIT Scratch.

    Starting a new project can sometimes be daunting if you’re unsure of where to begin. This is when you can ask XO for help. XO has seen many different types of projects, so it can often make some suggestions on how to design a new project.

    It’s important to remember that XO is primarily an assistant. While it can provide helpful tips and guidance, it cannot create an entire project on its own. XO is optimized for short, specific responses, and its performance may decline when tasked with generating lengthy replies. Moreover, as a coding learning tool, XO aims to enhance learning by encouraging students to engage more deeply with the programming process. Providing full code solutions would be counterproductive to this educational goal.

    Also, XO can not generate original ideas: everything XO says is a response to your idea based on other existing projects that XO has seen before. For a project to truly stand out, your own creativity and vision are key. XO’s role is to assist in bringing your unique ideas to life, offering support and suggestions based on its vast database of project insights.

    In this tutorial, you will learn how to use XO to design new projects.

     
     

    Generate Project Outline

     

    Whenever you come up with an idea, you can ask XO how to build it. XO would give you an outline of the project. You are use this as a baseline to estimate the complexity of the project, and whether you are ready for it.

    For example, you can ask, “how to build a 3D platformer game?”, and here is an example response:

    r3.gif

     
    It typically follows this format:

    • Overview of the project
    • Key components (stage and sprites)
    • Key logical steps to implement each component
    • Tutorial or demo project links

     
     

    Customize with More Details

     

    If you simply provide a few words for your project idea, XO will respond with a fairly generic outline. To get more original results, you would have to provide more details. As a basic rule, as you provide more details, XO’s response will also become more unique.

    For example, here is an updated request:

    Tell me how to design a 3D platformer game, where the player controls an Alien that can both jump and change direction in the air, and the platforms are moving themselves, and there are enemies that fire lasers at the Alien. The Alien can also pick up awards to run faster or jump higher.

    Here is what XO says about it. As explained before, the originality has to come from your input.

    r4.gif

     
     

    Start Small

     

    Since XO can generate outlines for any project idea, it’s easy to be ambitious and aim for a project that might be too complex to manage effectively. For instance, numerous students have contemplated building “Minecraft in 3D” only to realize that such a project exceeds the typical scope of school assignments.

    A key principle to follow is “don’t bite off more than you can chew.” This means you should aim for projects that are challenging yet still within your capabilities. As you develop your coding skills through continuous practice, you’ll be equipped to tackle increasingly complex projects over time.

     
     

    Ask for Project Ideas

     

    Sometimes you run out of ideas on what to build, you can also ask XO to give you some suggestions. For example, you can say: I want to build a project to practice how to use ChatGPT blocks, can you give me some ideas for small projects?

    You will get a list like below, which may inspire you to find your own idea:

    5fbe217c-50ee-44dd-8db4-25b177912ebf-image.png

     
     

    Focus on Specific Steps

     

    After getting a project outline, most people are tempted to say this: “give me all the code!”. However, XO can’t simply convert the project design to a fully working project. Most likely, you will get a “disappointing” response like this:

    94ecabea-e76d-48e7-b64d-7650ded38b84-image.png

     
    So, what’s the right way to proceed? We simply need to focus on individual steps/features. For example, if we focus on the first step to set up the 3D scene, XO will be happily working with us again:

    9dccd6c8-872e-4672-971e-a8adc57786ec-image.png

    posted in Tools
  • CreatiCode XO (AI Assistant) - Debugging

    Introduction to Debugging

     
    One area where every Scratch programmer needs help is debugging. When we say a Scratch program has a “bug”, we are really saying the program is doing something unexpected. This usually happens because what you expected to see isn’t what actually appears on the screen. Most of the time, the project is doing exactly what you told it to do through your code—it’s just not what you wanted.

    Think of debugging as being a detective in your own computer game. Your mission is to find the clue—a specific part of your code or a single piece of information you’ve entered—that’s causing the unexpected behavior. You can look at each part of your code closely, or you can play detective by watching what the project does and making smart guesses about what might be wrong.

    Now, you might be wondering, how does XO fit into all of this? Think of XO as your trusty sidekick in this detective game. In this tutorial, you’ll discover several strategies for debugging with XO’s support.

    Important Note: Do not rely solely on XO to detect all problems in your code. XO does not execute your code but reviews it statically, which is challenging even for experienced programmers. Additionally, XO’s capabilities in logical reasoning and error detection are limited. Consequently, the primary responsibility for identifying issues rests with you, and XO should serve merely as a supporting tool.

     
     

    Explain “Expected vs Actual”

     

    The biggest mistake in using XO for debugging is asking questions that do not clearly explain the problem, such as “it is not working!”, “what’s wrong?” or “help me debug!”.

    XO doesn’t know what you are expecting to see. Also, XO can only look at your code, and it can not run it, so it does not know what you observe when the program runs. When it is not clear what’s the issue, XO will ask for clarification:

    50c778e5-5512-4f9c-8ba5-c653a524a955-image.png

     

    The recommended format to ask XO to debug is to include these 2 parts:

    • What I expect the program to do
    • What I observe when the program runs

    Here are some good examples:

    • I expect the Dog to say 1 to 10, but it only says 1 to 8
    • I am trying to move the clone to a random position, but I see that it always appears in the same position
    • I thought the list would contain 10 numbers, but when I ran it, I only got 1 number

    Sometimes, the expected behavior is obvious from the description, so you may omit it. For example:

    • The chatbot never responds to my question --> implying we expect the chatbot would respond in a short time
    • The sprite doesn’t move, why? --> implying we expect it to move
    • The 3D table’s top is not connected with its legs --> implying we expect the table top to connect with the legs.

     
     

    Common Coding Mistakes

     

    For commonly made coding errors, XO can spot them right away. It will only report one or two such problems each time to avoid overwhelming you. Also, the problem it reports may not directly resolve the issue you are facing. Yet, you should still fix the reported problem first, then ask XO for more suggestions.

    For example, here is a simple program with a variable initialization bug. XO can not only point out the issue, but also suggest how to fix it.

    b89dea2d-abbb-42e8-ab89-d633171fdda5-image.png

     
    Note that XO understands all the new blocks used in CreatiCode, and can point out issues associated with their usage. For example, here is a common issue in 3D programs about initializing 3D scenes:

    79e25caa-0fe7-4c37-a998-d66872342160-image.png

     
     

    Narrow Down the Problem’s Scope

     

    For more complex issues and larger projects, XO may not have the immediate answer. In these situations, it’s important to first figure out where the problem might be coming from by focusing on specific parts of your project. You can often determine the most important parts to look at by thinking about how your program is supposed to work. For instance, if your character isn’t moving when you press a button, you should check the parts of your code that are supposed to respond to button presses and make your character move.

    If you’re not sure which parts of your code to look at first, you can get XO’s help. If you explain the problem well, XO can help figure out the best place to start looking.

    As a practice, please open the following project and remix it:

    https://play.creaticode.com/projects/6616a1a7564fc287b0e9b879

     

    Next, modify this block to set the y speed to -450 instead of 450, which will be the bug we try to find.

    4693e956-7925-4ade-b56c-69c15358ceb8-image.png

     
    Then you can ask XO to help locate the issue, and it will suggest a few relevant places:

    93a7c6dc-96e8-418f-967c-7459a7f2c8f4-image.png

     
     

    Use XO as a “Rubber Duck”

     

    Another commonly used debugging technique is called “Rubber Duck Debugging”. The idea is to describe your code to a rubber duck toy that will listen to you. This process often helps us rethink the logic of the program and identify flaws. In addition, it forces us to pay attention to every block and every input as we describe the code. It sometimes helps us spot small mistakes we have overlooked.

    XO can serve a similar role as a rubber duck. You can simply tell XO to serve as your rubber duck, or you can click the question mark button directly:

    r1.gif

     
    After this, XO will enter a special mode: it will respond with short sentences, assist you in walking through your code, and point out any potential mistakes as you talk.

    For example, with the issue of wong y speed above, XO will suggest that issue as we discuss with it:

    844da59d-7160-40e9-85a2-18408f7dc0f9-image.png

     
    To exit this “rubber duck” mode, you can simply clear the chat to restart the conversation:

    r2.gif

    posted in Tools
  • RE: Can we make tutorials?

    @shrukin

    Yes, please feel free to post in the tutorial category: https://www.forum.creaticode.com/category/17/tutorials

    Thank you

    posted in Help
  • RE: CreatiCode XO (AI Assistant) - Explain To Me

    @011830-0a42ef84

    It should be able to write code for you and display them visually. As shown above, when you ask “how to use the ‘for’ block”, it would show you an example program as visual blocks, and you can directly copy that into your playground.

    If that doesn’t work for you, please share the prompt you are using, and we will investigate why.

    Thank you
    Bin

    posted in Tools