mirror of
https://github.com/gwenhael-le-moine/c-urs_-toil-s.git
synced 2024-12-27 09:58:44 +01:00
remove debugging stuff
This commit is contained in:
parent
f643329db4
commit
cea58a9e5b
1 changed files with 0 additions and 4 deletions
|
@ -91,10 +91,6 @@ function won_or_not( state ) {
|
||||||
}
|
}
|
||||||
|
|
||||||
function display_on_canvas( state, canvas_elt ) {
|
function display_on_canvas( state, canvas_elt ) {
|
||||||
board_infos = {};
|
|
||||||
board_infos.cell_dimensions = {};
|
|
||||||
board_infos.cell_dimensions.width = 20;
|
|
||||||
board_infos.cell_dimensions.height = 20;
|
|
||||||
var ctx= document.getElementById( canvas_elt ).getContext( '2d' );
|
var ctx= document.getElementById( canvas_elt ).getContext( '2d' );
|
||||||
for ( var i=0 ; i < LEVEL_HEIGHT ; i++ ) {
|
for ( var i=0 ; i < LEVEL_HEIGHT ; i++ ) {
|
||||||
for ( var j=0 ; j < LEVEL_WIDTH ; j++ ) {
|
for ( var j=0 ; j < LEVEL_WIDTH ; j++ ) {
|
||||||
|
|
Loading…
Reference in a new issue