SourceFiles.org - Use the Source, Luke
Home | Register | News | Forums | Guide | MyLinks | Bookmark

Sponsored Links

Latest News
  General News
  Reviews
  Press Releases
  Software
  Hardware
  Security
  Tutorials
  Off Topic


Back to files

Oligopoly

Small Monopoly [5]-like game applet for up to four players on one PC.

When I was in 12th grade [1], our Computer Science teacher told us, as final project of the class, to write a computer game. We could use any language we liked and any game idea we wanted. Since I had some Java experience, I wanted to do it in Java, and since I liked the game Monopoly by the Parker Brothers, I chose to program it.

The result is quite a simple Monopoly-like game which is only half finished. But it's playable and gave me the highest mark possible.

It's also ONLY German, and I will not translate it as I haven't got the time. But You can send me translations of course (as code), and I will link to them from the homepage if I liked them. :)

It's also open source under the GPL [2] (also bundled as gpl.txt), so if You'd like to use any part, rewrite it, improve it, You're ready to go!

I'm only releasing this because it has been GPL'd since its first compile, and it's only lying around on my harddisk, and people sometimes ask about games in Java... well there You are.

The last thing I did was changing the name from the original "Monopoly" to Oligopoly so I could release it without stamping on anybody's rights.

The game's homepage is at

http://content.no-ip.org/KnightsWiki/wiki.pl?OligoPoly

Tell me if You like the game! ;)

Requirements

To run this, You'll need at least a Java 1.1 compatible VM, for example the current J2RE 1.4.2_05 [3]. But others will do just as well.

You also need a web browser with a matching Java plugin, because this game runs as an applet.

To go into development, You'll need at least a Java 1.1 compatible VM and the software development kit (SDK) that comes with it, for example the current J2SE 1.4.2_05 [3].

You might also need software to modify or create graphics files used for the game board.

Installation & Running

Unpack somewhere and open Oligopoly.html in your web browser.

Sorry that it's only German, I made the game for computer science class and wasn't ready to release it anywhere... :D

You'll be able to play it just fine, I'm sure, even if You don't understand German.

What doesn't work yet?

Yet is probably the wrong word, as the game is not in development anymore...

Anyway, this is what's missing according to my bad memories: - The two kinds of cards You can get (the field is there, but nothing happens) - You can't buy houses or hotels
- No mortgages
- No idea if jail is working... I think it is

Tell me if You found more differences.

Development

I'm sorry that the game's source code is such a mess... there are no comments at all, but the design should be pretty easy to understand (streets, players have well-defined object classes, etc.).

Compiling is done by using "javac Oligopoly.java". Or however You call Your compiler.

I haven't touched the source code of this game since 12th grade, which was in May 2001, so I can't do much more with the code than most other Java coders can do.

But I'm still open for suggestions and improvements! If you want to do something with the source, I'll happily read about it and link to it from the game's homepage.

License

This game is published under the terms of the GNU General Public License [2]. A copy of this license is bundled with this software as gpl.txt.

Contact

Sebastian Breier, Seba_B_AT_gmx.net
http://blog.content.no-ip.org
http://content.no-ip.org/KnightsWiki/wiki.pl?OligoPoly Tomcat_ in #java, #java.de and #java.uk on QuakeNet [4]

--
[1] http://www.egsf.s.schule-bw.de/
[2] http://www.gnu.org/licenses/gpl.txt [3] http://java.sun.com/j2se/1.4.2/download.html [4] http://www.quakenet.org/
[5] (tm) Parker Brothers, Hasbro


Sponsored Links

Discussion Groups
  Beginners
  Distributions
  Networking / Security
  Software
  PDAs

About | FAQ | Privacy | Awards | Contact
Comments to the webmaster are welcome.
Copyright 2006 Sourcefiles.org All rights reserved.