Game a Fortnight: ZOMG Zombies! v1.0.0.1

May 12th, 2009

I work for an American company. I work for a large American company. With that now known, it may not shock you to hear that the large American company has reacted numerous times to the Global Financial Crisis (GFC).

Some good friends have lost their jobs. I wish them the best of luck.

One side-affect of these reactions is that I now work a nine-day fortnight (90%). I’ve decided to do something constructive with my 10% days; I’ve decided to make one game a fortnight.

The rules are simple:

  • 100% of the code written must be my own
  • I must work on three new concepts before ‘revisiting’ an old one
  • I may re-use code from previous projects
  • I must post the game (buggy or not) on the Tuesday following my 10% day.

This week’s effort is something I like to call ZOMG Zombies!. It’s a silly space-invadery game where you fight off a horde of zombies who are intent on eating your face. I chose to make this game because I wanted to play around with path-finding. Bloody hell it is tricky!

ZOMG Zombies! Screenshot

Download the game & installer.

Get the game here. Please not that the .NET Framework 3.5 SP1 Installer is VERY SLOW and can take up to 20 minutes (downloads a 200mb file). Be patient, you only ever need to install it once! If you’re having issues, download & install the .NET Framework 3.5 SP1 installer separately.

If you succeed in killing all of the zombies, the next level will contain even more face-eating undead.

My original vision of the game was to have a top-down view of a city and a horde of zombies closing in on all sides toward the middle. You would be able to build barricades and traps to stymie the advance of the horde while your AI-controlled military in the middle would shoot down as many zombies as they can. The goal:survive until the helicopter lands.

Instead, I made a really simplistic space-invader shooter, controlled with the mouse. I only managed to spend ~5 hours on this, but I think version 2 will be much, much closer to my original vision.

I’m pretty sure that I will work on a ‘version 2′ of this one; there are some really cool gameplay elements I’d like to include.

Let me know what you think by leaving a comment!

ZOMG ZOMBIES!
by Joshua Robert Anderson
(joshua.anderson@gmail.com)

Zombie sprites sourced (without permission) from:

http://www.videogamesprites.net/Earthbound/NPCs/Nonhuman/Zombies/

House, Trees and Rocks sourced (without permission) from:

http://www.gamebeep.com/sprites/RPG-Building-Blocks

All other graphics were made by me (Joshua Robert Anderson).

Game-a-Fortnight, Gaming ,

Dinosaur Comics Randomiser Fun

May 6th, 2009

I’m a massive fan of Ryan North’s Dinosaur Comics. Today, courtesy of his RSS feed, I was introduced to the Dinosaur Comics Randomizer.

Here are five I enjoyed today. Hover over each image for my personal touch.

She kept her Klan hood on while we did it...

This was originally found by my friend Pat: nice one Pat:
It's the circle of life! Erm, death.

Also known as Joshua Anderson: The Introvert.

It turns out that Mary-Kate and Ashley are actually cousins, not twins.

Let's call it "Plan B".

Humour, Internet ,

Robots

January 13th, 2009

Are cool. Here’s one I prepared early last year.

ROBOT?

MS PAINT FTW.

Humour

Games

December 5th, 2008

In the same vein as my books post…

Games I want to play:

  • Prince of Persia (new one, 2008)
  • Left 4 Dead
  • Command & Conquer: Red Alert 3
  • Call of Duty: World at War
  • Super Street Fighter II Turbo: HD Remix
  • Rock Band (2)
  • Okami

Games I have, but want to finish:

  • Super Mario Galaxy
  • Metroid Prime 3
  • Fable II
  • Fallout 3
  • Brother’s in Arms: Hells Highway

Games I want to play through again:

  • Mass Effect
  • Oblivion

Only games I will end up playing for the next 3 months:

  • World of Warcraft
  • FIFA 09

Gaming ,

Melbourne Victory’s New Home

December 4th, 2008

Books

December 3rd, 2008

A weird train of thought lead me here. In rough order of priority:

Books I want to read:

  • The Old Man and the Sea - Ernest Hemmingway
  • Death from the Skies! - Philip Plait
  • Animal Farm - George Orwell
  • The Essential Chomsky - Noam Chomsky and Anthony Arnove
  • The Collected Stories of Arthur C. Clarke
  • Art of Computer Programming - Donald E. Knuth
  • The Once and Future King - T. H. White
  • The Origin of Species - Charles Darwin
  • 1984 - George Orwell
  • For whom the Bell Tolls - Ernest Hemmingway
  • Learning XNA 3.0 - Aaron Reed

