diff --git a/js/index.js b/js/index.js
index 99e461f..01cfcaf 100644
--- a/js/index.js
+++ b/js/index.js
@@ -38,7 +38,7 @@ if (screen.height < 800) {
//**********************************************************************
-// check for URL parameters to load a custom game
+// check for URL parameters to load an experimental game
//**********************************************************************
//example https://landgreen.github.io/sidescroller/index.html?
@@ -61,8 +61,8 @@ function getUrlVars() {
window.addEventListener('load', (event) => {
const set = getUrlVars()
if (Object.keys(set).length !== 0) {
- openCustomBuildMenu();
- //add custom selections based on url
+ openExperimentMenu();
+ //add experimental selections based on url
for (const property in set) {
set[property] = set[property].replace(/%20/g, " ")
set[property] = set[property].replace(/%CE%A8/g, "Ψ")
@@ -100,7 +100,7 @@ window.addEventListener('load', (event) => {
}
if (property === "difficulty") {
simulation.difficultyMode = Number(set[property])
- document.getElementById("difficulty-select-custom").value = Number(set[property])
+ document.getElementById("difficulty-select-experiment").value = Number(set[property])
}
if (property === "level") {
document.getElementById("starting-level").value = Number(set[property])
@@ -146,7 +146,7 @@ window.onresize = () => {
};
//**********************************************************************
-// custom build grid display and pause
+// experimental build grid display and pause
//**********************************************************************
const build = {
onLoadPowerUps() {
@@ -253,7 +253,7 @@ const build = {
document.getElementById("pause-grid-right").style.display = "none"
window.scrollTo(0, 0);
},
- isCustomSelection: true,
+ isExperimentSelection: true,
choosePowerUp(who, index, type, isAllowed = false) {
if (type === "gun") {
let isDeselect = false
@@ -318,14 +318,14 @@ const build = {
techID.innerHTML = `
${tech.tech[i].name} ${isCount}
${tech.tech[i].description}
`
}
- if (techID.classList.contains("build-grid-disabled")) {
- techID.classList.remove("build-grid-disabled");
+ if (techID.classList.contains("experiment-grid-disabled")) {
+ techID.classList.remove("experiment-grid-disabled");
techID.setAttribute("onClick", `javascript: build.choosePowerUp(this,${i},'tech')`);
}
} else {
techID.innerHTML = `