Java-Gaming.org Hi !
Featured games (90)
games approved by the League of Dukes
Games in Showcase (768)
Games in Android Showcase (230)
games submitted by our members
Games in WIP (854)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1]
  ignore  |  Print  
  [J2DMonopoly] Free unfinished monopoly clone (Polished graphics)  (Read 16339 times)
0 Members and 1 Guest are viewing this topic.
Offline TehJavaDev

JGO Knight


Medals: 17
Projects: 3
Exp: 7-9 months


Java is so dope they wanna >:D


« Posted 2014-10-14 00:48:14 »

Hey JGO, for the past 2 days I've been working on a networked monopoly clone.
As I pondered the required programming to finish the project, I decided to stop development and drop it. Yawn
(I now desire to create a different game as I'll be buying the monopoly game in-store, so I've lost interest in this project Undecided)

Before we start:
Thanks for reading JGO, I don't know if you're allowed to post "Free unfinished projects" so hopefully this thread isn't deleted Tongue
- Enjoy, hopefully someone finds this useful whether you take code from it or finish it ^__^

- MEDIA FOR THE GAME IS AT THE END OF THIS THREAD
- SOME CLASSES ARE AVAILABLE FOR VIEWING BELOW MEDIA (pastebin.java-gaming)
- IF YOU USE THIS UNFINISHED PROJECT AND NEED HELP ON HOW A IMPLEMENTED FEATURE WORKS PM ME

If you desire the full eclipse project:
Download eclipse project (7.82mb -> assets included)

If you desire the source code only:
Download source (13.8kb)

PROJECT NOTES:
There are some coding flaws, like instantiating a new Font each render call. Emo (See GameBoard.java)
There is no networking involved in this project, although I desired to do so using my networking library GNetLib as a test case.
Assets (sprites) folder is around 7mb. (Graphics have been enhanced via Photobucket)
This project uses JTattoo for a custom look and feel. (Currently GraphiteLookAndFeel)
Most of the code has comments by it, so if you wish to continue development it'll be easier to do so.
The current features are flawless. (Features have been thoroughly debugged & fixed to work properly)
Banking system is awesome, keeps track of all bills and the quantity of that bill.
You can change the duration of a dice roll.
You can change the delay between dice texture changes that occurs during rolling.
You can change the rate at which the "Press space bar to roll" text flashes.

