Tetris
Posted: Thu Jan 26, 2012 9:35 am
Hi guys, just wondering if you would like this. Basically, I am extremely bored, my project has stalled because of another developer and thought about making a Tetris Game API for .Net which basically holds all the core functions of Tetris e.g block update and the predefined shapes you get with Tetris.
I posted this to see if amateur programmers would enjoy playing around with the functions and easily make a Tetris game of their own.
And yes, it will be open source with the code very heavily commented (nearly every line of code will be commented) with each function compliant with Visual Studio IntelliSense (you can see a description of each function)
Here is a list of features I hopefully will have implimented:
1) Shape rotation (90d steps)
2) 2 dimensional matrix for "cells"
3) Input hooks
4) VERY basic sample game
5) Shape queue and generator
6) Custom shapes
7) Events to tell client if you have a full row etc.. (will help if you want a scoring system)
8) Shape collision (with events)
9) Velocity (yes Tetris shapes can fall upwards :D)
10) Possibly make a history system (you can go back previous moves)
11) A shadow thingy which shows where your shape will go (possibly)
Note: Development of the code will take a few months since I may be switching between project and tetris. Oh and the rendering engine will be from CPU (.Net renderer) not GPU so you MAY need a suitable CPU to render everything smoothly, but like I said, it's only a sample game, you can utilize the GPU via DirectX if your really want to get down with the code.
Copyright notice: Tetris is not my idea, I don't own the name Tetris or have any connection with assets or copyright of Tetris. This is why in the final product, it won't be called "Tetris Game API" but "Connectrix Game API"
I posted this to see if amateur programmers would enjoy playing around with the functions and easily make a Tetris game of their own.
And yes, it will be open source with the code very heavily commented (nearly every line of code will be commented) with each function compliant with Visual Studio IntelliSense (you can see a description of each function)
Here is a list of features I hopefully will have implimented:
1) Shape rotation (90d steps)
2) 2 dimensional matrix for "cells"
3) Input hooks
4) VERY basic sample game
5) Shape queue and generator
6) Custom shapes
7) Events to tell client if you have a full row etc.. (will help if you want a scoring system)
8) Shape collision (with events)
9) Velocity (yes Tetris shapes can fall upwards :D)
10) Possibly make a history system (you can go back previous moves)
11) A shadow thingy which shows where your shape will go (possibly)
Note: Development of the code will take a few months since I may be switching between project and tetris. Oh and the rendering engine will be from CPU (.Net renderer) not GPU so you MAY need a suitable CPU to render everything smoothly, but like I said, it's only a sample game, you can utilize the GPU via DirectX if your really want to get down with the code.
Copyright notice: Tetris is not my idea, I don't own the name Tetris or have any connection with assets or copyright of Tetris. This is why in the final product, it won't be called "Tetris Game API" but "Connectrix Game API"