Books I want to re-read:

  • Dune - Frank Herbert
  • The God Delusion - Richard Dawkins
  • The Dark Tower - Stephen King

Personal , ,

Blog?

October 16th, 2008

Nope.


cheap flights
cheap flights athens greece phoenix2c arizona2c usa
zoom cheap flights
cheap flights from london
cheap flights london
cheap flights to england
cheap flights to
cheap flights edmonton
book cheap flights
cheap flights to london uk
cheap flights to bermuda
cheap flights hamilton bermuda
cheap london flights
cheap flights com
cheap discount flights
cheap flights manchester
cheap flights bermuda international
cheap flights bermuda
cheap flights glasgow
cheap flights to london
cheap air flights
cheap international flights
cheap flights uk
cheap flights canada
cheap flights to capetown from uk
cheap flights to the canaries
cheap flights cyprus
cheap flights from edinburgh
cheap flights to canada
very cheap international flights
cheap flights alicante
cheap flights from belfast
cheap flights leeds bradford
cheap flights newcastle
cheap flights almeria
cheap flights paphos
cheap flights to malta
cheap flights madrid
cheap flights to almeria
cheap last minute flights
cheap flights krakow
cheap flights from leeds bradford
cheap flights greece
cheap flights blackpool
seoul air fares cheap flights to seoul south korea at airfares
cheap flights sardinia
cheap flights chambery
cheap flights from blackpool
cheap flights to chambery
cheap flights rhodes
cheap flights to corfu
cheap flights to rhodes
cheap flights to toronto
cheap flights to almeria spain
cheap flights to hungary
cheap internal flights uk
cheap flights from newcastle
cheap flights to menorca
cheap flights top referrers 2008
cheap flights budapest
cheap flights from belfast to malaga
cheap flights to tenerife
cheap flights to europe
cheap flights to lisbon
cheap flights to barcelona
cheap flights cardiff
cheap flights menorca
cheap flights toronto vancouver
cheap flights geneva
cheap flights uk to spain
cheap uk domestic flights
cheap flights to pisa
cheap flights from leeds bradford airport
cheap flights uk australia
cheap flights to melbourne australia
belarus ind cheap flights
cheap flights to cape town
cheap flights ireland singapore
cheap flights channel islands
cheap flights to dusseldorf
cheap flights to budapest
cheap flights las vegas
cheap flights to las vegas
cheap flights from edinburgh to birhamgan
cheap flights from leeds
really cheap flights
cheap uk flights
cheap ski flights
cheap flights to madrid
cheap flights to salzburg
cheap flights from manchester
cheap flights pisa
cheap european flights
cheap flights kansai airport guangzhou
cheap flights jersey
cheap flights amsterdam to uk
cheap flights singapore phuket
cheap flights barcelona
cheap flights to boadaux france
cheap flights hungary
cheap airline flights
cheap flights to murcia
cheap flights to malaga
jet flights cheap
cheap flights singapore phuket
cheap flights to italy from greece
cheap flights to venice from athens
cheap flights brisbane to townsville
cheap flights to goa
super cheap flights to polnd
cheap one way flights
cheap flights from greece to italy
cheap flights to uk
cheap flights to usa las vegas
cheap flights to la rochelle
cheap flights la rochelle
cheap flights to avignon
angola ind cheap flights
cheap flights to fort lauderdale
cheap flights from taiwan
cheap flights to ivalo
cheap flights to myrtle beach
cheap flights to malaysia
bangladesh ind cheap flights
cheap flights to bakersfield
belize ind cheap flights
cheap flights to philippines
cheap internal flights in the usa
cheap flights from phoenix to hawaii
cheap flights to toulouse
cheap flights jfk mexico
cheap flights to valencia
cheap flights to switzerland
cheap flights london tel aviv
antigua and ind cheap flights
bahamas ind cheap flights
cheap flights from minneapolis to canada
cheap flights from malaga to london
cheap flights to spain
cheap flights palma
cheap flights to boise
cheap last minute flights to london
cheap flights germany
cheap flights france
bahrain ind cheap flights
cheap flights to egypt
eastjet cheap flights
cheap flights to cancun
cheap flights manilla to singapore
direct cheap flights from manchester nh to munich germany
cheap spanish flights
cheap flights birmingham to malaga
cheap flights orlando
cheap flights bangkok hong kong
cheap flights to hawaii
cheap flights to las vegas from cardiff
cheap flights to israel
cheap flights bangkok
costa rica cheap flights
cheap flights to galway
cheap air canada flights
cheap flights to hurghada
cheap flights ibiza
cheap flights to california
cheap flights toulouse
cheap flights out of bangkok
cheap flights to sudan
cheap flights to geneva
cheap flights from edinburgh to malaga
cheap flights online usa
cheap flights to melbourne
cheap air flights in europe
bhutan ind cheap flights
barbados ind cheap flights
cheap flights to bodrum
cheap flights from dublin
cheap flights to bulgaria from uk
cheap flights fiji
argentina ind cheap flights
cheap flights to seattle
cheap flights to krakow
cheap flights uk cheap flights finder
cheap flights to usa ba
cheap flights italy
cheap flights new zealand
cheap new zealand flights
cheap flights murcia
cheap flights to antigua
jersy to london cheap flights
cheap air flights to spain
cheap flights from texas to florida
cheap international flights europe north america
cheap flights nashville to las vegas
cheap flights london brussels
cheap flights from poland usa
cheap bahama all inclusive vacation packages plus flights
cheap aerlinmgus flights to dublin
cheap flights to spain europe
cheap flights to perth australia
cheap flights to frankfurt
cheap flights hkg lhr hkg
cheap flights to usa panama
cheap flights
cheap flights bristol
cheap charter flights
cheap flights from boston usa to dublin
cheap one way domestic flights
cheap domestic flights
cheap flights from portugal to spain
cheap flights seville spain to paris france
discount travel cheap flights from canada to mexico
cheap flights for students
cheap flights brisbane to melbourne
cheap flights singapore bangkok
cheap flights to austria
cheap flights leaving form toronto canada
cheap flights to miami
cheap flights to trinidad from ny
cheap flights dalaman
asian cheap flights
germany cheap tickets to las vegas cheap flights to mexico
cheap flights to sao paulo
cheap flights to ibiza
cheap flights to las vegas from london uk
cheap flights east midlands malaga
cheap flights from southhampton to edinburgh
cheap asia flights
paris cheap usa flights
cheap flights to puerto v
cheap flights america
cheap flights to phoenix
cheap flights to mississippi
cheap flights to mexico
cheap flights to bali
cheap flights and hotels
cheap flights last minute air travel
cheap flights to austin texas usa
emergency cheap usa flights
book cheap flights from amsterdam to uk
cheap flights from newcastle to gatwick
cheap flights valencia
cheap flights one way to orlando florida
cheap flights to sydney australia
cheap airline flights to fl
cheap flights from florida to aluthra in the baham
tim calhoun
adele
sarah palin on snl
sarah palin on saturday night live
bernard hopkins
kelly pavlik vs bernard hopkins
adele lyrics
suze orman lesbian
deep fried pepsi
tbs red sox
herceptin
josh brolin
alcs game 6
adele singer
full tilt poker
jon hamm
mark wahlberg snl
kathy travis
macgruber
don cornelius
tbs.com
snl october 18
adele snl
dr. dennis slamon
the eagle has landed
fulltiltpoker.net
the quick and the dead
when a stranger calls
pavlik hopkins round by round
colt mccoy girlfriend
andy samberg mark wahlberg
snl 10/18/08
red sox game 6
amy poehler due date
hopkins fight
boxing news
living proof
joba chamberlain
naturopath
pavlik fight
eugene zapata
remember the titans
wtbs
tbs schedule
unclaimed property
aids walk
adele chasing pavements
justice league the new frontier
saturday night live october 18 2008
espn boxing
mark wahlberg talks to animals
the great escape
keana s candyland
nat wolff
hbo boxing
allie dimeco
boyd coddington death
boxing results
snl time
snl live
brandon vera
fire and ice movie
ron pratt car collection
amy acker
young frankenstein
bevo
james brolin
snl channel
dave christenholz
dewey cox
hustle and flow
tbs alcs
missy margera
denver marathon
emy reynolds
ann taylor loft
shane carwin
bonnie somerville
keola antolin
lilly tartikoff
heidi game
greg allman
texas missouri
jean zapata
tbs technical difficulties
carroll shelby
aids walk los angeles
ufc 89 results
snl palin oct 18
jason varitek
sen. james rhoades
nike women s marathon
naked brothers band
keith jardine
obama kansas city
breast cancer walk
bisping vs leben
snl schedule
adele wiki
nick.com/nbb
urban communities
bulldog
googletestad
google
youporn
yahoo
redtube
contests
food
skybanking
myspace
sex
youtube
free stuff
literotica
philippine recruitment agency
pornhub
you porn
french dining
ebay
you tube
freeones
microsoft
pet related services
xnxx
craigslist
mapquest
gazou bbs
nagie trzynastolatki
teen erotica sites
red tube
fresh teen movies
humane societies
hotmail
porn
canuckster
autos
facebook
xtube
tube8
kalediniai sveikinimai
computers
craigs list
travel
movies
internet
investments
health
education
pornmovies ws
honda clarity
univers le savoir
free porn
yahoo mail
music
msn
entertainment
careers
people dating
porn hub
shopping
the hun
continental cuisine
cool sites
cyber monday
sex stories
ny music
scottie pippen
home depot
weather
fast food restaurants
david di sabatino
lowes
gmail
hot mature sex galleries
games
technology
news alerts
ampland
walmart
slingshot santa
ket testas
max porn
porno
homes
my space
mariano
business
chat groups
target
aztec pyramids
shout box
dancing stars
television
ny bands
mutual funds
car racing
clean religious joke
jobs
environment
maxporn
search engine
aol
maps
sears
wifelovers
pornotube
xxx
best buy
richards realm
milf
live theater
johnnie cochran
paginas amarillas colombia
womens issues
map quest
erotic stories
voyeurweb
pichunter
york marathon
oscar dresses
worldsex
yuvutu