Current features:
Ability to create a game with 1-6 players. (See J2DMonopoly.java constructor)
Ability to deal players cash from the bank & have it deducted from the bank at the same time.
A simple dice rolling system. (Flawless so far)
Player cash system. (Player cash is rendered & shows # count of each bill)
8 Monopoly tokens. (barrow, boot, car, dog, hat, iron, ship, thimble)
Game rendering. (board, logo, side panels, dice, player tokens, player cash, bank cash etc)
Space bar to roll the dice. (Player turns/moving not implemented)
Game loop with the ability to set the desired FPS/UPS/frames to skip. (delta time implemented)
Advanced bank system. (All bill types in monopoly have been implemented)
Keyboard input. (Only working key at the moment is space bar -> to roll the dice)
FPS/UPS counter.

Features that are visible but not yet implemented:
A line rendering the pots current cash value. (No pot system implemented)

Console log of game starting up:
1  
2  
3  
4  
5  
6  
7  
8  
9  
10  
11  
12  
13  
14  
15  
16  
17  
18  
19  
20  
21  
22  
23  
J2DMonopoly -> GameLauncher -> Setting look and feel for game window...
J2DMonopoly -> GameLauncher -> Creating game instance...
J2DMonopoly -> Setting up a new monopoly game...
J2DMonopoly -> Setting up gameBoard...
J2DMonopoly -> GameBoard -> Loading dice...
J2DMonopoly -> GameBoard -> Loading sprites...
J2DMonopoly -> GameBoard -> loadTokens set to false, skipping loading. (Developer option)
J2DMonopoly -> GameBoard -> Loading board sprite...
J2DMonopoly -> GameBoard -> Loading main background sprite...
J2DMonopoly -> GameBoard -> Loading mr monopoly left sprite...
J2DMonopoly -> GameBoard -> Loading mr monopoly right sprite...
J2DMonopoly -> GameBoard -> Loading money sprites...
J2DMonopoly -> GameBoard -> Loading board logo sprite...
J2DMonopoly -> GameBoard -> Loading dice sprites...
J2DMonopoly -> Setting up players...
J2DMonopoly -> Setting player 0 to controller...
J2DMonopoly -> Setting players position on board...
J2DMonopoly -> Setting up bank system...
J2DMonopoly -> Bank -> Setting up banks starting cash.
J2DMonopoly -> Bank -> Dealing players their starting cash.
J2DMonopoly -> Setting up game window...
J2DMonopoly -> Setting up game thread...
J2DMonopoly -> Starting game thread...

Game picture:
(NOTE: The "press spacebar to roll" text flashes @500ms interval)
(NOTE: The player token positioning on the "GO" spot incorrect)


Dice roll in progress picture:
(NOTE: Chooses a random number/dice texture every 200ms, interval can be configured)


Project packaging overview picture:


Some mentionable classes:
Bank.java
J2DMonopoly (Basically the game engine)
GameBoard.java (Where rolling dice/board related stuff is handled)

Checkout my new easy to use java networking library: GNetLib
Offline TehJavaDev

JGO Knight


Medals: 17
Projects: 3
Exp: 7-9 months


Java is so dope they wanna >:D


« Reply #1 - Posted 2014-10-14 01:06:01 »

Wow I had JTattoo's URL for the download link... Cranky Cranky Cranky
- FIXED

Checkout my new easy to use java networking library: GNetLib
Offline TehJavaDev

JGO Knight


Medals: 17
Projects: 3
Exp: 7-9 months


Java is so dope they wanna >:D


« Reply #2 - Posted 2014-10-14 01:11:05 »

Added source download link encase you're interested in the source code VS the full eclipse project download.

Checkout my new easy to use java networking library: GNetLib
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline Cero
« Reply #3 - Posted 2014-10-14 12:37:57 »

if the title is Polished graphics, it should be polished.

Offline TehJavaDev

JGO Knight


Medals: 17
Projects: 3
Exp: 7-9 months


Java is so dope they wanna >:D


« Reply #4 - Posted 2014-10-15 00:17:17 »

if the title is Polished graphics, it should be polished.
Please elaborate.

Checkout my new easy to use java networking library: GNetLib
Offline gouessej
« Reply #5 - Posted 2014-10-17 14:54:43 »

Hi

Monopoly is a trademark of Hasbro and you shouldn't use copyrighted contents without the prior consent of the copyright owners even for a free game.

Julien Gouesse | Personal blog | Website | Jogamp
Offline princec

« JGO Spiffy Duke »


Medals: 1053
Projects: 3
Exp: 20 years


Eh? Who? What? ... Me?


« Reply #6 - Posted 2014-10-17 15:52:08 »

Also Hasbro are ruthless f**kers who will go after the smallest most insignificant people with their big guns... even free stuff. Just a warning.

Cas Smiley

Offline TehJavaDev

JGO Knight


Medals: 17
Projects: 3
Exp: 7-9 months


Java is so dope they wanna >:D


« Reply #7 - Posted 2014-10-17 19:42:02 »

They shouldn't cause a fuss over this, I deeply appreciate the heads up though as I've received DMCA's in the past Tongue
(Runescape Private Server I programmed for about 2 years and profited about $1,000 USD from donations, Jagex finally sent me a DMCA as I was amongst the top RSPS on google Tongue)

Now if I turned this into some massive online game with a website/donating feature than I could see a DMCA coming my way from Hasbro. persecutioncomplex

If riven wants to take this post down since I can't delete it I'm fine with that, although I'm not requesting it at the moment since this clone / source for this clone has been downloaded a few times so the code's of some use to JGO/java devs Tongue


Checkout my new easy to use java networking library: GNetLib
Offline BurntPizza

« JGO Bitwise Duke »


Medals: 485
Exp: 7 years



« Reply #8 - Posted 2014-10-17 19:45:21 »

Bragging about copyright infringement isn't usually a great idea.
Offline Riven
Administrator

« JGO Overlord »


Medals: 1356
Projects: 4
Exp: 16 years


Hand over your head.


« Reply #9 - Posted 2014-10-17 19:48:22 »

Just rename it, change the gfx. For example, there are excellent online Risk clones that have one territory too many or too few, and a name that cannot be confused with the game.

Make a lot of small changes and you might be fine.




IANAL, in case anybody wondered, stupidly.

Hi, appreciate more people! Σ ♥ = ¾
Learn how to award medals... and work your way up the social rankings!
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline TehJavaDev

JGO Knight


Medals: 17
Projects: 3
Exp: 7-9 months


Java is so dope they wanna >:D


« Reply #10 - Posted 2014-10-17 19:54:20 »

Just rename it
What do you mean, rename the thread title etc?

change the gfx.
I've deleted the project from my eclipse workspace as I have no desire to work on it / pull code from it XD
What do you suggest?

You can delete it, if you feel you're @ risk for a DMCA mate.
Only has 3 downloads for each link so I wouldn't mind you deleting this thread TBH if you really felt like doing so.
(Was hoping more than 3 users would find this project useful persecutioncomplex)


BTW why can't you delete your own thread? XD

Checkout my new easy to use java networking library: GNetLib
Offline Riven
Administrator

« JGO Overlord »


Medals: 1356
Projects: 4
Exp: 16 years


Hand over your head.


« Reply #11 - Posted 2014-10-17 19:56:44 »

BTW why can't you delete your own thread? XD
Why would you be able to delete all the replies that other people put effort into.

Hi, appreciate more people! Σ ♥ = ¾
Learn how to award medals... and work your way up the social rankings!
Offline TehJavaDev

JGO Knight


Medals: 17
Projects: 3
Exp: 7-9 months


Java is so dope they wanna >:D


« Reply #12 - Posted 2014-10-17 19:57:47 »

Why would you be able to delete all the replies that other people put effort into.
Never thought about that lol, makes sense though.
(Medals, work etc)

Thanks for replying ^__^

Checkout my new easy to use java networking library: GNetLib
Offline Matth59

Junior Devvie


Medals: 8
Exp: 7-9 months


Excuse for the veeeery bad english, i'm Italian.


« Reply #13 - Posted 2014-10-17 20:28:09 »

Beware the penalty for copyright infringement is high persecutioncomplex but as you said riven you change the name and icons protected by copyright and make a game without copyright issues Cool.Wao copyright 3 times in one sentence I have beaten my record!  Roll Eyes Grin

Search me on Steam as Matth!
Pages: [1]
  ignore  |  Print  
 
 

 
EgonOlsen (1337 views)
2018-06-10 19:43:48

EgonOlsen (1214 views)
2018-06-10 19:43:44

EgonOlsen (939 views)
2018-06-10 19:43:20

DesertCoockie (1380 views)
2018-05-13 18:23:11

nelsongames (1112 views)
2018-04-24 18:15:36

nelsongames (1361 views)
2018-04-24 18:14:32

ivj94 (2095 views)
2018-03-24 14:47:39

ivj94 (1253 views)
2018-03-24 14:46:31

ivj94 (2259 views)
2018-03-24 14:43:53

Solater (806 views)
2018-03-17 05:04:08
Deployment and Packaging
by mudlee
2018-08-22 18:09:50

Java Gaming Resources
by gouessej
2018-08-22 08:19:41

Deployment and Packaging
by gouessej
2018-08-22 08:04:08

Deployment and Packaging
by gouessej
2018-08-22 08:03:45

Deployment and Packaging
by philfrei
2018-08-20 02:33:38

Deployment and Packaging
by philfrei
2018-08-20 02:29:55

Deployment and Packaging
by philfrei
2018-08-19 23:56:20

Deployment and Packaging
by philfrei
2018-08-19 23:54:46
java-gaming.org is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑gaming.org
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!