More about the wiki adventure game...
secretGeek .:dot Nuts about dot Net:.
home .: about .: sign up .: sitemap .: secretGeek RSS

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).




name


website (optional)


enter the word:
 

comment (HTML not allowed)


All viewpoints welcome. But the right to delete any post for any reason is reserved. Don't make me do it. Comments may be republished, emailed to your loved ones or printed and used as toilet paper. Who reads this legal bit anyhow?

TimeSnapper is a life analysis system that stores and plays-back your computer use. It makes timesheet recording a breeze, helps you recover lost work and shows you how to sharpen your act.

TimeSnapper won last year's Developer Competition at Larkware.com, and is used by over 10,000 people.

Articles

Coding Koan: the power of one Coding Koan: the power of one
Behavior Driven Development: As Human As Possible Behavior Driven Development: As Human As Possible
What To (Really) Do If You Find Out Your Parents Are Using Vista (redux) What To (Really) Do If You Find Out Your Parents Are Using Vista (redux)
What To Do If You Find Out Your Parents Are Using Vista What To Do If You Find Out Your Parents Are Using Vista
Sample Code From Text-Adventure Game Platforms Sample Code From Text-Adventure Game Platforms
TimeSnapper 3.0 -- an interactive, bubbling cauldron of possibilities TimeSnapper 3.0 -- an interactive, bubbling cauldron of possibilities
The laptop compubody sock The laptop compubody sock
Everything that's bad for you is suddenly good for you! Everything that's bad for you is suddenly good for you!
Everything I know about Code Reviews I learnt from Star Wars (and JCooney) Everything I know about Code Reviews I learnt from Star Wars (and JCooney)
Syntax highlighting of strings Syntax highlighting of strings
Google AppEngine: evil virus or viral evil? Google AppEngine: evil virus or viral evil?
Workflow software: I'm calling the bluff. Workflow software: I'm calling the bluff.

Archives .: secretGeek :: Complete Archives :.
25 steps for building a Micro-ISV 25 steps for building a Micro-ISV
3 minute guides -- babysteps in new technologies: powershell, JSON, watir, F# 3 Minute Guide Series
Top 10 SecretGeek articles Top 10 SecretGeek articles

Downloads

TimeSnapper -- Automated Screenshot Journal TimeSnapper.com    
Version 2.5: with password protection

ShinyPower (help with Powershell) ShinyPower
Now at CodePlex

Next Action NextAction
Managing the top of your mind



[powered by Google] 

Thai Erawan, Brisbane Restaurant, delicious thai food in paddington Thai Erawan, Brisbane Restaurant
World's Simplest Code Generator (html edition) World's Simplest Code Generator
Gradient Maker -- a tool for making background images that blend from one colour to another. Forget photoshop, this is the bomb. Gradient Maker
How to be depressed How to be depressed
You are not inadequate.



Recommended Reading

The Best Software Writing I
The Business Of Software (Eric Sink)


Recommended blogs

Jeff Atwood
Reginald Braithwaite
Joseph Cooney
Phil Haack
Scott Hanselman
Julia Lerman
Joel Pobar
Eric Sink
Joel Spolsky
Des Traynor

Aggregated Links

programming.reddit.com
dzone
dot net kicks

Human Link Machines

interesting finds
a continuous learner's weblog
arjan's world
n links today
new and notable
morning coffee
learning .net
weekly link post
(my del.icio.us account)

LinkedIn profile
 
home .: about .: sign up .: sitemap .: secretGeek RSS .: © Leon Bambrick 2006 .: privacy

home .: about .: sign up .: sitemap .: RSS .: © Leon Bambrick 2006 .: privacy