So I was playing Yahtzee with some people while vacationing in Europe (WHAAAAAT, Yahtzee is a fun game!), and I started thinking what it would take to make a video game of it. I wasn't thinking about making a full release with all the bells and whistles, but just the guts.
Read more for source code.
Read more for source code.
- Details
- Written by Chris Savoie
- Category: Research
- Hits: 4194
Ok they don't suck, but I have managed to make some improvements on them. I'm currently in the process of rebuilding my personal base library. I'm trying to do it 'right' this time by adding unit tests and making everything simple and readable above all else. I've gotten to the point where I'm writing a String class. In the past I used the C++ style '<<' operators but I find them cumbersome for generating proper formatting. There is a lot of flexibility in the good old printf function (i.e. %10.10s). In this article I aim to show the (minor) deficiencies of the current Printf functions and describe better methods.
- Details
- Written by Chris Savoie
- Category: Research
- Hits: 4095
So I'm sitting here, all proud about my success with Compile time hashing, and I'm thinking, does it actually work? Short answer, not so much.
The good news is I fixed it and made it quite useful.
The good news is I fixed it and made it quite useful.
- Details
- Written by Chris Savoie
- Category: Research
- Hits: 11106
Have you ever wanted a nice system for being able to reference assets by name but you don't want to pay the price of comparing strings or constantly hashing (crc-ing) strings at runtime?
Now you can have best of both worlds. I've looked into various forms of hashing and making use of different techniques to find the quickest way to hash strings. In this article I'll explain what strategies are usually used and how you can achieve instant hashes.
Now you can have best of both worlds. I've looked into various forms of hashing and making use of different techniques to find the quickest way to hash strings. In this article I'll explain what strategies are usually used and how you can achieve instant hashes.
- Details
- Written by Chris Savoie
- Category: Research
- Hits: 7985
It's been a long time since I last updated the site. 2.5 years have gone by and I love my new job. Working at Massive Entertainment - a Ubisoft studio is basically a dream come true, more on that later. This post will give some detail on all the new bells and whistles now that I've upgraded from Joomla 1.5 to Joomla 2.5.
Click read more if you're interested in my setup and what modules and modifications I've made.
- Details
- Written by Chris Savoie
- Category: Articles
- Hits: 9631
I find it surprising how little I actually hear about XP programming and Test Driven Development (TDD). I'm not going to go in depth about the subject of TDD but I will share my thoughts and give a step-by-step guide on how to setup a cxxtest project that makes doing TDD with c++ easier than ever. For more information about TDD you can look at Games from Within. Noel Lopis goes very in-depth on the subject and has a lot of information about the different solutions available.
- Details
- Written by Chris Savoie
- Category: Articles
- Hits: 7915