AntSim
AntSim copied to clipboard
Save user-code
Find a good API/concept to save user-code in a database. To be able to play against foreign code, there should also be a minified/uglified version of the code which is then used as the simulation adversary.
Here some info/suggestion on using user written code: https://stackoverflow.com/questions/21218857/security-issues-for-allowing-users-to-add-own-javascript-to-your-site/21244925#21244925
Perhaps wenn should use Firebase as a start https://firebase.google.com/