# Difference between revisions of "Snake - the game"

From JSXGraph Wiki

Jump to navigationJump to searchA WASSERMANN (talk | contribs) |
A WASSERMANN (talk | contribs) |
||

Line 23: | Line 23: | ||

} | } | ||

} | } | ||

− | var curve = board.createElement('curve', snake.points , {strokeWidth:20}); | + | var curve = board.createElement('curve', snake.points , {strokeWidth:20,opacity:0.5}); |

var point = board.createElement('point', [ | var point = board.createElement('point', [ | ||

Math.round(Math.random()*18)+1,Math.round(Math.random()*18)+1], | Math.round(Math.random()*18)+1,Math.round(Math.random()*18)+1], |

## Revision as of 15:08, 8 February 2009