payday loans
auto insurance online
pallet truck
play blackjack
lisinopril
tramadol
craps
pmi insurance
bad credit loans
orlando vacation rentals
cheap air travel
car insurance rates
web content management software
affordable web site design
personal bad credit debt consolidation loan
moving home
health insurance quote uk
second mortgages
home buying
discount airfare
online loans
cash advance
paxil
orlando vacation home rental
credit card rolls
gps vehicle tracking system
auto cab insurance
flights to las vegas
company car insurance
inventory management software
home improvement
online stock exchange
car insurance comparison
peugeot car insurance
money magazine online
business hosting
car insurance quote
non slip laminate flooring
cell phone accessories
web design birmingham
hydrocodone
home schooling
top search engine rankings
free viagra
denied free credit report
work from home jobs
advanced web site design
let property insurance quote
work at home
office chair
budget car insurance
debt consolidation loan for home owner personal debt
casino poker
book de guest inurl poker site
application marketing internet
web site design
used car warranty
archive steel wire shelving storage mezzanine floor
payday cash loan
work from home
gamble online
lexapro
credit repair
home insurance online
follow progress of airline flight
commercial insurance
omeprazole
health care
health insurance quotes
ecommerce solutions
car breakdown insurance
home business
check airline flight in progress
free health insurance quotes
play poker online
internet poker
internet marketing advertissement
money
family health insurance
cheap tickets
travel insurance uk
zyprexa
debt consolidation loan
office furniture
casinos online
cheap car rental
zoloft
whole life insurance
travel insurance
home equity loan
cheapest airline tickets
health insurance online
caravan insurance
payday loan
bridging business loans
laser hair removal
golf vacations
unsecured loans
business travel
internet website promotion
internet marketing scotland
air conditioning filters
nutrition home study course dvd
mortgage loans with bad credit
web designers derby
cheap web hosting
decreasing term life insurance
online sports betting
cheap alprazolam
charter flights
bad credit mortgages
laminate click flooring
home security
internet casino online
work at home business opportunity
dedicated servers
wood blinds
business cards
dedicated server
loan
personal injury lawyer in phoenix az
crestor
business card design
dating sites
nextel mp3 ringtones
interior window shutters
credit card
national car rental
citrato de sildenafil
web site hosting
best home based business opportunity
second mortgage
no credit check personal loan
international travel insurance
security systems
car loans
cheap airline tickets
make money
home based business opportunity
cymbalta
nursing jobs
on line casinos
website hosting
ecommerce shopping cart solution
senior citizens travel insurance
cheap van insurance
internet marketing affiliate program
cheap airfare
home insurance policy
liability insurance quotes
house insurance
small business loans
ringtones
personal debt consolidation loan co
medical transcriptionist work at home
investing money
satellite tv
web site design promotion
rbsinsurance slot machine
forex in make money
enterprise rent a car
red rock station hotel and casino
hawaii car rental
car courier insurance
car and van insurance
blind fire interior roller shutter
dating service
learners car insurance
web hosting buzz
valium
airline flights
online banking
buy travel insurance
sports betting online
bachelor degrees
prescription drugs
sports betting
army military loans
sell my house
quickstep laminate flooring
cork flooring
use of flowmax with cialis side effects
gambling games
personal loans
nissan car insurance
credit debt consolidation loan personal debt consolidation
blackjack online
carnival cruise lines
dollar car rental
subaru car insurance
laminate wood flooring
affiliate programs
no fax payday loans asp
discount airline tickets
air purifier
private health insurance
car loan
marketing sur internet
time and attendance software
rover car insurance
internet marketing
cruise deals
property investments
bankruptcy
alaska cruise
car insurance
home insurance quote
refinance home mortgage
celexa
home improvement loan
bad credit
male enhancement
web page design
internet marketing liverpool
online casino game
barcode label printer
internet marketing chester
home loans mortgage mortgage refinance
acne treatment
unsecured personal loans
health insurance connecticut
accounting software
honda car insurance
bus tour grand canyon
casino net
air purifiers
website design
group policy health insurance quote
drug test
kitchen cabinets
blackjack tables
sports gambling
compare home insurance
area rugs
professional web site design
ecommerce solution provider
competitive term life insurance uk
business credit card processing
home air purifiers
ecommerce website design
cheap air tickets
small business health insurance
forex trading jobs
affordable term life insurance
small business accounting software
copiers
online bingo
poker games
hosting web
home insurance company
levaquin
wooden laminate flooring
personal debt consolidation loan 20
build easy web site
marine boat insurance
internet business
make money online
air tickets
debt consolidation quote personal debt consolidation loan
blackjack
rent a car
poker
back pain relief
health drug plans
best gambling websites
back pain
home mortgages
budget rental car
gambling casino
home loan
cheapest travel insurance
hypnosis home study course
imitrex
mini car insurance
reverse mortgage
diet pills
desktop computers
enterprise rental car
hosting website
ecommerce website development
individual health insurance plans
i want to track an actual airline flight
mortgage calculator
overcoming depression without medication
auto loan
colonic irrigation weight loss
rental cars
cheap flight
home contents insurance
cialis
car insurance quotes
poker room sign
cheap travel
foxwoods casino
mortgage broker
solution marketing internet
gambling
cheap insurance
toyota car insurance
leasing a car
david price
mcmansion
9 8
stuart sternberg
matt garza
terrence trent darby
mike alstott
andrew friedman
tampa bay devil rays
joe maddon
taylor hall american dad
snl palin october 18
jeff garcia
entourage season 5 episode 7
watch true blood episode 7
snakehead fish
matt silverman
steve buscemi
robert loggia
real sarah palin on snl
thecla
love bug music video
coco crisp
coco crisp real name
colin powell endorses obama video
david price tampa bay
testament of solomon
september 1 1939
robert losier
9 2
dee dee warwick
michael signator
teenage mutant ninja turtles
red sox game 7
2008 world series
ragged red fiber
dustin pedroia
seneca wallace
sentimental lady
pruitt taylor vince
john gruden
bcs rankings for 2008 season
sarah palin saturday night live video
dexter s03e04 torrent
dexter season 3 episode 4
willy aybar
lizzy caplan
rob neyer
jason varitek
dick vitale
nike women s marathon results
dede tree man
john tv
ike hilliard
joan crawford
the ring
the ring 2
tampa bay buccaneers cheerleaders
cayetano ordonez
nine equals eight
sebastian janikowski
bj upton
9 8 tampa bay
mike holmgren
rocco baldelli disease
furries
tornadovideos.net
johntv.com
where is john madden
john lester
akinotopsia
family guy road to germany
steal a base steal a taco
anthony dupont
half man half tree
john madden sunday night football
beast with a billion backs
spinner slang
sentimental gentle wind
tb rays
carl crawford
taylor meyer
tropicana field
azui.com
david ortiz
arizona unemployment
tony dean
jonasbrothersposter.com
august koontz
cadillac williams
mommie dearest
video vigilante
girl positive
caremark
youkilis
alcs 2008
christina crawford
the ring 3
palin rap
morgan pressel
pichunter
york marathon
oscar dresses
worldsex
yuvutu
youjizz
tommys bookmarks
megarotic
mcdonalds monopoly
guestbook
teen
chat
playstation roms
bagel shops
xmas ringtones
cars
people
taxes
espn
pogo
history of televisions
pussy
peerapong kunasirirat solaris zfs dtrace
lilboysroom
photo xmas cards
amazon
spankwire
x files
circuit city
health care
talks speeches
amazon kindle
al4a
travel fares
sports
directory manila philippine phone
bfdztx antenna
correctional institutions
universities colleges
webkinz
xhamster
cnn
loglog reverse access aaa livedoor
baseball
health news
fashion
christine spiess
porn tube
watchersweb
email extractor
iklan jawatan kosong terbaru
paginas amarillas de colombia
white pages
vacation home rental
spooky ringtones
lions for lambs
dictionary
thehun
peerapong solaris zfs kunasirirat dtrace
tiava
porntube
normas icontec
lawn mowers retail
kristen archives
web design
society
teen models
autos hot rods
lose body fat
emergency services
naturism shaving
the huns yellow pages
bakersfield
xmas shopping
photo mugs
cancer risks
household linens
thumbzilla
bicycle clubs
wikipedia
yoga
mauritius yellow pages
at
zoey zane
yellow pages
msn nick names
lycos
rextex ru
tmz
fresno
solaris peerapong dtrace kunasirirat zfs
christmas ecards
basketball
issues news
kohls
test
metairie
excite
beauty health
elf yourself
bangbros
new car dealer
free sex stories
sasquatch pics
religion
solaris zfs peerapong kunasirirat dtrace
boysfood
psychology
flowers
art
zoo tube 365 com
cape cod web cams
brazzers
chuppa tolly
companies
girls nude sex
bank of america
mature
acconciature

