TranslateProject/published/201404/nSnake--Play The Classic Snake Game In Linux Terminal.md
wxy 97bd3352b5 renamed: 10 Useful Random Linux Interview Questions and Answers_t.md -> 201404/10 Useful Random Linux Interview Questions and Answers_t.md
renamed:    10 ssh options for a Secure shell for Safe Data Communication.md -> 201404/10 ssh options for a Secure shell for Safe Data Communication.md
	renamed:    20 Funny Commands of Linux or Linux is Fun in Terminal.md -> 201404/20 Funny Commands of Linux or Linux is Fun in Terminal.md
	renamed:    2048 Now Available For Offline Play In Ubuntu.md -> 201404/2048 Now Available For Offline Play In Ubuntu.md
	renamed:    "5 Command Line Tools for Downloading Files\357\274\217Torrents and Browsing Websites.md" -> "201404/5 Command Line Tools for Downloading Files\357\274\217Torrents and Browsing Websites.md"
	renamed:    5 Linux Distributions that Deserve more Love.md -> 201404/5 Linux Distributions that Deserve more Love.md
	renamed:    A Beginners Guide for XP Users to Switch to Linux.md -> 201404/A Beginners Guide for XP Users to Switch to Linux.md
	renamed:    Beautiful Zukitwo Theme Is the First One for GNOME 3.12.md -> 201404/Beautiful Zukitwo Theme Is the First One for GNOME 3.12.md
	renamed:    Because You Can--Windows 8 GTK Theme For Linux.md -> 201404/Because You Can--Windows 8 GTK Theme For Linux.md
	renamed:    Collectl is a powerful tool to monitor system resources on Linux.md -> 201404/Collectl is a powerful tool to monitor system resources on Linux.md
	renamed:    "Daily Ubuntu Tips \342\200\223 Fix Black Screen In Ubuntu Guest With VirtualBox Screen Capture.md" -> "201404/Daily Ubuntu Tips \342\200\223 Fix Black Screen In Ubuntu Guest With VirtualBox Screen Capture.md"
	renamed:    "Daily Ubuntu Tips \342\200\223 HPLIP 3.14.3 Released \342\200\223 Upgrade In Ubuntu.md" -> "201404/Daily Ubuntu Tips \342\200\223 HPLIP 3.14.3 Released \342\200\223 Upgrade In Ubuntu.md"
	renamed:    Easily Switch Audio Sources With Sound Switcher Indicator In Ubuntu.md -> 201404/Easily Switch Audio Sources With Sound Switcher Indicator In Ubuntu.md
	renamed:    GitHub's New Atom Text Editor Is Open Source, Sort Of, Though Not Really.md -> 201404/GitHub's New Atom Text Editor Is Open Source, Sort Of, Though Not Really.md
	renamed:    Here Are Top 20 Linux Tutorials!.md -> 201404/Here Are Top 20 Linux Tutorials!.md
	renamed:    How To Find IP Conflicts In Linux.md -> 201404/How To Find IP Conflicts In Linux.md
	renamed:    How to Wipe Free Disk Space in Linux.md -> 201404/How to Wipe Free Disk Space in Linux.md
	renamed:    How to enable 32-bit support for 64-bit Ubuntu 13.10 or greater.md -> 201404/How to enable 32-bit support for 64-bit Ubuntu 13.10 or greater.md
	renamed:    How to set up RainLoop webmail in Ubuntu server.md -> 201404/How to set up RainLoop webmail in Ubuntu server.md
	renamed:    How to spoof the MAC address of a network interface on Linux.md -> 201404/How to spoof the MAC address of a network interface on Linux.md
	renamed:    Interesting facts about Raspberry Pi.md -> 201404/Interesting facts about Raspberry Pi.md
	renamed:    Linux 3.15 Will Dramatically Reduce Suspend And Resume Times!.md -> 201404/Linux 3.15 Will Dramatically Reduce Suspend And Resume Times!.md
	renamed:    Linux Basics--Analyze Disk Usage In Ubuntu Linux.md -> 201404/Linux Basics--Analyze Disk Usage In Ubuntu Linux.md
	renamed:    Linux Commands Cheat Sheet in Black & White.md -> 201404/Linux Commands Cheat Sheet in Black & White.md
	renamed:    Linux Kernel News - January and February 2014.md -> 201404/Linux Kernel News - January and February 2014.md
	renamed:    Linux and Unix nload App - Monitor Network Traffic and Bandwidth Usage In Real Time.md -> 201404/Linux and Unix nload App - Monitor Network Traffic and Bandwidth Usage In Real Time.md
	renamed:    Meet uGet, an Amazing Download Manager for Linux.md -> 201404/Meet uGet, an Amazing Download Manager for Linux.md
	renamed:    Moving a city to Linux requires political backing, says Munich project leader.md -> 201404/Moving a city to Linux requires political backing, says Munich project leader.md
	renamed:    Open Source Isn't Just For Developers Anymore.md -> 201404/Open Source Isn't Just For Developers Anymore.md
	renamed:    Play the Best Linux Puzzle Games.md -> 201404/Play the Best Linux Puzzle Games.md
	renamed:    Red Hat Updates Open Source Software Development Tools.md -> 201404/Red Hat Updates Open Source Software Development Tools.md
	renamed:    Ubuntu Touch Email Client Mockup Design Looks Fantastic.md -> 201404/Ubuntu Touch Email Client Mockup Design Looks Fantastic.md
	renamed:    Ultimate Edition 3.9 Linux Distro Is a Complete Mess.md -> 201404/Ultimate Edition 3.9 Linux Distro Is a Complete Mess.md
	renamed:    What if Linus Torvalds Would Have Accepted Job Proposal of Steve Jobs.md -> 201404/What if Linus Torvalds Would Have Accepted Job Proposal of Steve Jobs.md
	renamed:    What is good video editing software on Linux.md -> 201404/What is good video editing software on Linux.md
	renamed:    Windows 7 & 8 Complete Transformation Pack Out for Ubuntu, Debian 8, and Arch Linux.md -> 201404/Windows 7 & 8 Complete Transformation Pack Out for Ubuntu, Debian 8, and Arch Linux.md
	renamed:    nSnake--Play The Classic Snake Game In Linux Terminal.md -> 201404/nSnake--Play The Classic Snake Game In Linux Terminal.md
