Elite in JavaScript

Off topic discussion zone.

Moderators: winston, another_commander, Cody

Post Reply
User avatar
JensAyton
Grand Admiral Emeritus
Grand Admiral Emeritus
Posts: 6657
Joined: Sat Apr 02, 2005 2:43 pm
Location: Sweden
Contact:

Elite in JavaScript

Post by JensAyton »

This might be of interest to some of our more advanced scripters: Text Elite ported to JavaScript.

http://calormen.com/l33t/jselite.htm
User avatar
DaddyHoggy
Intergalactic Spam Assassin
Intergalactic Spam Assassin
Posts: 8515
Joined: Tue Dec 05, 2006 9:43 pm
Location: Newbury, UK
Contact:

Re: Elite in JavaScript

Post by DaddyHoggy »

Ah... from the title of the subject I thought we were going to get original Elite running in a web browser... :oops:
Selezen wrote:
Apparently I was having a DaddyHoggy moment.
Oolite Life is now revealed here
User avatar
JensAyton
Grand Admiral Emeritus
Grand Admiral Emeritus
Posts: 6657
Joined: Sat Apr 02, 2005 2:43 pm
Location: Sweden
Contact:

Re: Elite in JavaScript

Post by JensAyton »

Someone on the Twitternets concluded my asking for WebGL testers meant an upcoming Oolite web port. Maybe for 3.0… :-p
another_commander
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
Posts: 6626
Joined: Wed Feb 28, 2007 7:54 am

Re: Elite in JavaScript

Post by another_commander »

DaddyHoggy wrote:
Ah... from the title of the subject I thought we were going to get original Elite running in a web browser... :oops:
At your command...
http://www.twinbee.org/hob/play.php?snap=elite
User avatar
DaddyHoggy
Intergalactic Spam Assassin
Intergalactic Spam Assassin
Posts: 8515
Joined: Tue Dec 05, 2006 9:43 pm
Location: Newbury, UK
Contact:

Re: Elite in JavaScript

Post by DaddyHoggy »

Ahruman wrote:
Someone on the Twitternets concluded my asking for WebGL testers meant an upcoming Oolite web port. Maybe for 3.0… :-p
:shock: :lol:

What bright imaginations they have!
Selezen wrote:
Apparently I was having a DaddyHoggy moment.
Oolite Life is now revealed here
User avatar
ClymAngus
---- E L I T E ----
---- E L I T E ----
Posts: 2508
Joined: Tue Jul 08, 2008 12:31 am
Location: London England
Contact:

Re: Elite in JavaScript

Post by ClymAngus »

yeah well as depeche mode once said: Well don't just stand there and shout it, do something about it. If half these people were as good at doing (me included) as they are at running with a misconception. We'd have this on a tablet by now.
Zireael
---- E L I T E ----
---- E L I T E ----
Posts: 1396
Joined: Tue Nov 09, 2010 1:44 pm

Re: Elite in JavaScript

Post by Zireael »

Ahruman wrote:
This might be of interest to some of our more advanced scripters: Text Elite ported to JavaScript.

http://calormen.com/l33t/jselite.htm
Somebody tell me what TextElite is and how to operate it...
User avatar
DaddyHoggy
Intergalactic Spam Assassin
Intergalactic Spam Assassin
Posts: 8515
Joined: Tue Dec 05, 2006 9:43 pm
Location: Newbury, UK
Contact:

Re: Elite in JavaScript

Post by DaddyHoggy »

It's the trading engine of the original game - so no 3D graphics, just the buying/selling, moving between systems...
Selezen wrote:
Apparently I was having a DaddyHoggy moment.
Oolite Life is now revealed here
Zireael
---- E L I T E ----
---- E L I T E ----
Posts: 1396
Joined: Tue Nov 09, 2010 1:44 pm

Re: Elite in JavaScript

Post by Zireael »

DaddyHoggy wrote:
It's the trading engine of the original game - so no 3D graphics, just the buying/selling, moving between systems...
And no fights?
User avatar
Commander McLane
---- E L I T E ----
---- E L I T E ----
Posts: 9520
Joined: Thu Dec 14, 2006 9:08 am
Location: a Hacker Outpost in a moderately remote area
Contact:

Re: Elite in JavaScript

Post by Commander McLane »

Zireael wrote:
Ahruman wrote:
This might be of interest to some of our more advanced scripters: Text Elite ported to JavaScript.

http://calormen.com/l33t/jselite.htm
Somebody tell me what TextElite is and how to operate it...
Zireael wrote:
DaddyHoggy wrote:
It's the trading engine of the original game - so no 3D graphics, just the buying/selling, moving between systems...
And no fights?
Have you considered just doing the obvious? Clicking on the link, and playing a little with it by just following the instructions which are printed on the very first screen you get?

If I may quote them for your convenience:
Welcome to Text Elite 1.4.

Commands are:
Buy tradegood ammount
Sell tradegood ammount
Fuel ammount (buy ammount LY of fuel)
Jump planetname (limited by fuel)
Sneak planetname (any distance - no fuel cost)
Galhyp (jumps to next galaxy)
Info planetname (prints info on system
Mkt (shows market prices)
Local (lists systems within 7 light years)
Cash number (alters cash - cheating!)
Hold number (change cargo bay)
Quit or ^C (exit)
Help (display this text)
Rand (toggle RNG)

Abbreviations allowed eg. b fo 5 = Buy Food 5, m= Mkt
You may note that there are commands for buying and selling, but not for launching, docking, flying, or fighting. This should indicate that the game consists of buying and selling, not of launching, docking, flying, or fighting.
Post Reply