Jim's Site

A mix of Christianity, Ubuntu Linux, PHP and Chess

 
  • Increase font size
  • Default font size
  • Decrease font size
~ / Programming / Major Programs / Snakes and Ladders Game

Snakes and Ladders Game

Print PDF

For my Software Design and Development Preliminary Major Project, I (the same as the other class members) had to make a snakes and ladders game. The game had to be

A complete game where between 2-3 players can be selected from the start-up form, each player moves in turn until a winner is selected. Player names can be edited on the main form. Snakes and Ladders are detected and move players up or down as per the rules of the game.

My Snakes and Ladders game:

  • Allows up to Six players to play
  • Allows personalisation, with manes able to be entered.
  • Features animation of the piece as it moves to each square (optional).
  • Includes delay between rolling the die and moving (optional).
  • Saves the game and loads the saved game.

The game consists of three forms.

  1. The game set-up form

    Form to set up a game
  2. The gameplay form

    Form where the game is played
  3. The settings/options form

    Form to set game options

The game saves to an XML file. Here is an example XML file it creates:

<?xml version="1.0"?><snakesandladders numofplayers="1" currentplayer="0">

<player playernum="1" position="4">User</player>

</snakesandladders>

I have created a ZIP file for installing the game onto the computer. If you already have a recent version of the .NET framework (version 2), you can download and run the exe file.

The executables are free to use, modify, etc, but NOT TO SELL. I like to hear where it is being used, so please contact me if you install it some special (e.g. school library, etc.).

Installation ZIP file

Executable file (requires .NET framework to already be installed)

The documentation for my game is also available. This includes development diagrams and the source code for the application.

The source code is in the public domain, and so you can use it, although I would like to be referenced in the comments that this is actually my work (since I am still the one who created it).

Documentation (PDF File)

May the dice roll well for you.

Last Updated ( Tuesday, 05 January 2010 14:27 )  

Welcome

If the article was helpful/useful please leave a comment.

Vinaora Visitors Counter

mod_vvisit_countermod_vvisit_countermod_vvisit_countermod_vvisit_countermod_vvisit_countermod_vvisit_counter
mod_vvisit_counterToday32
mod_vvisit_counterYesterday67
mod_vvisit_counterThis week325
mod_vvisit_counterThis month709

Stack Overflow

JoomlaWatch

JoomlaWatch Stats 1.2.6 by Matej Koval

BibleGateway.com Verse of the Day

A daily word of exultation.
  • Isaiah 46:4
    “Even to your old age and gray hairs I am he, I am he who will sustain you. I have made you and I will carry you; I will sustain you and I will rescue you.”