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"
Tetris
Moderator: Coders of Rage
-
- Chaos Rift Junior
- Posts: 204
- Joined: Mon Nov 21, 2011 3:01 pm
- Current Project: Web browser from scratch
- Favorite Gaming Platforms: SNES, PSP, PS1 and 3
- Programming Language of Choice: C#
- Location: A house near me
- Contact:
Tetris
Last edited by tappatekie on Fri Jan 27, 2012 5:24 am, edited 5 times in total.
- dr-snipe
- Chaos Rift Newbie
- Posts: 42
- Joined: Sun Dec 19, 2010 10:09 pm
- Programming Language of Choice: C++, Java, PHP
- Contact:
Re: Tetris
Seems like a fun little project. More beginning developers might be able to use this as a stepping stone to larger projects or getting their feet wet in game coding.
C# I take it?
C# I take it?
-
- Chaos Rift Junior
- Posts: 204
- Joined: Mon Nov 21, 2011 3:01 pm
- Current Project: Web browser from scratch
- Favorite Gaming Platforms: SNES, PSP, PS1 and 3
- Programming Language of Choice: C#
- Location: A house near me
- Contact:
Re: Tetris
Yes,it's written in C# but because it's .Net, it can be used from VB.Net, C#.Net and C++.Net which in it's self is a good advantage to target easy, medium and harder languages.
My target would be easy enough for beginners to make a Tetris game but they can manipulate the engine into doing more complex stuff if they feel that they want to get dirty with the game code or they are more advanced coders.
My target would be easy enough for beginners to make a Tetris game but they can manipulate the engine into doing more complex stuff if they feel that they want to get dirty with the game code or they are more advanced coders.