More about the wiki adventure game...
I've started to implement the wiki adventure game idea from last week. I plan to contribute it to CodePlex, and maybe make a site. It's being written in Javascript mostly, but with C# on the server side. Some JSON, some regex. I considered and ruled out using Ruby, Volta, Silverlight, Asp.net MVC and a bunch of other technologies I don't understand, for reasons that Pseale has elucidated nicely. I've got a benchmark in mind for what constitutes the 1.0 version of the game. Basically, once you're able to create a simple game akin to Pug Wars (see also, Drug Wars, Dope Wars)... that would be 1.0. That game can be composed as a two-page game, with trading, banking, some randomness and an ever decreasing number of days remaining. I've got ideas for what would be in a 2.0 and 3.0 version. Here's the general concepts leading up to version 2.0... A player has four lists (keyvalue collections, perhaps) - SimpleAttributes, such as name and avatar.
- InventoryList, your useful items
- SkillList, graded abilities that get you places, unlock certain possibilities in the game.
- VitalsList, your score, your health, your hunger, your wisdom, charm and so on.
What actual items are in these lists depend on the game authors. Inventory, would be composed of items that are intrinsically tradeable. Each item has an item-type, e.g. "Gold" and a qty, e.g. "57". Say you visit a witch who is willing to sell you 1 donkey in exchange for 57 gold pieces. Very good. Trading is a built in feature of the platform. Normal fair trading applies: you can't spend more than you have. You can't buy the donkey and keep the gold. You can't buy more donkey's than the witch is selling. Now, here's the clever bit: all tradeable items are, in theory, capable of becoming weapons. You may have noticed this from watching Jackie Chan films. That's not just a park bench! It's a weapon! Given the appropriate skill, any item can be used as a weapon. If you don't have the crossbow skill, then that crossbow you just found is nothing more than a tradeable commodity to you. But once you bump into that wise old cross bow trainer, and acquire the cross bow skill, you will suddenly be able to employ it in any future fight. (Some items can act as weapons even if you have no skill -- the seal club for example) Similarly, all tradeable items are capable of acting as 'food'. And what is 'food' in the general sense? It's a thing that can be consumed and thus its quantity diminished, but the consumption of which will alter one of your vital signs in some way. So this category really covers Foods, drink, poison, potions, medicines and the like. A keg of spirits may increase your drunkedness from 0 to 100. A bottle of poison, will decrease your health from 42 to 0. You can't dimish a vital sign below zero, but you can certainly try. Can a tradeable item be both weaponry and food? Certainly! A well timed pretzel to the eye can disable many an attacker. What weapons can be used on what adversaries? That depends how a creature is defined. Some creatures can be attacked equally with any and all weapons. But many creatures are impervious to all but a few weapons. Superman for example: Impervious to all, vulnerable to: "kryptonite". Okay, that's the basic mechanics that will go into the game. I think it will game authors a lot of flexibility in the text adventures they can construct. Writing the javascript is an alarmingly fun process. I'm beginning to agree with Justice Gray's famous retort he uses whenever someone complains that javascript is a terrible language: Javascript doesn't suck, you do
See ya later. Dodgy pre-alpha Prototype here
'Justice~!' on Fri, 07 Mar 2008 01:44:42 GMT, sez: I played this and I'm already addicted. There's a lot of charm in a game that only allows you to buy and sell handguns and cigarettes! I feel like I'm living in Detroit! =)
'Peter' on Fri, 07 Mar 2008 05:11:45 GMT, sez: This reminds me of when I did my GCSE Computer Studies. The school lent me a BBC Micro over the Summer holidays to do my coursework on and, of course, I didn't do a stroke of work, preferring to play Fighting Fantasy role-playing gamebooks.
(You can see where this is going, can't you?)
I wrote a BBC BASIC program that would keep track of my character's stats, roll the dice, and so on. Guess what I submitted for my coursework. :-)
'John' on Fri, 07 Mar 2008 10:18:09 GMT, sez: So how would the donkey be used as a weapon? Would it kick you opponents on command? Would it be a miniature donkey and you could throw it while it kicked the living daylights out of your opponent?
These are important rules here, you just can't leave us hanging! We need know all the details!
John
'Matt Casto' on Fri, 07 Mar 2008 14:42:23 GMT, sez: The donkey increases how much you can hold.
Also, you need a steal ability for sneaky types.
'zproxy' on Sun, 09 Mar 2008 15:31:34 GMT, sez: Hey Leon, i see that you did consider volta and silverlight, but did you know about a project called jsc? it's kind of lite-volta :) developed entirely by me. Maybe you would want to give it a look?
See the examples at http://jsc.sf.net
cheers
'Justice~!' on Sun, 09 Mar 2008 23:44:20 GMT, sez: Peter!!
I did the exact same thing. Both for that and for my "Lone Wolf" series of books by Joe Dever (which I thought were amazing).
'Doekman' on Mon, 23 Nov 2009 14:03:36 GMT, sez: Nice. Ah, memories from 1996 when I wrote the mini webventure (see link). The days I couldn't program... Well I still can't program, but those days not all scripts ran without errors...
|
Articles
Just Wally
The Correct Order for a First Time Viewing of The Lord Of The Rings
A new era for Android.
Mind-boggling Demo of New Gaming Genre, aka Folder-Based Hangman, aka Fun with Recursion
Got CSV in your javascript? Use agnes.
Complete secretGeek Archives
TimeSnapper: automatic screenshot journal
NimbleText: Code Generator, Text Manipulator, Data Extractor
25 steps for building a Micro-ISV
3 Minute Guide Series
Universal Troubleshooting Checklist
Top 10 SecretGeek articles
ShinyPower Now at CodePlex
RealTime Online CSS Editor
Gradient Maker
How to be depressed
You are not inadequate.
Recommended Reading
 the little schemer
The Best Software Writing I
The Business Of Software (Eric Sink)
Recommended blogs
Jeff Atwood
Joseph Cooney
Phil Haack
Scott Hanselman
Julia Lerman
Rhys Parry
Joel Pobar
Thomas White
OJ Reeves
Eric Sink
Aggregated Links
proggit
dzone
hacker news
dot net kicks
Human Link Machines
interesting finds
a continuous learner's weblog
arjan's world
weekly link post
LogEnvy - event logs made sexy
Computer, Unlocked. A rapid computer customization resource
PhysioTec, Brisbane Specialist Physiotherapy & Pilates
|