Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Geek Culture / Suggest a simple object oriented game

Author
Message
Arkheii
21
Years of Service
User Offline
Joined: 15th Jun 2003
Location: QC, Philippines
Posted: 11th Jun 2006 10:54
'Sup TGC.

My friend's major course requirement this term is to develop a simple game using Java. The focus of the course is object-oriented programming, so they need suggestions for a game that's relatively easy to program, but takes advantage of an object-oriented design.

For example, I've suggested Arkanoid/Breakout, since it's relatively simple, but the game can be extended very easily through lots of inheritance. Meaning, they can easily add new kinds of blocks/powerups through OOP.

I'm out of game ideas.

At the end of the term, they will present the game, and the prof might ask them to add new game objects with different behavior on the spot, so the more flexible the game, the better. Also, they don't have to worry about including sounds/music or making the best graphics since the goal is to put OOP in action through the gameplay.

They are a group of 3 people who will be working on the game for roughly 3 months (which includes learning Java and OOP along the way). So I estimate that it should be the type of game that can be crammed by an experienced indie-level game dev'er in about 1 week.

Thanks for any suggestions.

btw, I went through this as well last term, and submitted an Ice Climbers-ish platformer. In their case, they need something simpler.

BatVink
Moderator
21
Years of Service
User Offline
Joined: 4th Apr 2003
Location: Gods own County, UK
Posted: 11th Jun 2006 11:25
Any management game fits the bill. For example, an alien zoo where you can specify animal traits in you animal class and create new creatures with different requirements.



Jess T
Retired Moderator
21
Years of Service
User Offline
Joined: 20th Sep 2003
Location: Over There... Kablam!
Posted: 11th Jun 2006 12:51
I was going to suggest a Card Game... I did Spider Solitair in C++ and it's all OOP...

... But, BatVink's idea far surpasses mine

Team EOD :: All-Round Nice Guy
Want Better dbHelp Files?
http://jt0.org
Arkheii
21
Years of Service
User Offline
Joined: 15th Jun 2003
Location: QC, Philippines
Posted: 11th Jun 2006 14:59
Quote: "Any management game fits the bill."


As long as the mechanics isn't too deep, I suppose it's manageable (har har).

Quote: "I was going to suggest a Card Game... I did Spider Solitair in C++ and it's all OOP..."


I saw that game The problem with a card game is that it's difficult to extend any gameplay related objects since it's based on a strict set of rules. Likewise for board games.

I was thinking about having more interaction between the objects in the game. Complexity of the design is also being graded.

Jess T
Retired Moderator
21
Years of Service
User Offline
Joined: 20th Sep 2003
Location: Over There... Kablam!
Posted: 11th Jun 2006 15:14 Edited at: 11th Jun 2006 15:16
Hows about one of those "Suffle the peices" games...

The best example I can think of is the Traffic Jam one where there's different sized vehicles in the way.

That would be extendable so you could make a new level really large, and add in some huge vehicles, some of which are immobile, etc..?

Quote: "I saw that game"


Hurrah! I'm popular

Oh, and watch out for my next one... DS Domino's

Team EOD :: All-Round Nice Guy
Want Better dbHelp Files?
http://jt0.org
CattleRustler
Retired Moderator
21
Years of Service
User Offline
Joined: 8th Aug 2003
Location: case modding at overclock.net
Posted: 11th Jun 2006 17:37
Quote: "add in some huge vehicles, some of which are immobile"

sounds like the NYC roads

Dazzag
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: Cyprus
Posted: 11th Jun 2006 18:47
Simplest I can think of is a Wack-a-rat or Duckshoot type variant.

Cheers

I am 99% probably lying in bed right now... so don't blame me for crappy typing
Jeku
Moderator
21
Years of Service
User Offline
Joined: 4th Jul 2003
Location: Vancouver, British Columbia, Canada
Posted: 12th Jun 2006 00:25
I think a card game is great for OOP as each player can be an object, and then the CPU can extend the player object with AI. Also the deck of cards can be an object with 52 card objects. The dealer can issue commands to the deck--- deal card, shuffle, etc.

That's what I did for my online Blackjack Java game, and we had to also incorporate distributed processing.

"I understand creative people. After all, I worked with towel designers." - Ray Kassar, former head of Atari
Nicholas Thompson
20
Years of Service
User Offline
Joined: 6th Sep 2004
Location: Bognor Regis, UK
Posted: 12th Jun 2006 11:16
How about a hacking game (kind of like Uplink)?

A machine would be a class... In that class, you'd have basic object (forgotten the techie term) for things like Firewall, Software (as an array), CPU and finally an array of links to other machines (could be like a multi-node linked list.. Probably best to use pointers!).

The you'd have a template Firewall object (structure? Damn whats that term...) and you'd extend/implement it to create different firewalls... Same process for software, etc.

How's that sound?

[center]
Jess T
Retired Moderator
21
Years of Service
User Offline
Joined: 20th Sep 2003
Location: Over There... Kablam!
Posted: 12th Jun 2006 11:47
Nick, the word you're looking for is infact an 'Object'

Team EOD :: All-Round Nice Guy
Want Better dbHelp Files?
http://jt0.org
Nicholas Thompson
20
Years of Service
User Offline
Joined: 6th Sep 2004
Location: Bognor Regis, UK
Posted: 12th Jun 2006 14:15
Hehe - an object is too generic. There is a term for an "object" which has all the functions and variable in place but contains no content... Like:


That kinda thing...

[center]
Jess T
Retired Moderator
21
Years of Service
User Offline
Joined: 20th Sep 2003
Location: Over There... Kablam!
Posted: 12th Jun 2006 14:36
That's then the class

lol

But seriously, the class holds all the data members + mutators/modifiers as well as constructors and destructors, then you make an object from that class which is simply a copy of those data members within memory that can utilize those mutators etc

Team EOD :: All-Round Nice Guy
Want Better dbHelp Files?
http://jt0.org
indi
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: Earth, Brisbane, Australia
Posted: 12th Jun 2006 15:12
what about a twist on the program life.

red class entities
green class entities
blue class entities

all interact with each other : eg: red eats green, green eats blue, blue eats red...
populations can be determined using 3d cubes if you need primitive output.
after consumption that particular colour duplicates itself to a square closest to the original.

A.I. in this context will always pull an A for test results

Arkheii
21
Years of Service
User Offline
Joined: 15th Jun 2003
Location: QC, Philippines
Posted: 13th Jun 2006 12:04
I thought a space shooter would be good, but I'm not sure if they can manage one.

Login to post a reply

Server time is: 2024-11-17 04:47:48
Your offset time is: 2024-11-17 04:47:48