Enhancing Real Time Multiplayer Tests impossible

Hello. I’ve ran into difficulties trying to figure out a way to correctly implement the following issue. It seems extremely impossible to me. I have thought about using Javascript’s evaluate like the following codeblock:

  const url = getUserInput('url') + '/public/Collectible.mjs';
  const data = await fetch(url);
  eval?.(`"use strict";(${data})`);
  const testItem =  new Collectible({ x: 100, y: 100, id: Date.now() });

However due to CORS, the data isn't being fetched nor evaluated. I have tried my best to use eval correctly, but think it might be better to rely on the test API itself to figure out if campers have completed the challenges correctly. And if they cheat, they're only cheating themselves.

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.