Improve verbiage

This commit is contained in:
Eric Fredricksen
2010-07-14 23:09:50 -07:00
parent 2941fb29be
commit 424bc8c9b7
4 changed files with 109 additions and 30 deletions
+90 -18
View File
@@ -1,25 +1,97 @@
Thanks to recent advances in browser technology, it has been possible <!DOCTYPE html>
to port Progress Quest to run right in your browser. It wasn't easy; <html>
we started with hardware emulation of a 80386-equipped PC clone <head>
running a novel Windows XP compatable operating system called ProgrOS, <link rel="shortcut icon" type="image/x-icon" href="http://progressquest.com/favicon.ico">
implemented in a clean room in the Seychelles by a team of people who <title>Play Progress Quest</title>
had never programmed before (to ensure no copyrights would be <style>
violated).
Unfortuantely that wan't fast enough (too much lag death), so we body {
instead emulated the much faster Cray-2 supercomputer and ran the text-align: center;
80386 emulator in that. But the 80386 kept getting hot, so we switched }
to a 6502 overclocked at 120GHz with emulated liquid helium coolant, p {
and ported ProgrOS to that. margin-left: 10%;
margin-right: 10%;
text-align: left;
}
.sig {
text-align: center;
font-size: small;
color: #808080;
}
.sig a, .sig a:visited {
color: #808080;
text-decoration: none;
}
.banter {
font-size: 11pt;
}
#go {
font-size: 30pt;
}
</style>
</head>
<body>
<img src="pq.gif" alt="Progress Quest">
<h1>Progress Quest in Your Browser</h1>
<p>
Thanks to recent advances in technology, it has been possible to port
Progress Quest to run in your browser. You no longer need to download
or install anything to play Progress Quest.
<p>
Does that sound easy to you? Well it wasn't; we started with hardware
emulation of a 80386-equipped PC clone running a novel Windows XP
compatable operating system called ProgrOS, implemented in a clean
room in the Seychelles by a team of people who had never programmed
before (to keep the lawyers at bay).
<p>
Unfortuantely that wan't fast enough (there was too much lag death),
so we instead emulated the much faster Cray-2 supercomputer and ran
the 80386 emulator in that. But the 80386 kept getting hot, so we
switched to a 6502 overclocked at 120GHz with emulated liquid helium
coolant, and ported ProgrOS to that.
<p>
That seems to work pretty well with many of the modern browsers That seems to work pretty well with many of the modern browsers
(Chrome, Firefox, Safari). At the moment Opera seems to work just (Chrome, Firefox, Safari). At the moment Opera seems to work just
okay, and Internet Explorer has some real problems. (But if you're okay, and Internet Explorer has some real problems. (But if you're
running IE, you're on Windows, and so just download the game!) Things running IE, you're on Windows, and so
aren't as good as they could be on touchscreen devices such as the just <a href="http://progressquest.com/download.php">download</a> the
iPad yet either. game!) Things aren't as good as they could be on touchscreen devices
such as the iPad either, as yet.
<p>
This edition of the game is only single player - there is no Hall of
Fame yet. If anyone cares, that will come later.
</p>
<button id="go" onclick="window.location.href='roster.html'">Play!</button>
<br>
<br>
<div align="center" id="nabar">
<a href="/">Home</a> &middot;
<a href="/info.php">Info</a> &middot;
<a href="/faq.php">FAQ</a> &middot;
<a href="/dl.php">Download</a> &middot;
<a href="/realms.php">Realms</a> &middot;
<a href="/acct.php">Accounts</a> &middot;
<a href="/news.php">News</a> &middot;
<a href="http://www.cafepress.com/pqm">Store</a> &middot;
<a href="http://forum.progressquest.com/">Forum</a> &middot;
<a href="/links.php">Links</a>
</div>
<br>
<div class="sig">&copy;2001-2010 <a class=dim
href="mailto:grumdrig@progressquest.com">grumdrig@progressquest.com</a>
</div>
</body>
</html>
This edition of the game is only single player - the saves exist only
on your local machine, and there is no Hall of Fame yet. If anyone
cares, that will come later.
+12 -1
View File
@@ -3,7 +3,18 @@
import subprocess import subprocess
manifest = "*.html *.js *.gif back.jpg dicebar.jpg close*.png *.css".split() manifest = [
"*.html",
"config.js",
"jquery.js",
"main.js",
"newguy.js",
"roster.js",
"*.gif",
"back.jpg",
"dicebar.jpg",
"close*.png",
"*.css"]
includes = sum(map(list, zip(["--include"] * len(manifest), manifest)), []) includes = sum(map(list, zip(["--include"] * len(manifest), manifest)), [])
server = "play.progressquest.com" server = "play.progressquest.com"
destination = "grumdrig.com:www/" + server + "/" destination = "grumdrig.com:www/" + server + "/"
+2 -11
View File
@@ -2,7 +2,7 @@
<html> <html>
<head> <head>
<link rel="shortcut icon" type="image/x-icon" href="http://progressquest.com/favicon.ico"> <link rel="shortcut icon" type="image/x-icon" href="http://progressquest.com/favicon.ico">
<title>Progress Quest X/web - Roster</title> <title>Progress Quest - Roster</title>
<script src="jquery.js"></script> <script src="jquery.js"></script>
<script src="config.js"></script> <script src="config.js"></script>
<script src="roster.js"></script> <script src="roster.js"></script>
@@ -72,16 +72,7 @@ a.x, a.sheet {
<img src="pq.gif" alt="Progress Quest"> <img src="pq.gif" alt="Progress Quest">
<h1>ProgrOS</h1> <h1>Character Roster</h1>
<p class="banter">
In the olden times you'd <a href="download.php">download</a> Progress
Quest to your computer; now you may instead play Progress Quest
(single-player only, as yet) directly in your browser. Most modern
browsers will save your game(s) on this page.
</p>
<h2>Character Roster</h2>
<p id="roster" class="banter"> <p id="roster" class="banter">
</p> </p>
+5
View File
@@ -11,6 +11,7 @@ function load() {
var newone = window.location.href.split('#')[1]; var newone = window.location.href.split('#')[1];
var count = 0;
games = loadRoster(); games = loadRoster();
$.each(games, function (key, c) { $.each(games, function (key, c) {
var name = c.Traits.Name; var name = c.Traits.Name;
@@ -41,7 +42,11 @@ function load() {
p.appendTo(roster); p.appendTo(roster);
p.text(JSON.stringify(c)); p.text(JSON.stringify(c));
*/ */
++count;
}); });
if (!count)
roster.html("<i>Games you start can be loaded from this page, but no saved games were found. Roll up a new character to get started.</i>");
} }