Posts Tagged ‘Game’

C++ – Minesweeper

The other day I was tutoring a freshman programmer program his first minesweeper text game in C++. Here is the resulting code. 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 [...]

TicTacToe – C (procedural style)

This is a simple version of TicTacToe written in C. I wrote this primarily to help a friend of mine. It has virtually no error checking (primarily in regards to the scanf functions, so don’t mess up while inputting!) #include <stdio.h>   char board[3][3];   char turn = ‘X’;   void init(char board[3][3]); void draw(char [...]

3D Cube Engine – Java

3x3x3 Y – Increase dimensions. i.e. 4x4x4 -> 5x5x5 (not that if solid mode is true, then it will render slower Arrows – Translate the cubes across the screen If you’re only interested in the Transformation algorithms, check the below link: Graph4D – demonstrates methods and actual source code for rotating a 4D vector. Graph3D [...]

SDL Sprite Class in C++

This is a simple Sprite class that I use for game development in C++ using SDL (www.libsdl.org). Features include sprite animation, rotation, stretching, transparencies, and other commonly used sprite functions. I hope this is somewhat useful. The source is available and should be fairly simple to work with. Feel free to modify it however you [...]

Magus Map Maker – 2D Multilayer Map

Note: for a more fully featured map maker, I would reccomend using Mappy or Tiled This is just something I made a few years back to ease personal game development. Magus Map Maker is a 2D multilayer game map maker written in Purebasic. Magus Map Maker Features: Multiple Layers – make maps up to 3 [...]

Powered by WordPress | Designed by: WordPress Themes | Thanks to best wordpress themes, Find WordPress Themes and Themes Directory