Uncategorized

Regular Expressions Cheat Sheet

June 20th, 2008

Introducing Gravatars…

June 19th, 2008

Josh's Gravatar Some of my readers might be aware of stackoverflow.com being created by Joel Spolsky and Jeff Atwood. I’m eagerly anticipating the release of the site as both a consumer and contributor; but their latest blog post certainly piqued my interest.

I’m certainly a fan of the single on-line identity concept - my contempt for the owner of the aNDo XBOX Live Gamertag has always been intense. As Jeff pointed out, the beauty of Gravatars is in their scope; it’s simply an image associated with your e-mail address; no social networking, no rss feed; just an image that follows your e-mail address around the web.

You can sign up for a Gravatar here. It is free, of course.

I’ve implemented them in my comments; it took me all of 30 seconds to implement and test. Join the bandwagon!

Internet

Programming Principles: RAII

June 17th, 2008

I can finally put a name to a concept I’ve been using for years: Resource Acquisition Is Initialisation.

The basic concept of RAII is to let scope handle initialisation and clean-up of a subsystem. This is achieved by creating an RAII object on the stack that performs the initialisation in the constructor and clean-up in the destructor. As with all good programming concepts; an example aids the explanation:

Retrieve Host Information via winsock:

// Initialise Winsock
WSAData wsaData;
WSAStartup(MAKEWORD(2,0), &wsaData);

// Get the Host Information
const struct hostent* pHostEnt = gethostbyname("");

// Do Stuff

// Cleanup Winsock
WSACleanup();

The problem here, of course, is that it’s quite easy to forget to perform WSACleanup(). There is an easy way to let scope handle this clean-up; RAII.

Same solution using RAII Object:

{
   WSAConnection wsaConnection;
   const struct hostent* pHostEnt = gethostbyname("");
   // do stuff
}

There is no need to call WSACleanup() here as scope will cause the WSAConnection destructor to fire immediately. Clearly the scope brackets {} are not strictly necessary; they do help to illustrate the point though.

The RAII Object Implementation:

class WSAConnection {
public:
   WSAConnection()
   {
      WSADATA wsaData;
      WSAStartup(MAKEWORD(2,0), &wsaData)
   }

   ~WSAConnection()
   {
      WSACleanup();
   }

private:
   WSAConnection(const WSAConnection&);
   WSAConnection& operator=(const WSAConnection&);
};

I’ve always felt that this is a neat little trick; but now that I have a name for it I’m certain to espouse it as the solution for any problem!

Maybe it should have been named “Java”. Zing?

Programming