GDQuest / GDQuest/learn-gdscript

Implement a timeout as a fail-safe for long running practices

Open
#1,211 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
GDScript
Stars
2.8k
Forks
235
PR merge metrics
No merged PRs in 30d

Description

There are some cases where students will write code that produces effectively infinite loops. and we can wrap around those and break out of those by limiting the of time a practice might be running total.

We may not detect the infinite loop but at least we can add that as a way for students to not lock the current tab in their browser and raise information that, not only did the result not work, but also maybe there's an infinite loop in the student's code and provide an error explanation + a link to the GDLibrary or something for a write-up on that.

See #960 for example. implementing this feature would fix that issue

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.