SRL Archive - Non-RuneScape Scripts

Master Games: Snake


masterBB

2012-06-02 08:49:14

[INDENT]Master Games:[/INDENT]

[INDENT][INDENT][INDENT][INDENT]Snake[/INDENT][/INDENT][/INDENT][/INDENT]

Use your arrow keys to move your snake to through this amazing clone of nokia's good old snake. Press s for a safe terminate.



If you get the error; 'what the heck is halt', you need to use a newer version of simba.

If you get the error; 'Duplicate identifier 'TSCREEN'', you need to set the interpreter to Lape.

Have fun and post you scores!

edit:
added a version of my script suitable for older versions of simba

kingsleyeng

2012-06-02 08:55:49

Exception in Script: Unknown declaration "Halt" at line 328, column 9?

radplane

2012-06-02 08:56:35

Great job man! I remember count-less hours in tthe cow-field playing this…I think you just beat my hard-score XD Congrats ;)

masterBB

2012-06-02 09:04:09

From: kingsleyeng
Exception in Script: Unknown declaration "Halt" at line 328, column 9?


You version of simba is too old. I added a new version which should also work on older versions. But it was mentioned in the thread though.

riwu

2012-06-02 09:38:30

Brb let me make a script for it…


OMFG im god at this game :f:











Well just kidding, i cheated :garfield:
Here is the actual attempt:

masterBB

2012-06-02 12:19:29

From: riwu
19930


Always great to see the first proggie! Anyone knows something that should be improved or isn't working properly?

nielsie95

2012-06-02 17:00:40

Nice! Good use of type methods and overriding =D
Minor tip: things like settings and gamestate can be assigned at declaration.

masterBB

2012-06-02 18:42:56

From: nielsie95
Nice! Good use of type methods and overriding =D
Minor tip: things like settings and gamestate can be assigned at declaration.


Yes, it was also a test to see what I can do with Lape. I like the way type methods behave, it just seems that simba's function list can't handle them yet. Maybe that would be something for me to add. I wanted to create a single script featuring all new features of Lape, in the first draft I also used a linked list for keeping track of the snake parts.

The Killer

2012-06-02 18:58:22

wow, this is really good…
took me a few mins to figure out how to change to lape -.-