Welcome to Nexfinity

G'day. My name is Christopher Johnson and I'm a University student studying Software Engineering at the University of Adelaide. Nexfinity.net is my website in which I'll cover programming related projects that I am working on as well as other tidbits from my day to day life. I have a passion for video games and computer programming and I hope that you I can share this with you through Nexfinity. Thanks for stopping by. I hope you enjoy.

Twitter Update

Follow me on Twitter

Current Project

Paint Prototype - C++ - SDL

Navigation

Categories

Most Recent Articles

Browse by Month

Blogroll

Content Syndication

Meta

CC-GNU GPL
The software on this website is licensed under the CC-GNU GPL version 2.0 or later. Unless otherwise stated.

Draughts Game Complete

March 8th, 2009

I’m happy to say that I have finished adding all of the small touches to Draughts and it’s ready for public consumption. According to the deadline I set I am a bit overtime which is slightly disappointing. I think the biggest contributing factor was a lack of planning. By the time I finished implementing the baseline functionality, the game states or the game engine weren’t implemented. Despite being a tad late I feel that I’ve learnt a lot about some new tools such as Valgrind and bit about how game engines work.

I’d like to thank Roald Strauss for the music. I discovered his music at Indie Game Music which is an excellent resource for finding game music.

I have only provided the source code for Draughts since I didn’t want to have to deal with request about any compatibility issues. You can however compile the source code yourself and play. The game requires the SDL, SDL_image, SDL_ttf, SDL_mixer libraries. Here is a great tutorial about compiling SDL applications for your system.

Download Draughts Source Code

http://nexfinity.net/portfolio_files/draughts/draughts.tar.gz

Everything provided in this zip file except for the background music is under the CC-GNU-GPL license. The background music is owned by Roald Strauss and he’s permission has been granted for use in this game.

If you would like to leave feedback then you can enter a comment below or drop me an email. I have a few ideas floating around for what I want to do next, probably something more ambitious with SDL since I enjoyed using it. For now my brother has a few web related things for me to do which I should get to. Hope you enjoy playing.

Related Posts

Comments (2)

  1. Comment by Tubi, June 19th, 2009 12:57 pm

    Hi, I just wanted to ask on what you create the code? Because I had Borland C, so i just downloaded DEV-C++. I liked that you created all objects in a new file.
    pls send me immediately your answer.
    TUBI

  2. Comment by Nexus, June 19th, 2009 3:00 pm

    Hi Tubi,

    I used Vim as my text editor of choice but I suspect you want to know how I compiled it all together. I used GCC to compile my code. I provided a make file with the source code that can be used to compile it all together.

    Since you mentioned that you used Dev C++ I’ll take a guess and say that you are using Windows. If that is the case then you’ll need to do either one of two things to get it working.

    You’ll need to setup SDL through Dev C++ go here to find out how, http://lazyfoo.net/SDL_tutorials/lesson01/windows/devcpp/index.php, you’ll also need to setup SDL_ttf, SDL_mixer and SDL_image which is explained in a later tutorial on that same site. Once you have SDL up and running then you’ll need to compile it through Dev C++. I’m not sure if it will automatically resolve the file dependencies or not. If it doesn’t have a look at my makefile to get an idea.

    Alternatively you can install Cygwin or MinGW on your machine and then install SDL via that as detailed here http://lazyfoo.net/SDL_tutorials/lesson01/windows/mingw/index.php . You can then run my make file and presto it should compile.

    Best of luck Chris

    I also need to slightly touch up that code I am reincluding header files which I don’t need to do. Not sure why I did that. :\

Leave a Reply

(required)

(will not be published)(required)