2014-05-01 06:53:52 +08:00

40 lines
2.5 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

nSnake: 在Linux的终端上玩经典的贪食蛇游戏
================================================================================
你知道20世纪末的那些古老的诺基亚手机上最棒的东西是什么吗 [贪食蛇][1]! 我以前在这个看似无聊但却让人上瘾的游戏上花费了大把的时间。在古老的诺基亚手机被智能手机取代的同时,贪食蛇也被另外的无聊但却令人上瘾的游戏取代了,比如说:[神庙逃亡][2]。但是,贪食蛇本身的魅力仍在。
在AndroidiOS以及Web上有很多可以玩的贪食蛇游戏。另外在Linux终端上也有类似的游戏。对你没有听错Linux终端上真的有。
### nSnake: Linux终端上的经典贪食蛇游戏 ###
[nSnake][3] 是[Alexandre Dantas][4]开发的经典游戏——贪食蛇的Linux终端版本。差不多在所有的Linux发行版中你都可以获取nSnake但是在这篇文章中我们只介绍如何在Ubuntu以及与Ubuntu相似的发行版中安装它。
要在Ubuntu或者Linux Mint中安装nSnake 你只需要打开终端,然后使用下面的命令:
sudo apt-get install nsnake
一旦安装成功,你就可以使用下面的命令来运行游戏了:
nsnake
在终端中运行起来的nSnake就类似于下面截图中的内容。如果你很纠结为什么我的Ubuntu终端和Ubuntu默认的紫红色终端不一样呢那是因为我用了Numix主题。[更多优秀的Ubuntu主题][5]
![Play Snake game in Linux terminal with nSnake](http://itsfoss.com/wp-content/uploads/2014/03/nSnake_Linux_terminal_game.jpeg)
玩nSnake是非常简单的。你可以从开始界面选择游戏速度以及是否开启边框。游戏开始后使用方向键控制贪吃的小蛇蛇P键暂停游戏Q键退出游戏。
你觉得nSnake怎么样 你以前玩过吗? 你还玩过其他的Linux终端游戏吗 来跟我们分享一下吧!
--------------------------------------------------------------------------------
via: http://itsfoss.com/nsnake-play-classic-snake-game-linux-terminal/
译者:[intermerlin](https://github.com/intermerlin) 校对:[wxy](https://github.com/wxy)
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创翻译,[Linux中国](http://linux.cn/) 荣誉推出
[1]:http://en.wikipedia.org/wiki/Snake_(video_game)
[2]:http://en.wikipedia.org/wiki/Temple_Run
[3]:http://alexdantas.net/projects/nsnake/
[4]:http://alexdantas.net/
[5]:http://itsfoss.com/best-themes-ubuntu-1310/