Snake: Difference between revisions

Content deleted Content added
Morn (talk | contribs)
Morn (talk | contribs)
Line 1,524: Line 1,524:
==={{header|Locomotive Basic}}===
==={{header|Locomotive Basic}}===
[[File:Snake locomotive basic.png|thumb|''Snake'' running in CPCBasic]]
[[File:Snake locomotive basic.png|thumb|''Snake'' running in CPCBasic]]
Use the cursor keys to control movement direction. If you find gameplay too easy, lower the skill parameter in line 20 or increase ml (maximum snake length).
Use the arrow keys to control movement direction. If you find gameplay too easy, lower the skill parameter in line 20 or increase ml (maximum snake length).


If you are playing this in [https://benchmarko.github.io/CPCBasic/cpcbasic.html CPCBasic], paste the code into the top box, then click on the "Reset" and "Run" buttons below and finally click on the CPC screen so it gets keyboard focus. (The frame around the screen will turn dark).
If you are playing this in [https://benchmarko.github.io/CPCBasic/cpcbasic.html CPCBasic], paste the code into the top box, then click on the "Reset" and "Run" buttons below and finally click on the CPC screen so it gets keyboard focus. (The frame around the screen will turn dark).