labfans
2007-04-13, 23:09
Matlab编的游戏:
Snake (the classic Nokia game)
Author: Per-Anders Ekstr枚m
Summary: Graphical User Interface for playing "Nokia Classic Game" Snake.
MATLAB Release: R2006a
Description: The Game:
Make the snake grow longer by directing it to the food.
Extra bonus points are given from hearts, eat them as fast as possible as amount of bonus points decreases with time.
Higher level gives more points for the food but will also make it tougher to steer a long snake as speed increaces.
Five different mazes as well as play w/o maze are possible.
Game Controls:
Steer snake using arrow keys. Pause game with 'p' or space.
Example:
snake % Start Main Snake Interface
贪食蛇经典Nokia游戏)
摘要:"诺基亚经典游戏"贪食蛇的图形用户接口。
描述:控制蛇的方向,吃到食物后蛇会变长。吃到星会给额外的奖励分,尽快的吃掉星,因为奖励分数会随着时间的推移而减少。
级别越高迟到食物获得的分数越高但是蛇的速度也会增加。
控制:用方向键控制,空格键或'p'键暂停。
程序如下,大家试试:)
Snake (the classic Nokia game)
Author: Per-Anders Ekstr枚m
Summary: Graphical User Interface for playing "Nokia Classic Game" Snake.
MATLAB Release: R2006a
Description: The Game:
Make the snake grow longer by directing it to the food.
Extra bonus points are given from hearts, eat them as fast as possible as amount of bonus points decreases with time.
Higher level gives more points for the food but will also make it tougher to steer a long snake as speed increaces.
Five different mazes as well as play w/o maze are possible.
Game Controls:
Steer snake using arrow keys. Pause game with 'p' or space.
Example:
snake % Start Main Snake Interface
贪食蛇经典Nokia游戏)
摘要:"诺基亚经典游戏"贪食蛇的图形用户接口。
描述:控制蛇的方向,吃到食物后蛇会变长。吃到星会给额外的奖励分,尽快的吃掉星,因为奖励分数会随着时间的推移而减少。
级别越高迟到食物获得的分数越高但是蛇的速度也会增加。
控制:用方向键控制,空格键或'p'键暂停。
程序如下,大家试试:)