A text mode flight sim?

Code junkies hangout here

Moderators: ChriThor, LXF moderators

A text mode flight sim?

Postby Bazza » Sat Apr 11, 2015 11:42 am

Hi guys...

I have seriously been thinking of attempting a text mode flight sim much akin to the Sinclair ZX81 version using shell scripting.

The biggest hurdle is that it MUST work on a default CygWin install too.

CygWin does not have bc or dc by default so my starting project is to create separate trig and other maths functions using awk
and experimenting with them.

The Physics might be a little tough but I think it is do-able inside a default 80 x 24 terminal window...

The __graphics__ would use basic block characters or maybe just the space character to keep it pure text only...

I may bite off more than I can chew here and fail, but I will have to finish the SCOPE project first...

EDIT:
Serious comments welcome...
73...

Bazza, G0LCU...

Team AMIGA...

The less that I speak, the smarter I sound.
Bazza
LXF regular
 
Posts: 1509
Joined: Sat Mar 21, 2009 11:16 am
Location: Loughborough

Re: A text mode flight sim?

Postby nelz » Sat Apr 11, 2015 12:40 pm

Why not use a language that has the functions directly available, like Python?
"Insanity: doing the same thing over and over again and expecting different results." (Albert Einstein)
nelz
Site admin
 
Posts: 8760
Joined: Mon Apr 04, 2005 11:52 am
Location: Warrington, UK

Re: A text mode flight sim?

Postby Bazza » Sat Apr 11, 2015 1:51 pm

nelz wrote:Why not use a language that has the functions directly available, like Python?


Because I like working on the limits of shell scripting especially with regards to CygWin and its limitations.
It will indirectly teach me awk as I am no expert with awk at all...

Python with all of its libraries and __plugins__ makes life too easy and frankly I have lost interest in it since getting into shell scripting.
Also, it would not be platform independent as the WIndows CLI is so obtuse that everything would have to designed around it...
73...

Bazza, G0LCU...

Team AMIGA...

The less that I speak, the smarter I sound.
Bazza
LXF regular
 
Posts: 1509
Joined: Sat Mar 21, 2009 11:16 am
Location: Loughborough

Re: A text mode flight sim?

Postby guy » Sun Apr 12, 2015 11:15 am

Sounds awesome.

is there any way to post stuff here in fixed-pitch font?

Code: Select all
      __|__
  ______O______
    ° °   ° °
"Klinger, do you know how many zoots were killed to make that one suit?" — BJ Hunnicutt, 4077 M*A*S*H
guy
LXF regular
 
Posts: 1205
Joined: Thu Apr 07, 2005 12:07 pm
Location: Worcestershire

Re: A text mode flight sim?

Postby nelz » Sun Apr 12, 2015 3:06 pm

A fixed pitch is no use for a flight sim, how would you control altitude? :lol:
"Insanity: doing the same thing over and over again and expecting different results." (Albert Einstein)
nelz
Site admin
 
Posts: 8760
Joined: Mon Apr 04, 2005 11:52 am
Location: Warrington, UK

Re: A text mode flight sim?

Postby guy » Sun Apr 12, 2015 5:49 pm

nelz wrote:A fixed pitch is no use for a flight sim, how would you control altitude? :lol:

On the throttle, assuming the sim physics are slightly more realistic.
Just don't try any arial manoeuvres outside the flight envelope. :P
"Klinger, do you know how many zoots were killed to make that one suit?" — BJ Hunnicutt, 4077 M*A*S*H
guy
LXF regular
 
Posts: 1205
Joined: Thu Apr 07, 2005 12:07 pm
Location: Worcestershire

Re: A text mode flight sim?

Postby Bazza » Sun Apr 12, 2015 9:24 pm

I was thinking of it looking something like this:-

http://wisecracker.host22.com/public/Fl ... n_ZX81.jpg
73...

Bazza, G0LCU...

Team AMIGA...

The less that I speak, the smarter I sound.
Bazza
LXF regular
 
Posts: 1509
Joined: Sat Mar 21, 2009 11:16 am
Location: Loughborough


Return to Programming

Who is online

Users browsing this forum: No registered users and 1 guest

cron