Home       Imprint / Impressum Select Color Scheme 
 
 
My Other Sites
myrotacol.net
mail-erinnerung.de
pdadmin-forum.de
wohnzimmerhosting.de
mydxs.de
Fischerseiten  german text
Fischerprüfungen
Angeln in den USA
Oak Island  german text
Wo liegt Oak Island?
Geschichte
Das Geldloch
Fotos
Links
Kombucha  german text
Was ist Kombucha?
Eigenschaften
Herstellung
Bezug
Häufige Fragen (FAQ)
Links
Proxy-Dll Concept
Introduction
The Concept
Realisation
HowTo 1
HowTo 2
References
Users' Contributions
Downloads
 
Irrlicht Engine: Test Game CHASE-ME (Demo)
-- Section: Irrlicht --

Chase-Me was inspired by the german board game "mensch aergere dich nicht" (eng: "don't worry") by Schmidt Spiele GmbH, Berlin (http://www.schmidtspiele.de). As I'm told, other names for this game go like "Ludo" (UK), "Lido" (Egypt), "Sorry / Parcheesi" (US).

The code provided below was written to learn the basics of game programming (using the Open Source Graphics Engine "Irrlicht3D", the 3D modeller Milkshape3D and other tools).

This is a demo only. You can't actually participate - just watch the computer players acting. Below, the executables and source code are presented for download. Just in case you want to take a look - or even have a good laugh about my crappy programming style.

 
Program Features

- Fully 3D (DirectX9/Windows, OpenGL/Linux)
- Windowed mode 1026x768 only
- Full automated mode only (4 computer players)
- Pause mode
- Language is english only

 
Game Rules

You won't need to know the rules (as this is an automated demo). Just if you are interested.

Chase-Me is played by 4 players, using a dice. One player after the other (clockwise rotation) rolls the dice and moves one of his/her tokens accordingly (if possible).

Each player gets 4 tokens. The game's goal is to bring all tokens from the start position (where they reside in the beginning) to the home zone (4 fields in a row, painted with the players' color). The way to there is via 40 "walk-fields". Walking directon is clockwise only. No walking backwards. Only the full number shown by the dice may be moved.

A token may only be moved out of start position with a dice result of 6. Then, it must do so, though. It moves to the "init position" then, waiting for the next move. A token can not move out if another item of this very player is still occupying the "init position". Move another token instead.

Players can hit other players' tokens, sending them back to start position. For doing so, an own item must end its move at the position of a foreign item. Bypassing does not have any effects.

The home positions of each player are not accessible by other players.

As soon as one player has lined up all of his/her tokens in the home zone, the game is over and the winner is set.


 
Credits

Irrlicht homepage: http://www.irrlicht3d.org
Milkshape homepage: http://www.milkshape3d.com
Skybox textures: http://www.hazelwhorley.com

Kudos to Josef Friedrich Schmidt, who invented "mensch aergere dich nicht" during the winter of 1907/1908.


 
Pictures

Running on WindowsXP

WindowsXP, too

Debian Linux (Sarge)


 
Code Layout

The game consists of several classes:

CCamera: Handles camera movements and takes care of the light.
CDebug: Shows and updates the debug window, if activated.
CDice: Controls the "dice rolling"
CGui: Handles all gui elements (Buttons and F1 help window)
CInput: Mainly the event handler
CMap: This is a monster. Does all movement of objects. Famous routines like "CheckIfPlayerCanSlayAnother" can be found here. For follow-up movements, sort of a "movejob engine" is implemented. Functions "submit" move jobs for elements, which are carried out later on
CPlayer: Lining up the player's actions by using a "state machine" (well, kind of)


 
Download

File File-Date Size Remarks
ChaseMe_Demo_Src.zip 3/11/2006 4.6MB Complete source (VC++ .net and Linux makefile)
ChaseMe_Demo.zip 3/11/2006 3.2MB Compiled demo programs (Win + Linux)


 
Computer
ChartLinkCreator
TokenBuilder (3DGS)
HexMapCreator
Well-o-Mat  german text
Building a Webserver
Game Tools List
DXStudio Goodies
GetKeyState Plugin
Cryptor Plugin
Particles2D Plugin
Utility Plugin
DXSTwitterListener
DXSPather DLL
Summer'09 Competition
DXSCheckMem DLL
pnpTC DXMesh plugin
Turnipmaster Online
L3DT DXMesh plugin
Embedding and Enet
Multiplayer Test App
Tokenbuilder Redux
CannonModule
Models/Renders
Robot Model
Winebarrel Model
Cigarette Box Model
Remote Control Model
Irrlicht3D Goodies
CGUIexScrollWindow
CGUIexChatWindow
ChaseMe: Demo Game
My Project Skeleton
MikoChess: Test Game
 
 

miko-cms v5/2009  |  http://validator.w3.org/check/referer  |  admin