The Chess Game

A quite simple game of chess, created from scratch using C++. No rendering engine (like irrlicht, or 3DGS) was used in any way. It used OpenGL for producing 3D graphics, and OpenAL for creating sound.

A game in progress

The rules of the game are the same as the original chess invented thousands of years back. The only difference is that the “pieces” are alive. The king and queen are actual chinese characters, who walk, attack and die. The pawns are battle droids from the Star Wars movies. The knight is Darth Vader. The rook and bishop are some wierd characters that even I don’t recognize.

And the game is between the red and the blue, instead of the traditional black and white.

The red knight taking on a pawn of the blue player

If all this reminds you of the old Batchess, you’re right. That game was the “inspiration” for this one.

Features

  • OpenGL for graphics
  • OpenAL for audio
  • Uses Quake 2 models (MD2)
  • Uses .tga, .bmp and .jpg files to skin models
  • Uses Object Oriented Concepts of C++ (e.g: a renderer object handles all display, a chess piece object handles all move validation, etc)
  • Implements a Camera Animator class to move the camera over a specified path. Used at multiple places. e.g: to create dramatic kill sequences, turning the tables, etc

The blue queen can attack the red knight

Overall, a quite basic game programming project. But much of an achievement for me – not using any pre-made game engine – everything made from scratch!

  • Facebook
  • Google Buzz
  • Digg
  • Twitter
  • Delicious
  • StumbleUpon
  • LinkedIn
  • Technorati Favorites
  • Share/Bookmark
  1. #1 by Shivda on January 4, 2010 - 6:50 pm

    Godlike _/\_

  2. #2 by Paternus on March 14, 2010 - 3:03 pm

    liquid, nice to meet you… Can I have your MD2 models for the chess piece? Because now I’m having a project to make a 3D chess game, but I can’t find the MD2 models for the chess piece everywhere… I really appreciate if you can e-mail me… thx…

  3. #3 by Utkarsh on March 14, 2010 - 3:12 pm

    @Paternus Sure… check http://www.panebianco3d.com/download-3d.htm it seems to have some free MD2 models. I got mine from http://polycount.com (for some reason they’re “down” :-\) Or get some mods for quake II that have models.

(will not be published)