查看单个帖子
旧 2007-04-13, 23:09   #1
labfans
论坛管理员
 
labfans 的头像
 
注册日期: 2007-04-03
帖子: 784
声望力: 5
labfans 的声望功能已被禁用
默认 【资料】贪食蛇 Snake (the classic Nokia game)

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'键暂停。

程序如下,大家试试
上传的附件
文件类型: rar snake.rar (4.6 KB, 120 次查看)
labfans 当前离线   回复时引用此帖