I have always wanted to make video games and when I say always I mean there are spiral bound notebooks from when I was 6 yrs old of concept sketches I drew somewhere back in my old bedroom. So when I got my first C++ book I was as pumped as anyone to get right into it. But no one tells you how much using a CLI console sucks for writing games. Now, because I KNOW that I am not the only one who wouldn't face reality at first, I'm asking everyone now:
What Is The Most Desperate Thing You've Done To Try To Make A Video Game On A CLI Console?
As for me, I'll start off by setting the stupidity bar absurdley high. When I was in Junior High School we had to take manditory typing classes, part of this class was to follow a set of instructions on a printed sheet of paper (I know right?) that if you did correctly you would end up with a picture. I kid you not my friends, one of my early attempts at "graphics" was to cout ASCII art, wait for user input, clear screen, loop. For those of you who don't know what this is here is a google img link: http://www.google.com/search?q=ascii+art&hl=en&prmd=ivns&tbm=isch&tbo=u&source=univ&sa=X&ei=xOi1TfGIBJDqgQeU-tDFCw&sqi=2&ved=0CDoQsAQ&biw=1252&bih=639
I REALLY wish I had the origional code to show you. Or that I could even remember how I wrote it up, I put an absurd amount of time into it. But sadly that HDD does not exist anymore.
I did a basic graphical map on a TI-84, does that count? All the maps were hard coded in and it looked like a mess (BASIC ftl), but it actually ran pretty fast and looked nice.
one of my early attempts at "graphics" was to cout ASCII art, wait for user input, clear screen, loop
I'm ashamed to admit that I did this as well. I drew an ASCII art helicopter facing left, right, top-down and botton-up, stuck each drawing in its own file (Files/Helicopter/<direction>.txt) and wrote a Helicopter class which would load the relevant text data on the console and everything. You could change which direction it was facing with the arrow keys and fire a machine gun with space and missiles (which I never implemented) with enter. There were no enemies, though, so all you could do was increase your velocity (the only thing that told you how fast you were going was a little "speedometer", there were no backgrounds and the helicopter stayed in the centre of the screen). The more I talk about this game the more I want to write it again...
@ chrisname: It sounds like you put a good deal of work into it. The part about the speedometer sounds especially interesting.
@ quirkeyusername: I don't know about that, you could write some serious garbage that would end up looking something like a tic-tac-toe game. Especially when checking the winning conditions.
Ah, see I was trying to picture what it would take to draw an analog speedometer in ASCII characters complete with that little indicator stick. But a digital one makes a lot more sense.
I've done quite a few video games on the console ... but this was a really long time ago. (DOS and VGA colors! Sweet!)
I've also written a program that is for editing ASCII art and displaying it as sprites, using full 16 color foreground/background and transparency. (I called it "TE".) It was pretty sweet.
It still runs on the default Windows Console, but crashes if you try to navigate around the root directory. I've not considered it worth my time to upgrade it to modern systems...
Come to think of it, one of the most interesting games I made was a "snakes" game on the Sun OS (Unix) console back in the early '90s. (It was a pretty simple game -- it was only interesting because of playing with the broken NCurses Rutgers maintained then.)
I’ve made a console TETRIS game some time ago, although I wouldn’t call it "desperate". I just wanted to play a little with console graphics, out of curiosity. I'm quite happy with the result.
This was long after I created my first simple OpenGL game:)
A 3D rotating cube on an IBM System 34 (and displayed on a remote text terminal), written in BASIC, after learning 3D matrix transformations in trig class.
When I said "Desperate" I origionally meant what attempts have people made to write a video game on any CLI using only the STL library. It's kind of an oppurtunity to look back at our selves and how far each of us has come with C++.