supreme-committee / text-adventure

UCSC CMPS 115 Project
0 stars 0 forks source link

Implement new format for <if> tags #40

Closed mgrijalva closed 10 years ago

mgrijalva commented 10 years ago

We're thinking tags can be set up like so:

<if arg1="gold" arg2="500" comparison="gt">
</if>

"If gold is greater that 500". This will allow more comparisons for ints than just checking for equality.

We'll support the following eq - equal to gt - greater than ge - greater than or equal to

We'll discuss the exact format during one of our meetings.