update CHIM to js-dos v8, update maze to latest
This commit is contained in:
@@ -6,7 +6,9 @@ license: CC0
|
||||
section: games
|
||||
subsection: chim
|
||||
content_type: feature
|
||||
csp: "default-src 'self' data:; img-src 'self' https://*; media-src 'self' https://* data:; script-src 'self' 'unsafe-eval' 'unsafe-inline'; style-src 'self' 'unsafe-inline'; worker-src 'self' blob:;"
|
||||
---
|
||||
|
||||
<style type='text/css'>
|
||||
a code {
|
||||
background-color: transparent;
|
||||
@@ -22,65 +24,37 @@ content_type: feature
|
||||
a:visited code {
|
||||
color: #1e6e58;
|
||||
}
|
||||
#jsChimDb a {
|
||||
color: #049c74;
|
||||
}
|
||||
#jsChimDb a:hover {
|
||||
color: #040308;
|
||||
}
|
||||
#jsChimDb a:hover:visited {
|
||||
color: #040308;
|
||||
}
|
||||
#jsChimDb a:visited {
|
||||
color: #1e6e58;
|
||||
}
|
||||
|
||||
#jsChimDb .dosbox-canvas {
|
||||
display: block;
|
||||
margin: auto;
|
||||
}
|
||||
.btnFullscreen {
|
||||
background-color: #111;
|
||||
background-color: rgba(3,3,3,.7);
|
||||
color: #049c74 !important;
|
||||
display: block;
|
||||
margin: .5em auto;
|
||||
padding: .5em;
|
||||
}
|
||||
.dosbox-overlay, .dosbox-loader {
|
||||
background-color: #111;
|
||||
background-color: rgba(3,3,3,.7);
|
||||
}
|
||||
.dosbox-start {
|
||||
color: #049c74;
|
||||
}
|
||||
</style>
|
||||
|
||||
In 1997, I released my first (and, so far, only) computer game, **Camp Happy Island Massacre**, a comedy-horror text game for the DOS operating system. Originally written while I was still in college, the game is about a cursed summer camp and the 3 surviving counselors who try to stop a horrific force before it claims them.
|
||||
|
||||
If you have a functional DOS machine (or an emulator, like [DOSBox](https://www.dosbox.com/)), you can download the game in a [ZIP file](/files/chim/chim.zip), which contains the following files:
|
||||
|
||||
+ [`CHIM.EXE`](/files/chim/chim.exe) *(the main executable file)*
|
||||
+ [`CHIM.FAQ`](/files/chim/chim.faq) *(list of frequently asked questions)*
|
||||
+ [`FILE_ID.DIZ`](/files/chim/file_id.diz) *(ZIP file descriptor)*
|
||||
+ [`INTRO.TXT`](/files/chim/intro.txt) *(the intro screen)*
|
||||
+ [`LICENSE.TXT`](/files/chim/license.txt) *(the distribution license)*
|
||||
+ [`MAP.TXT`](/files/chim/map.txt) *(a text map of the island)*
|
||||
- [`CHIM.EXE`](/files/chim/chim.exe) _(the main executable file)_
|
||||
- [`CHIM.FAQ`](/files/chim/chim.faq) _(list of frequently asked questions)_
|
||||
- [`FILE_ID.DIZ`](/files/chim/file_id.diz) _(ZIP file descriptor)_
|
||||
- [`INTRO.TXT`](/files/chim/intro.txt) _(the intro screen)_
|
||||
- [`LICENSE.TXT`](/files/chim/license.txt) _(the distribution license)_
|
||||
- [`MAP.TXT`](/files/chim/map.txt) _(a text map of the island)_
|
||||
|
||||
And now, thanks to [DOSBox](https://www.dosbox.com/), [Emscripten](http://emscripten.org/), and their unholy lovechild, [JS-DOS](https://js-dos.com/), you can play **Camp Happy Island Massacre** in your browser:
|
||||
|
||||
<div id="jsChimDb"></div>
|
||||
<button class="btnFullscreen" onclick="chim_db.requestFullScreen();">Open in Fullscreen</button>
|
||||
<div class="dosboxScreen" id="jsChimDb"></div>
|
||||
|
||||
<script type="text/javascript" src="./js-dos-api.js"></script>
|
||||
<script type="text/javascript">
|
||||
var chim_db = new Dosbox({
|
||||
id: "jsChimDb",
|
||||
onload: function (chim_db) {
|
||||
chim_db.run("/chim/chim-exe.zip", "./CHIM.EXE");
|
||||
},
|
||||
onrun: function (chim_db, app) {
|
||||
console.log("App '" + app + "' is running!");
|
||||
}
|
||||
});
|
||||
<!-- js-dos style sheet -->
|
||||
<link rel="stylesheet" href="/scripts/lib/js-dos/js-dos.css">
|
||||
<link rel="stylesheet" href="/styles/imports.css" type="text/css" />
|
||||
<link rel="stylesheet" href="/styles/fonts.css" type="text/css" />
|
||||
<link rel="stylesheet" href="/styles/styles.css" type="text/css" />
|
||||
|
||||
<!-- js-dos -->
|
||||
<script src="/scripts/lib/js-dos/js-dos.js"></script>
|
||||
|
||||
<script>
|
||||
Dos(document.getElementById("jsChimDb"), {
|
||||
pathPrefix: '/scripts/lib/js-dos/',
|
||||
theme: 'dark',
|
||||
thinSidebar: true,
|
||||
url: "./chim.jsdos",
|
||||
});
|
||||
</script>
|
||||
|
@@ -9,10 +9,9 @@ short_code: mn
|
||||
|
||||
Between the hours of roughly 8AM and 11PM (`America/New_York` time, give or take an hour or two), you'll most likely find me doing any or all of the following:
|
||||
|
||||
- working (especially between 9a and 6p, M-F),
|
||||
- [developing](/journal/2015/03-18-developing-the-web) this website,
|
||||
- building out [The Planar Vagabond's Guide to the Multiverse](https://www.planarvagabond.com/),
|
||||
- playing (and hopefully winning) a casual game of [MtG Commander](https://magic.wizards.com/en/formats/commander) (or making another [magic deck](/magic-decks) to play/win with),
|
||||
- running one of my [Monday Night Mini Campaigns](https://www.planarvagabond.com/campaigns/mini-campaigns/) or [One Night... one shots](https://www.planarvagabond.com/campaigns/one-night/),
|
||||
- playing D&D (especially if it's Thursday, because that's **Togar's night!**), or
|
||||
- messing around with some crazy side project (probably involving a game, the web, and/or a Raspberry Pi).
|
||||
- working (especially between 9a and 6p, Monday to Friday),
|
||||
- [developing](/journal/2015/03-18-developing-the-web) this website (or [something](/webtoys/bbe/) [else](/webtoys/bps/) [fun](/webtoys/maze/)),
|
||||
- building out [The Planar Vagabond's Guide to the Multiverse](https://www.planarvagabond.com/),
|
||||
- playing (and hopefully winning) a casual game of [MtG Commander](https://magic.wizards.com/en/formats/commander) (or making another [magic deck](/magic-decks) to play and win with),
|
||||
- working on (or running) one of my RPGs (be it an IRL game wih my kids or one of my [One Night... one shots](https://www.planarvagabond.com/campaigns/one-night/)), or
|
||||
- messing around with some crazy side project (probably involving a game, the web, and/or some cool hardware).
|
||||
|
Reference in New Issue
Block a user