ZDNet UK


Skip to Main Content

ZDNet.co.uk - Winner of Best Business Website 2007
  1. Home
  2. News
  3. Blogs
  4. Reviews
  5. Prices
  6. Resources
  7. Community
  8. My ZDNet

 

ZDNet UK RSS Feeds


IT Jobs

Online business Toolkit

Code-eating software battles it out in P2P arena

Matt Loney ZDNet.co.uk

Published: 06 Feb 2002 18:46 GMT

  • Email
  • Trackback
  • Clip Link
  • Print friendly
  • Post Comment

Coders across the UK will be flexing their digits over the coming weeks in an effort to write software whose sole purpose is to propagate across the Internet and battle similar pieces of code to the death.

It's not a virus, says Microsoft, which created the game to show what can be achieved in peer-to-peer applications -- particularly those using the company's .Net Framework -- but it does share some similarities with the way viruses work. For instance, the object is to propagate as many pieces of code -- or creatures -- as possible in the three weeks that the competition will last for.

And although it is just a game for now, it does show the possibilities of peer-to-peer computing.

The best way to think of Terrarium, says Microsoft developer tools product manager Gavin King, is as a game like Age of Empires. The word Terrarium means a glass case for small animals, or a sealed globe for plants. In the Terrarium world, each creature represents a piece of code. Once written, it goes out into the world to do battle and the gamer has no further control over it.

"Each player has their own Terrarium client, and once they have written their code it is left to wander around in their client," said King, explaining the fundamentals of the game. A ball rolls around the Terrarium client and if it lands on a piece of code (or creature), said King, it copies (or teleports in Terrarium parlance) that code to between 15 and 20 other Terrariums on the Internet.

The code, which can be written in any .Net language -- such as C#, Visual Basic.Net or C++.Net -- is translated into Microsoft's .Net low-level assembly language, called Intermediate Language, or IL.

It sounds difficult, but you don't have to be a hard-core programmer to participate, says Microsoft: the company is supplying a set of skeleton creatures with a basic set of behaviours to get people started. "You could release one of these as-is, but it might not last long," said King. Successful creatures will be the ones that have more complex behaviours, he added. "It is even possible to get these things working together as a group. The better the code you create, the better its chances of success and the higher its chances of procreation. The idea is not to get eaten."

The ultimate goal is to have the highest number of creatures across the Terrarium community. A control panel built into the client gives real-time statistical feedback on how each creature is performing, and the distributed nature of the game means that a creature can continue to propagate and move around even when the machine it was created on is switched off.

"Obviously, the longer your Terrarium is online, the better chance you have of getting more creatures out there," King added. "But once they are out there they have a good chance to procreate elsewhere."

King stressed that there is no danger of creatures that host malicious code causing any damage outside the Terrarium clients. "The game does have organic principles, and parallels could be drawn with viruses," he said. "But there is no opportunity in the code to write anything that could jump out of the Terrarium. If any code within creature tries to do anything outside the event model it is killed immediately."

Terrarium is played on the .Net framework, which is downloadable for free from Microsoft's Web site. The game starts on 13 February and is timed to coincide with the launch of Visual Studio .Net. King said that in theory, a Terrarium could be run on the .Net redistributable framework, which is a significantly smaller download (about 21MB compared to 130MB), but this would not give the world-view stats, or allow creatures to be created.


For everything Internet-related, from the latest legal and policy-related news, to domain name updates, see ZDNet UK's Internet News Section.

Have your say instantly, and see what others have said. Go to the Telecoms forum.

Let the editors know what you think in the Mailroom.

  • Email
  • Trackback
  • Clip Link
  • Print friendly Print with Dell

Did you find this article useful?
17 out of 52 people found this useful


Full Talkback thread

0 comments

Company/Topic Alerts

Create a new alert from the list below:











Related Jobs

Middleweight Developer Role, Glasgow City Centre

Furthermore, successful candidates will be responsible for the integration of the Microsoft .Net framework into the company development models, and ...

Birmingham based VB.Net C# Multimedia/ digital video experience

You should have at least 5 years experience in the development of client server applications using the Microsoft .NET framework. I seek a number of ...

PRINCIPAL DEVELOPER - LONDON CITY - C#, ASP.NET 2.0, AGILE - 38K - 48K

They will have a good understanding of Object Oriented Design with the C# language, the .NET framework as well as SQL Server. C#, MS SQL Server 2k, ...

Sentry Posts Blog

Skype - The Roach Motel

Here is an interesting article from The National Business Review, pointing out once again that you can never delete a Skype account. Never. Period. This is something I am familiar... More

Post a comment

The vPhone: Why Visa Should Go Mobile

The vPhone: Why Visa Should Go Mobile Author: Eric Everson, Founder MyMobiSafe.com With all of the success of Apple’s iPhone, there is a growing case to support a company like Visa... More

Post a comment

The Google Apple Merger: Fantasy or Fu...

The Google Apple Merger: Fantasy or Future? Author: Eric Everson, Founder MyMobiSafe.com Market research suggests that Microsoft controls upwards of 90% of the respective computer-based... More

2 comments

Featured Talkback

I wonder, who needs .asia domain? I cannot imagine, what would be useful for Microsoft.asia? Toyota.asia? Then let's register .europe (if .eu is too short). Or perhaps Microsoft.southamerica, Dell.australiaandnewzealand, Coca-Cola.africa... Sound funny? Then why not just use the global and country domains? Or perhaps it is time to drop the domains at all?

By: LadyRoot

Read full story:
Businesses advised to register .asia domains