const GAME_SETUP = {
Player_values : 1000,
Destroyed_blocks: 0,
Origin_counter: 0,
Created_balls: 0
};
const SYSTEM_values = {
Screan_wh: [screen.width, screen.height],
BROWSER_INFO: {
BROWSER_NAME: navigator.appName,
Browser_Version: navigator.appVersion,
Platform_info: navigator.platform,
User_agent: navigator.userAgent
}
};
for (let i = 0; i < Object.keys(GAME_SETUP).length; i++) {
runtime.objects.sys_info.text.append `${"\n Game values\n"}`;
runtime.objects.sys_info.text.append `${Object.keys(GAME_SETUP)}: ${GAME_SETUP[Object.keys(GAME_SETUP)]}\n`;
};
heres my cde, im new to js and have been trying my best to learn this. i wanted to add a logs page just so that i could add that to my project for school work any help is much apreciated