Advertisement

Results for "Category: Games"

Java_Volume1 #101008
Spaceship Demo - 3D Accerlation for 2D Graphics

I'm currently tinkering around with the idea of making a massively multiplayer space warfare/trading game. In the past, I've used sprites and DirectDraw to do all my 2D game projects, but DirectDraw is being phased out and was rather inconvienent (if you wanted a rotating sprite, you'd have to get lots of pictures of the same object and flip them). What a pain. Recently I've started messing around with OpenGL (IMHO a much nicer API than DirectX) and I wrote this demo to explore the orthographic projection, which can be used to do 2D graphics at 3D speed (ironically, this is often much faster). Not that all the game objects have to be 2D, as the big rotating planet in the background demonstrates. For more code visit my site at http://www.stanford.edu/~jjshed/coding

Java_Volume1 #101009
ParticleXL (OpenGL Particle System) With Simple GUI

This is a cool particle system. See screenshot. Fire(candle flame), energy, sparks, gun fire, fire flies, crazy 8, and circle. It also shows how to do a simple GUI with openGL. If you like this please vote or leave a comment. They are always welcome. -James- BTW-If you don't have an OpenGL video card this demo will run slow. (GeForce 4 64mb - 76FPS, my laptop - 22FPS)

Java_Volume1 #101010
Italian game card

The purpose of my code is to make you have fun! This is a little game card I wrote to increase my confidence in C++, MFC, STL concepts. The italian name is "Sette e mezzo" : "Seven and half". It is tipically played on Christmas, betting the money we got by parents. Here you play against your Pc, that will want to take all your money! Be careful and try to take cards until you feel safe (you cannot have more than seven and half points if not you loose). You click on the card button,every card you want to add to your points, then when you have a good sum (5 or 6 or 7), you pass the turn to Pc, pressing stop button...It wants to beat you! Have fun. So I used vectors, strings, maps and iterators from STL library, and I create 2 logical modules, the one lower with C++ standard that interfaces with the other higher programmed with MFC dialog boxes, with buttons, edit box, bitmaps and so on. I would like to reuse my code, the lower module, to built another card game with little changes in the classes and some change in the GUI.

Java_Volume1 #101017
games center

game of snake and hangman with AI programming

Java_Volume1 #101035
Little boy

This is a nice game made in taxt mode.Have fun.

Java_Volume1 #101036
Ministry

Ministry is a text-based strategy game. It's one of the first major projects I've actually completed in C++. It's not much, but it is quite fun. If you like it, I would suggest that you try Ministry II. It should be available here or at (wjomx.tripod.com/games.html).

Java_Volume1 #101039
Don

IF, Switch, Else If statment

Java_Volume1 #101041
Matrix_Tron

I have included all of the source nessicary to immediately compile a Tron style game. There can be 2 - 4 players, any of which can be human or computer, you can set your keys, and even earn bonus options if you escape the arena.

Java_Volume1 #101043
Swordsman 2

The second version of a nice action game where you are a young skilled man with swords and armors. It has almost 2000 lines of code!!! I fixed some bugs and commenteted the code for those who want to study it

Java_Volume1 #101047
Cool 3D Game Engine

This is a cool game engine it has alot of things for a game programer to learn from , Loading Models , Movement , Skybox and even sound this has all the things you need to know now for starting your game Don't Forget To Vote :).

Java_Volume1 #101048
TTT

This is Tic Tac Toe game Consist of 15x15. Firstly view the screen shot...........

Java_Volume1 #101051
_A Dots Game_

This is a game called "DOTS". The purpose is to connect the matrix of dots with vertical and horizontal lines and make boxes. The player with the most boxes wins.

Java_Volume1 #101056
^PING-PONG^

This is a classical game of Ping-Pong, but with many improvements. You can play against a PC with 5 different skill levels or against a friend. You also have a lot of options. For example you can change the speed of the game, the score limit, you can choose a two-ball game (you will play with two ping-pong balls instead of one) or you can choose wether the PC will assist you in hitting the ball. The scoring goes as follows: if the ball hits a player's margin of the screen, the other player's score increases. The player that first reaches the score limit wins. Enjoy!

Java_Volume1 #101088
Snake ver3 release 1

The common snake-like game. This is written using API only (no MFC) with a simple graphic. In a next version I'll insert color picker and other interesting options.

Java_Volume1 #101097
A number puzzle

It's a game to arrange numbers in ascending order inside 3 X 3 boxes. It's a must see program for beginners.The code is very simple!

Java_Volume1 #101103
Battleship

This is a very simple battleship game that puts the player against the computer. There is a visual "board" created using arrays. Code is indented and commented. Great beginner's code!

Java_Volume1 #101104
^! CONNECT 4 !^

This is a Connect 4 singleplayer game. The graphics are nice and the source code is very small. The game is funny. Hope you like it! And vote for me !!!

Java_Volume1 #101106
Checkers (Draughts)

Brute force game tree search program for Checkers.

Java_Volume1 #101112
Volleyball

It's volleyball. Very simple code, but fun game nontheless. 1 and 2 players. I used Allegro for making this game. Please comment! Controls -------- Arrow keys/Up key - Moves player 1 a, s, d - Moves player 2 Use the arrow keys to select your options in the menu. Rules are, if the ball hits you more then two times on your side, you lose a life.

Java_Volume1 #101117
MasterMind - Crack the Code

My second C++ program - a copy of the Mastermind (guess the colour peg) game. I think it is better than my first attempt - the challenging part was making the program logic cope with varying parameters i.e number of colours, pegs, allowing duplicates etc. As ever, if i had to start it over again i would probably do it alot differently but it was fun to do and achieved the required goal. For the Mouse Support to work in Console mode (in Win2K only i think) you have to make sure that in the console window properties you untick the QuickEdit and InsertMode check boxes. Lastely, i'm teaching myself C++ from websites and books (which is pretty hard going) so if anybody has a feedback from a technical point of view - either good or bad - i'd be really pleased to hear from you! Many thanks Pete Probably technically "poor" but it does

Languages
Top Categories
Global Discovery