?

Log in

No account? Create an account
[PUBLIC] AIsteroids - The Cover Story
October 2013
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
 
 
Wed, May. 11th, 2011 11:14 pm
[PUBLIC] AIsteroids

This got generated as something of a byproduct of my research into a number of different things, but I thought I'd share it. I built a simple Asteroids network game. The architecture is such that the server calculates the entire game, and sends each client a report on what they can see. The client then sends back a very specific data structure that details what actions the ship takes. The server continues calculating and sending reports, and the ship continues sending orders. Any number of ships can be connected at the same time, and the game tries to spawn then close to each other.

The heart of this game is the C# Project that comes with it. The project contains a simple client with two procedures in the frmMain form (CreateShip and Think) that can be modified to build a new AI for the ship. The idea here is that multiple people develop different Ship AI's, and then connect them to a server to see which can accomplish a goal faster (although at the moment the only reasonable goal seems to be to shoot the other ship.) If there's interest in this kind of thing I'll spend some time to expand on it, if not, I'll probably let it go.

Anybody who is interested can find the starter kit (the C# project for the client and two different server applications) at this location. If you don't already have a C# (or other .NET) development environment, I suggest Visual Studio C# Express 2010.

Tags: , ,
Current Location: Bedford,TX
Current Mood: amused amused

1CommentReplyShare

petercooperjr
petercooperjr
Peter Cooper Jr.
Thu, May. 12th, 2011 03:18 pm (UTC)

I love this sort of thing. I wish I had the time to participate.


ReplyThread