Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

trek(6) [netbsd man page]

TREK(6) 							 BSD Games Manual							   TREK(6)

NAME
trek -- trekkie game SYNOPSIS
trek [-sf] DESCRIPTION
trek is a game of space glory and war. Below is a summary of commands. For complete documentation, see Trek by Eric Allman. The -s flag makes the game somewhat more efficient if you have a (very) slow terminal. The -f flag (the default) is for faster terminals. The game will ask you what length game you would like. Valid responses are ``short'', ``medium'', and ``long''. You may also type ``restart'', which restarts a previously saved game. You will then be prompted for the skill, to which you must respond ``novice'', ``fair'', ``good'', ``expert'', ``commodore'', or ``impossible''. You should normally start out with a novice and work up. In general, throughout the game, if you forget what is appropriate the game will tell you what it expects if you just type in a question mark. SEE ALSO
/usr/share/doc/usd/31.trek AUTHORS
Eric Allman COMMAND SUMMARY
abandon capture cloak up/down computer request; ... damages destruct dock help impulse course distance lrscan move course distance phasers automatic amount phasers manual amt1 course1 spread1 ... torpedo course [yes] angle/no ram course distance rest time shell shields up/down srscan [yes/ no] status terminate yes/no undock visual course warp warp_factor BSD
May 24, 2009 BSD

Check Out this Related Man Page

GOMOKU(6)							 BSD Games Manual							 GOMOKU(6)

NAME
gomoku -- game of 5 in a row SYNOPSIS
gomoku [-bcdu] [-D debugfile] [savefile] DESCRIPTION
gomoku is a two player game where the object is to get 5 in a row horizontally, vertically or diagonally on a 19 by 19 grid. By convention, black always moves first. The options are: -b Run in batch mode. (See below.) -c Computer versus computer. gomoku will play a game against itself. This is mostly used for testing. -d Print debugging information. Repeating this option more than once yields more detailed information. -D debugfile Print the debug information to debugfile instead of to the standard output. -u User versus user. (Play against yourself.) This is mostly used for testing. savefile Load a previously saved game from savefile. With no arguments, gomoku starts a fresh user vs. computer game. Moves may be entered by selecting the desired board location and pressing the space or enter key. The cursor may be moved using the arrow keys or vi(1) motion keys hjklyubn. These also may be familiar from rogue(6) and hack(6). To quit, type 'Q', and to save the game, type 'S' and supply a file name when prompted. Batch mode Batch mode was intended for game tournaments where a referee program handles the board display and pits one program against another. In this mode, gomoku reads moves from standard input and writes its responses to standard output. The first line of input should be either ``black'' or ``white'' to specify whether gomoku has the first move or not respectively. AUTHORS
Ralph Campbell ACKNOWLEDGEMENTS
The board display routines were based on the goref program written by Peter Langston. The user interface was based on Eric S. Raymond's interface for bs. BSD
March 28, 2010 BSD
Man Page

14 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

What is Unix?

Hello everyone I am completely new to these forums and am a complete novice to Unix. I have been teaching myself C++ over the past four months and will be attending university next year for computer science. I noticed the word Unix in the course layout. What is Unix? Can I get it free? I... (4 Replies)
Discussion started by: marz_guitarz
4 Replies

2. Programming

OK another question...

Ok i am looking to start coding for an online text game, The game is called Ansalon for those who are interested *The original, not to be confused with the newer Ansalon* And i was wondering if anyone could point me in the right direction of where i can go to start looking at information for that.... (3 Replies)
Discussion started by: Corrail
3 Replies

3. UNIX for Dummies Questions & Answers

can't understand

how i can download this game n start it :S (5 Replies)
Discussion started by: BoyArcher
5 Replies

4. Shell Programming and Scripting

need help with this background wget process.

I run an online game, and every 10 seconds or so i need to "run" a file. In other words in needs to be executed. Its a PHP file. The file updates vital things in my game, each time it does it its know as a "tick". Here is the code i am using. (wget... (2 Replies)
Discussion started by: mikey1090
2 Replies

5. UNIX for Dummies Questions & Answers

how to find complete path of a file in unix

hi experts(novice people can stay away as it is no child's game), i am developing a script which works like recycle bin of windows. the problem i am facing is that when ever i am trying to delete a file which is situated in parent directory or parent's parent directory i am unable to capture... (5 Replies)
Discussion started by: yahoo!
5 Replies

6. Red Hat

Read file

Hi, I have a file like this: I'd like read all the lines which are not starting with #, nor empty lines. Every resulting line would be stored in a variable inside a while cycle. Thank you. (3 Replies)
Discussion started by: idro
3 Replies

7. Shell Programming and Scripting

check if it's there

Dear, I want to check if the file in the if code is there, but I don't know how to do it? if Can someone assist me please? Thanks! kopie() { echo " Geef de naam van bestand + plaats vanwaar gekopieerd moet worden en waarnaar : " echo -n " Plaats : " read plaats ... (7 Replies)
Discussion started by: yadeki
7 Replies

8. Shell Programming and Scripting

Changing variable name in for loop

Hi All please help if possible. I am a Unix novice. I have a similar question to the one posted by yonderboy at about a year ago. However his solution does not work for me. The pseudo code for my problem is as follows: for fund in 1 2 3 4 if (FTP is successfully) then FILE_SENT_fund... (2 Replies)
Discussion started by: Seether
2 Replies

9. Shell Programming and Scripting

Want to compress .war extension file

Hi All, I want to compress a .war file. bash-3.00$ ls -l /opt/test -rw-r--r-- 1 test test 15M Aug 22 18:20 old.war bash-3.00$ find . -type f -exec compress {} \; ./irc.war: -- file unchanged While try to compress the above file i am getting "file unchanged error"... (7 Replies)
Discussion started by: natraj005
7 Replies

10. War Stories

Why am I persistent to be WRONG!

:wall::wall::wall::wall: I am sharing some techno-geeky-work related issue, which can best be dissected here only. I am expecting more of a discussion,as serious as when two guys sharing experience over smoke and beer. The thing is, till now i have been only a student, so never cared about how... (10 Replies)
Discussion started by: animesharma
10 Replies

11. Shell Programming and Scripting

Snake and ladder game

Hi, I am designing snake and ladder game in unix. I am writing my script in bash shell in Solaris version. This game is designed by me for which I would like to give access to two players. When these players execute the game, there should be communication between the three participants(game... (7 Replies)
Discussion started by: ayarlaga
7 Replies

12. Shell Programming and Scripting

Work with huge Zipped files

Hello dear members, I have one general and one specific question which I will be very grateful if you could help me with them. Let's start with my general question: 1. I am working on cluster computer shared with other people and I need to manipulate a big zipped text file of 13 GB. There is... (1 Reply)
Discussion started by: Homa
1 Replies

13. Shell Programming and Scripting

Awk, function of underscore char.

Hello Friends, I would appreciate so much if you could explain how the underscores works at the following code? Sorry if it sounds a bit novice question. awk -F',' 'NR==FNR{_=1;next}!_{print}' exclude infile KR, Eagle (6 Replies)
Discussion started by: EAGL€
6 Replies

14. Shell Programming and Scripting

Creating a text based game using shell script.

Hello guys I'm new to shell scripting and I need to make a game using shell script. I want to know if it is possible for me a total noob to shell scripting to make this game. The game concept is simple: First thing when you launch the script you get a menu in which you select if you want to... (3 Replies)
Discussion started by: Othmane
3 Replies