to poroba
to komaxx
» komaxx » projects » VsGolf
LAYOUT: default
_« shout »_

Chris (2010-07-26):
Alles Gute Zum Geburtstag!!

Michael (2010-06-21):
*ping* What's going? Long time no see!

epreueue (2010-01-29):
Very nice site!

KoMaXX (2009-10-22):
ahhh, damn, stop spamming! I really do not want to build any captchas in here!

your mum und dad (2009-02-28):
We've tried to stop the prime numbers shitting bear. Not possible!

Your mum (2008-11-25):
Gratulation for Dream-Diplom! 1,0 is very acceptable. I'm proud of you!

KoMaXX (2008-11-25):
Thnx! Indeed, the "look" was with me ;)

Michael (2008-11-21):
Good look with your exam on Monday!

Serena (2008-08-24):
You're welcome

KoMaXX (2008-08-21):
I just feel like shouting.


That's it. Thanks for listening.

Serena (2008-04-24):
Haha, yeah, was a fun game while it lasted

No 10 was a bitch though

your mum (2008-04-07):
Ich wünsche dir einen schönen letzen Tag in USA und einen angenehmen Heimflug! Ich warte dann auf deine sms vom Münchner airport.Vielleicht gibts ja auch vorher noch einen neuen Bericht. kisses

KoMaXX (2008-04-02):
... versucht hab' ichs ;)
Which misunderstanding? Just really large trees :D

your mum (2008-04-02):
Hallo, ich warte schon auf deine nächsten Ergüsse auf englisch! Bist Du eigentlich auch schon mal zu deiner Diplomarbeit gekommen? Du hast ja schließlich von einem Arbeitsurlaub gesprochen. Bussi

Flo (2008-04-02):
trees having 3000 meters in height ... and bigger ... awesome ;)
sorry for misunderstanding you ...

KoMaXX (2008-03-27):
Sorry, too lazy for translations ;)

No, not first class, just first row in economy!

Petra (your mum) (2008-03-27):
I've read your news about San Francisco. Aber es wäre nett, wenns gleich immer eine translation gäbe!Du bist also tatsächlich in die first class geswitched?!What a "dusselbauer"!

KoMaXX (2008-03-17):
thnx :)

Serena Fate (2008-03-16):
Oi, figured out the car in CeBit Pictures ... it's an Artega ( ... apparently has some "innovative" electronic gadgets or whatever ...

taromda (2008-02-15):
Dude, I'm playing Basketball for years now and never got injured. You're doing it wrong :-D

Phil (2007-12-12):
haha, that puctuation guide is great - and I knwo exactly what you mean ;)

KoMaXX (2007-08-30):
;) Yes, English is obligatory. It makes the whole world understand (hopfeully ;)) and keeps my skills in shape.

Anni (2007-08-14):
Ist toll Deine Homepage, aber musst Du denn alles auf Englisch schreiben??? :))

Flo (2007-07-18):
Matz schnallts net 5 > 3 --> :(

Flo (2007-07-18):
not even top three ... damn YOU sir!

KoMaXX (2007-07-18):
Hey andi, thanks for the feedback. The safari-incompatibility should be fixed (I hope)!

andi (2007-07-14):
SHOUT! Love your layout and the hair-flic, but my safari messes up the footer?

marc (2007-07-02):
Ja, gar net verkehrt, dein Layout! Aber füll mal die blinden links auf!

KoMaXX (2007-07-01):
First post ;) In your faces *loser*!

Valid XHTML 1.0 Transitional
last update: 2008-02-04


VsGolf screenshot

What is it?

VsGolf was developed during one of the coolest courses ("Mobile Gaming Praktikum") I ever did at my university. It is a game running on location-aware mobile devices for (at least) two larger teams. The Gameflow is as follows: Each team has his home-area (called the "bunker"), a circular region of about 100 meters in diameter. Also, there are virtual golf-balls lying around all over the playfield (which may be a whole city!). Balls lying inside a bunker count as negative points for the respective team; so, the teams should make an effort to keep balls out of their bunker. Each team-member can therefore kick balls. She does that by walking to the spot, where the virtual ball lies and kicks it by running over it. She controls the strength of the kick and the direction through the speed and direction of her running. When she kicks the ball into the enemie's bunker, she gets some extra points for her team. A match can run from few days to a semestre (it was thought as a new game between the two big universities in Munich ;) ).

That was the basic (and implemented) concept. However, we had lots and lots of ideas how to make the game even cooler: There could be heavy balls, which can only by kicked by two or more people together; or you could tag the balls with massages or stories and add so a little more motivation and fascination. Or you could make balls become "hot": The longer a ball lies at the same spot, the more points are subtracted from the respective team, so you have to aim more carefully to hit little frequented spots. Or ....

In all of these concepts, VsGolf stays apart from virtually all other games: You can play it ambient or actively, i.e., you can just kick a ball if you randomly stumble upon one or you can actively seek balls via the simple map-view (see screenshot above). Also, VsGolf is played in the real world; yes, you kick virtual balls, but all interaction happens in reality an you don't have to look on your mobile device's display to play. Finally, kicking your ball by running over it is just waaay cooler than any button-pressing ;)

How does it work?

VsGolf relies heavily on the TraX-framework developed by Axel Küpper and Georg Treu. The VsGolf-client running on mobile devices uses this framework to fix its position by any available positioning way: GPS, bluetooth or wifi-triangulation. TraX handles also the communication with the server. So, when VsGolf is started on the client, it pulls a list of all balls from the server. Then it frequently checks its position. When the device comes near of a virtual ball it may switch into kicking-mode: The user has a few seconds to "place the ball on a tee". Then she has to step back a little and runs over the place of the "tee" to kick the ball. Speed and angle of her run determinate thereby range and direction of the kick. Afterwards, the new position of the ball is uploaded to the server, which takes the new position into account when computing points.

Development status

Closed. The final status was a prototype version (so pre-alpha) that works without any known bugs. We stopped developing after the course was finished, since we deem the concept proven. However, if location-aware devices ever hit the main-stream, we might resurrect and rewrite VsGolf.

Give me the technicals!

VsGolf is written completely (in 4 days) in JavaME with Eclipse as IDE and a mobile device emulator from Nokia. All position-fixes and communication wirh the (MySQL-)server is handled by the TraX-framework. The client effectively runs in three separate threads: TraX, that delivers events and position-fixes into a buffer-object, a animation-thread, which effectively implements a drawing-loop, and the main-thread, which runs interactions. This structure, JavaME, Eclipse and TraX proved to be a very powerful combination: After one forenoon of specifying and planning, we started implementing. And four days later, the system was up and running - granted with rather poor graphics, but also without any major bugs!


I can't give you the source-code for VsGolf, since it stayed on the computers of the university. However, we've written a scientific paper, which was published at the Computer Software and Applications Conference, 2007. You can get the paper here at IEEE:
   COMPSAC 2007 - Vol. 2. 31st Annual International Volume 2, Issue , 24-27 July 2007 Page(s):109 - 114
... or download it directly from my page:   VsGolf_paper.pdf (609 KB)