Sponsored Content
Top Forums UNIX for Dummies Questions & Answers [Solved] Making a text based game Post 302817693 by murphy on Thursday 6th of June 2013 10:18:13 AM
Old 06-06-2013
Question [Solved] Making a text based game

Hello, I am looking to make a text based game, that runs in the command window, or a window similar. I will only need to use 1 window.

I read somewhere that there is libraries for this kind of thing? But I can't remember the name of them.. Can anyone point me in a direction?

I will be writing it in probably C++. Unless there is better languages for this kind of thing? Anyone done this kind of thing before and have any advice before I jump in?

It will just be a simple battle engine (at the beginning), player1 does X amount of damage to Troll etc. Smilie
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

text based football game?

Is there a textbased football game (American) that I can download through ubuntu server edition? (1 Reply)
Discussion started by: dadoprso
1 Replies

2. UNIX for Dummies Questions & Answers

Is there picture based game under linux terminal?

Is there picture based game under linux terminal? Just like Supermario under DOS. (18 Replies)
Discussion started by: vistastar
18 Replies

3. Shell Programming and Scripting

Making a Text based game. Need help.

Okay so Zork sparked my interest in this. I have been learning to program for the last year and a half. I've dabbled in everything from Java to Ruby to PHP & XHTML & SQL, and now I'm on bash. I really like bash scripting. Its easy and fun. I just started two days ago. Pretty much I've been writing... (1 Reply)
Discussion started by: lemonoid
1 Replies

4. Programming

This Makes NO sense. I'm making a game and getting an error, need help.

Okay so I'm making a simple text based game that branches into different scenarios. By branching I mean branching off into whole different files with that part of the game in it. I got tired of working on scenario 1 so I'm working on scenario 2. As I get started and try to test it, I get an error... (1 Reply)
Discussion started by: lemonoid
1 Replies

5. Shell Programming and Scripting

Shell Text Based Game, This Error Makes NO sense. Please help

Okay so I'm making a simple text based game that branches into different scenarios. By branching I mean branching off into whole different files with that part of the game in it. I got tired of working on scenario 1 so I'm working on scenario 2. As I get started and try to test it, I get an... (3 Replies)
Discussion started by: lemonoid
3 Replies

6. UNIX for Advanced & Expert Users

[SOLVED] Making mktime/strftime available to mawk

I frequently use awk time functions and am switching some scripts over to mawk. I don't have the mktime or strftime functions in mawk, but it appears that there is a way, as explained here in "Time functions": Please only cut-and-past links to man pages from our man pages. So, simple... (10 Replies)
Discussion started by: treesloth
10 Replies

7. News, Links, Events and Announcements

Eulora, a Linux-based MMORPG, holds first game event.

This Sunday, June the 7th, players in attendance will be given unique items engraved with their name. The items can be used to generate free in-game currency on a daily basis, which is particularly notable because the game's currency is bitcoin. I can't post a link yet; if you're interested, engage... (0 Replies)
Discussion started by: danielpbarron
0 Replies

8. Shell Programming and Scripting

Tetris Game -- based on a shell script (new algorithm)

GitHub - deepgrace/tetris: Tetris implementation in all kinds of Programming Languages Usage: bash Tetris_Game ] ] ] ] Range: #!/bin/bash # Tetris Game // The Art Of Shell Programming box0=(4 30) box1=(4 30 4 32) box2=(4 30 5 32) box3=(4 28 4 30 4 32) box4=(4 28 4 30... (69 Replies)
Discussion started by: complex.invoke
69 Replies

9. Shell Programming and Scripting

Proper distribution of cards in terminal based crazy8's game in bash script

When I run the following script at the bottom it say cards remaining=44...It should be=35. Can anyone tell me what I'm doing wrong. I've spent hours trying to get this to work and I can't go any further until this part works. thank you in advance Cogiz #!/bin/bash # Date="November, 2016" #... (2 Replies)
Discussion started by: cogiz
2 Replies

10. 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
ARMAGETRONAD(6) 						   Games Manual 						   ARMAGETRONAD(6)

NAME
armagetronad - a 3D Tron-like high speed game SYNOPSIS
armagetronad [-h, --help] [-v, --version] [--doc] [-f, --fullscreen] [-w, --window, --windowed] [--fastforward] [--benchmark] [--record] [--playback] DESCRIPTION
The rules are simple: you ride a lightcycle (a kind of motorbike that can only turn 90 degrees at a time, leaves a wall behind and cannot be stopped). Avoid running into a wall. Make your opponent run into a wall. This idea comes from the 1982 Disney movie "Tron". One thing is different than in other Tron clones: you can accelerate. However, there is a catch. The only way to accelerate is to drive close to player walls. This allows for some interesting tactics. Every time you make a turn, you lose 5% of your speed -- so don't be too nervous, speed is your only resource against other players! First thing you shold do is go into the "Player Menu" to set your name and your keyboard and mouse configuration. Then, go into the "Game Menu" and start a single player game against one AI opponent (the game mode does not really matter here). Then, get some friends together and try the multiplayer modes! SHIFT-ESC is the "boss key" and quits Armagetron as fast as possible. OPTIONS
-h, --help Show help message. -v, --version Print version number. --doc Print documentation for all console commands. These are also configuration settings for config files. -f --fullscreen Start in fullscreen mode. -w --window, --windowed Start in windowed mode. --fastforward TIME Lets time run very fast until the given time is reached. --benchmark Renders frames as they were recorded. --record FILENAME Creates a DEBUG recording while running. --playback FILENAME Plays back a DEBUG recording. SEE ALSO
Armagetron Advanced is documented fully by the provided HTML docs, found under /usr/share/doc/armagetronad-common/html/. AUTHOR
Armagetron Advanced was written by Manuel Moos <z-man@users.sourceforge.net> and the Armagetron Advanced development team. This manual page was adapted from the original HTML version by Marcelo E. Magallon <mmagallo@debian.org>, (and later Christine Spang <spang@mit.edu>) for the Debian GNU/Linux system (but may be used by others). February 07, 2007 ARMAGETRONAD(6)
All times are GMT -4. The time now is 02:34 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy