Closed mhtess closed 7 years ago
Also, line 337:
"selected" : $('#cell' + i).css('border') == '2px solid rgb(255, 0, 0)' ? "true" : "false"
that's pretty haggard. this will break if we change the css. Should make a function that gets called whenever they click on something, and updates an array of whether or not the object was clicked..
Currently there is a lot of stuff in
mp-game-1.js
that shouldn't be there.create_table(2,6,"critter_test_display");
should be generalized (what is 2? what is 6?)