I have decided to develop and XNA game called rotation.
All of the code is on a public repository on gibhub. It can be found here:
git@github.com:kevholditch/Rotation.git
If you are new to git and want to clone the repository then issue the following command:
git clone git@github.com:kevholditch/Rotation.git
To view all of the branches (ie checkpoints) I have put in the code:
git branch -r
I have labelled the branches after the blog posts, so you can easily switch to and see what I was thinking at a certain point. To switch to and create a branch at one of the branches I’ve created:
git checkout -b origin/<branchname>
Obviously you replace <branchname> the name of the branch that you want to move to. The above command will create a new local branch at the location of the branch on the remote and switch to it.
If you have already cloned the repository then you simply need to issue the following commands:
git fetch git checkout -b origin/
Here is a list of the full series of posts:
- Making an XNA Game – Part 1
- The Idea – Part 2
- Designing the first game objects and tests – Part 3
- A small tangent – Part 4
- Mapping out the main game objects – Part 5
- Knowing when you’re wrong – Part 6
- Moving to github – Part 7
- Rotating square selection – Part 8
- Starting the Graphics – Part 9
- Implementing the rotation animations – Part 10
- Adding AutoFac IoC Container – Part 11
- Discovering whether words have been made – Part 12
- Going event driven – Part 14
- Multi platform anyone? – Part 15
- Who needs letters? – Part 16
- Scoring & Levels – Part 17
- Finishing up rotation… – Part 18
- Download from iTunes – PART 19
I hope you have enjoyed my series on making an XNA game and some of the thinking that I go through when designing software in general. The techniques I have used like single responsibility principle and TDD can be applied to any type of programming not just game development.
You are open to grab the source code and extend the game. There are many ways you could take the game from here like add menus, high scores, sounds etc. I hope I’ve given you a taster of what is possible…
If you have any comments or feedback it is welcome. You can leave them on the blog directly, email me kevholditch@hotmail.com or tweet me @kevholditch.