Sliding Puzzle

This is a simple example of a game, or a toy in this case, that I developed with Flash cs4/ActionScript 3. It is a simple, clean and functional sample to show coding skills, so there was no need to get too fancy.

Here you can download both the swf and the source code (.fla and .as files).  On the same file you will find a ‘Reuse_Sample.fla” and .swf. That is a sample using the same SGPiece and SGGameField class files, only altering the .fla content, and its main class definition. You will also find documentation for the reusable classes.

Original: Mouse does everything.
Re-using classes sample:
— S – Solve puzzle
— R – Randomizes pieces.

Download documentation

  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: