The Open Source of Hovering Ideas

Posts tagged “c program

My 1st C/C++ Game – Rattle Snake Game


Well Guys !!
After studying and practicing more like HELL in Programming for years, I’ve finally came to one of its very cool and fascinating application : Gaming, on which I’ve made – A Rattle Snake Game in C/C++ Programming Language.

It’s a very Simple and Common Game, not that complicated and even not that challenging. However, It’s a great step to Get Started with Game Programming in C/C++. I’ve made this Game using logically sound Algorithms, Concepts on Arrays, Structures and Loops, and also DOS Graphics. However, It requires some nice Skills and more Practice to Built and Run such a program.

I’ve just done the Gaming Part, where you’ll get to see the whole body of the Snake (including its Head and Tail as well :P) moving accordingly to Player’s Key Movements.The Snake’s body gets increasing after consuming the Food/Egg on its way,which is quite animative. As obvious, the Game gets Over, when the Snake structs the Walls or even its own body foolishly :P. Moreover, I’ve designed an Instructions Menu for getting an Help in moving the Snake and a Scorecard which would keep an updated score during the Game, which hopefully would be an attractive and helpful thing to get notice upon. 8)

I would upload all its screenshots probably on my upcoming Post.

So far, I’ve laid emphasis on the Gaming Part,which has been completed and running successfully. But, Certain Animations are still required to make Game Intro, Menus and Outro are yet to be done. So, There’s an unfinished job for completing it in a whole. Hopefully, I’ll be able to complete’em just before my College Holidays.

As a matter of fact, many Elite Programmers have made so even more better than me, on various Programming Languages like – JAVA, PASCAL, C#,FORTRAN, PIKE, PHP etc. alongwith some  Modern Graphic Techniques like API, OpenGL etc., which are quite more compatible to Run successfully on my Platform as compared to mine.

But the purpose of making this Game, is simply understanding all the concepts which I’ve leaned so far and exploring furthermore in the filed of Game Programming.

Soon, I’m gonna upload the Full Game, when I’m done with its Finishing Work. Hopefully, It comes soon ASAP. 😉

P.S. :- It’s very very easy to play Game in your PCs and Laptops. But it’s F*cking too Hard to make such Games through Programming Languages.