Labfans是一个针对大学生、工程师和科研工作者的技术社区。 | 论坛首页 | 联系我们(Contact Us) |
![]() |
![]() |
#1 |
论坛管理员
注册日期: 2007-04-03
帖子: 784
声望力: 5 ![]() |
![]()
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'键暂停。 程序如下,大家试试 ![]() |
![]() |
![]() |
![]() |
#2 |
初级会员
注册日期: 2007-05-05
帖子: 1
声望力: 0 ![]() |
![]()
顶,的确是一个好东东,以后多传...
|
![]() |
![]() |
![]() |
#3 |
初级会员
注册日期: 2007-06-13
帖子: 2
声望力: 0 ![]() |
![]()
呵呵,利害。挺有意思
|
![]() |
![]() |