Coder Social home page Coder Social logo

dscpesu / pseudo-sketch Goto Github PK

View Code? Open in Web Editor NEW
11.0 11.0 3.0 92 KB

๐Ÿ”— Dive into the world of pseudocode evaluation with our interactive tool. Link nodes, visualize logic, and receive instant feedback on your problem-solving skills.

License: MIT License

CSS 17.53% JavaScript 82.47%
hacktoberfest hacktoberfest-accepted hacktoberfest2023

pseudo-sketch's People

Contributors

adithya-s-k avatar karthik2603-thebrogrammer avatar rahul-baradol avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

pseudo-sketch's Issues

Create one/ many questions and place in questions.js

Following the schema submitted for the questions, design questions with the pseudocode elements, (each node is an element).
Fetch all the questions, map and render on the web-app
on click of a question, set the state to that question and display the nodes. Plain text is enough, no need of placing in react flow nodes

Create React Flow nodes.

For each question, display the react flow nodes and make sure connections are possible. Make a submit button showing the connected order, logging to console is sufficient.

Define a JSON schema/ pattern for the questions. (NON CODE)

  • Create a new folder in the next13 project root by the name 'question-model' and submit a json file with the pattern in it.
  • Keep in mind to add wrong pseudo code elements to add toughness to the questions.
  • Each question must have an unique identifier by key id

Initialise a next13 route(serverless function) with endpoint /evaluate/[id]

  • Build a serverless function for this endpoint inside the pages directory (make one if not already made)
  • Id here refers to the question ID for which, evaluation is necessary.
  • Perform checking between the submitted node-order and the correct node-order and return responses accordingly.
  • In case the submission feature is yet to be coded, can perform with a hardcoded one.
  • Ex: [1,6,4,5,2,3] so on, where each is the node id.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.