{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

class_16 - Software Engineering 3156 31-Oct-01#17...

Info iconThis preview shows pages 1–13. Sign up to view the full content.

View Full Document Right Arrow Icon
Software Engineering 3156 31-Oct-01 #17: Implementation and Crypto Phil Gross
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
2 Administrivia
Background image of page 2
3 A Note on Optimization Knuth’s laws of Optimization First Law: Don’t! Second Law (for experts only): Not Yet! Try to get the thing working before you do any optimization
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
4 Requirements Tweaking 1.2 revision Another full iteration would be nice, but not happening
Background image of page 4
5 Req Bug Fixes Damage now an int Zapped a few IDREFs ExKicked gone GetMapData deprecated, probably gone soon Portal now has ID, instead of IP/port
Background image of page 5

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
6 Chat Change All chat start/ends now broadcast in the ever- fattening MapDelta
Background image of page 6
7 Items Have SendText You’ve got Gold! Should accompany most changes to character Player Gold stat goes up by 10 Message says “You found Gold!” Chest replaced with empty, scriptless chest.
Background image of page 7

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
8 Bit Flipping Operators Boolean tests and setting/clearing assignments isBitSet / isBitClear setBit / clearBit
Background image of page 8
9 Bit Flipping Filter (Status, isBitSet, 13): if ((Status & (1 << 13)) != 0) {… isBitClear would have “== 0” Effect (Status, setBit, 13) is Status |= (1 << 13); Clear bit 13: Status &= ~(1 << 13);
Background image of page 9

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
10 Regular Expressions http://www.perldoc.com/perl5.6/pod/perlre.html Yikes! http://www.oreilly.com/catalog/regex/ Double Yikes! We’ll use Gnu.regexp http://www.softe.cs.columbia.edu/jars/gnu.regexp-1.1
Background image of page 10
11 Simplest Form: wildcards * matches 0 or more of preceding expression ? matches 0 or 1 + matches 1 or more aa* = a+ So a*b?c+ matches… aaaabc, cc, bcccc, ac But not aaaabbc, ab
Background image of page 11

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
12 Expressions Can Be Fancy Ab[xyz]c matches Abxc, Abyc, and Abzc only Ab[0-9]c matches Ab3c, Ab8c, etc.
Background image of page 12
Image of page 13
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}