You are being forwarded to the lastest updates ot his page!
Or you can Click Here if it doesn't work or you don't wish to wait.

Show Off Your Games

Gregg Bolinger
Use this thread for links and/or screenshots to your Java based games.


Jessica Bradley
The first game I built was because I wanted to play with Swing. And what better way than to create a game?

There's a very entertaining game called SET. The basic idea is to create "sets" of three cards. A set is defined by 3 cards that have all the same things in common.
* Same color (red, green or purple)
* Same shape (diamonds, ovals, or squiggles)
* Same number (one, two or three)
* Same shading (hollow, striped, or solid)

Anyway... you can get into the rules on the website I linked to -- here's my snazzy lil screenshot:

Basically clicking on a card turns in black, clicking three cards that make a set cause the cards to go away and new cards to be dealt in their place. If you select three cards that don't make a set, they flash red and then return to gray.

Not the prettiest thing in the world -- but I was quite happy for my first game. If I went back and did it again, I'd work harder on the MVC design to really seperate the game play logic from the display.


Gregg Bolinger
What, no source so we can play your game Jess?


Jessica Bradley
quote:
Originally posted by Gregg Bolinger:
What, no source so we can play your game Jess?


I would... but SET is copyrighted -- and they sell an electronic version of their game, so they'd probably get upset if I started giving out free source code to my own version of it...

The reason I chose this game to code was that I thought it would be a neat game to figure out the logic to. To programtically identify a set, how to deal the cards, how to replace them once a set has been found, etc. etc. etc.


David Garland
http://www.andrew.cmu.edu/user/dweitzma/screen.gif

At work I've written a pair of games which are played by partners logged into a server for a study. The point is actually to study their interactions and the effect an interruption has on their performance, not necessarily to amuse the participants, but they're still technically games. People have been talking smack and demanding another tournament in the game on the left, so it can't be too boring. The words on the crossword puzzle have time limits and values, and the person trying to solve it can send a help request to the person playing the other game if they need help.

I have an old version of the code for the crossword puzzle but I've made a lot of changes since that version, both to the hidden models inside and to the way the user interacts with the interface.

(Edited: Picture is too big to embed in the post)

[ July 31, 2004: Message edited by: David Weitzman ]


Joseph George
If we were to make a zip containing our code for a game we wish to show off, would it be possible to put it anywhere on the game section? I'm thinking something along the lines of a folder that people can post code (maybe after a bartender screens it). eh?


Gregg Bolinger
quote:
Originally posted by Joseph George:
If we were to make a zip containing our code for a game we wish to show off, would it be possible to put it anywhere on the game section? I'm thinking something along the lines of a folder that people can post code (maybe after a bartender screens it). eh?


Normally what happens, since this board doesn't have any kind of file upload feature, is to put the files on some web server and then just link to it in this thread. If you don't have access to a web server of any kind (there are lots of free ones available, albeit space is limited on them) email them to me and I can throw them up on my web server and provide you with the URL.


Joseph George
If that's cool with you, Gregg, that'd be great. To where should I email the zip (note placement of preposition)? Also: it requires JOGL. IF you don't have that, I can give you the three files and tell you where they go. I'm really rather proud of my latest creation (really still a work in progress, but it's at a playable stage) and the thought of showing it off is rather tantalizing.

-Joe


Gregg Bolinger
quote:
Originally posted by Joseph George:
If that's cool with you, Gregg, that'd be great. To where should I email the zip (note placement of preposition)? Also: it requires JOGL. IF you don't have that, I can give you the three files and tell you where they go. I'm really rather proud of my latest creation (really still a work in progress, but it's at a playable stage) and the thought of showing it off is rather tantalizing.

-Joe



Gregg @ javaranch.com

Without the spaces. Just protecting against harvesters. I've got JOGL because I do a bit of development in it. Nothing major because I am still learning OpenGL and the fine art of game development. I have actually just recently gone back to 2D because I am spending too much time with either OpenGL or the game development and can't learn enough about each one individually. I'll mail you the link back as soon as I get the ZIP and upload it.


Joseph George
Sent!


Joseph George
Here's the game, on webspace graciously provided by Gregg:

ShipGame


Main is in ShipGame. Basically, you're the CircularThing that looks like a ship. Your job is to ram into other things, dealling them dammage proportional to your speed towards them. I have it set up as a 1v1 with my lesser AI, the AngryRat, but that can be easily changed by changing the first 5 variables in ShipGame.java (it's pretty self-explanatory, angryNum is the number of AngryRats in the scene, shipBool is whether or not your ship is in the battle). A royal rumble with 2 of every other ship and yourself is kind of fun. Get to where you can usually beat the AngryRat 1v1, then try the FuriousRat, the better AI.

Note: This requires JOGL, if people want info on where to get that, I can give it.

Feedback welcome on a work in progress!
[IMG]C:\Documents and Settings\Nick George\Desktop\screenShip.bmp[/IMG]

[ August 01, 2004: Message edited by: Joseph George ]


dan_maples
Joseph, I downloaded your game, but when I went to unzip it, it gave me an error:
quote:
Error reading header after processing 0 entries

also the image tag in your last post does not work. Sounds like a fun game though, and I really want to try it out.


Gregg Bolinger
quote:
Originally posted by Dan Maples:
Joseph, I downloaded your game, but when I went to unzip it, it gave me an error:
also the image tag in your last post does not work. Sounds like a fun game though, and I really want to try it out.



I just tried it to make sure it was nothing I did when I put it on my server. You do realize that the file is a TAR file so Winzip probably won't handle it. You'll have to use linux tar or WinRar or something/anything better than winzip.


Joseph George
out of curiousity, why did you make it a .tar, Gregg?


Gregg Bolinger
quote:
Originally posted by Joseph George:
out of curiousity, why did you make it a .tar, Gregg?


Because that is how you sent it to me.


Joseph George
wierd... I sent it as a zip, either your email or mine must have converted it


mtk
I was able to run the game - renamed the tar to .zip and it opened with winzip. Got the JOGL binaries from https://jogl.dev.java.net/ .

Nice work George! Great graphics and nice OO. Btw I have not managed to beat the angry rat yet!

[ August 03, 2004: Message edited by: manoj p ]

[ August 03, 2004: Message edited by: manoj p ]


Joseph George
Screenshot, generously hosted by Riley Lark:


dan_maples
well I saw it was .tar file, but thought that winzip would be able to handle it, guess I was wronge.


Helen Thomas
Curious as to how many use their TV to play games ? and especially Java based games.

[ August 05, 2004: Message edited by: Helen Thomas ]


psychohist@aol.com
Well, I'm just starting to work on a game ... right now its output isn't too exciting:

code:

Archipelago server: 180 instants simulated at 5245ms
Archipelago server: debug starting client 207.172.223.247
Archipelago server: starting client thread for 207.172.223.247
Archipelago server: client started for 207.172.223.247
Archipelago server: 192 instants simulated at 5601ms
Archipelago server: 204 instants simulated at 5963ms
Archipelago server: 216 instants simulated at 6346ms
Archipelago server: debug starting client 207.172.223.247
Archipelago server: starting client thread for 207.172.223.247
Archipelago server: client started for 207.172.223.247
Archipelago server: maximum clients reached at time Tuesday, August 10, 2004 2:48:08 PM EDT
Archipelago server: 228 instants simulated at 6644ms
Archipelago server: 240 instants simulated at 7112ms
Archipelago server: 252 instants simulated at 7333ms
Archipelago server: terminated connection to 207.172.223.247
Archipelago server: thread for 207.172.223.247 stopping
Archipelago server: no longer at maximum clients at time Tuesday, August 10, 2004 2:48:09 PM EDT
Archipelago server: 264 instants simulated at 7688ms


Jessica Bradley
Warren-
What's the plot of the game? I'm guessing its multi-player given the server output???


psychohist@aol.com
It's intended to be an online roleplaying game. I've been hoping to do one for almost a decade now, and I've worked a lot on design, but never actually started coding. Yeah, I know, there are a lot of them already, but I'd like something a little different....

Don't know if it will ever get done, but it's a good opportunity to learn the Java version of sockets while I'm between contracts, and it turned into a good opportunity to improve my skills with long lasting coroutine threads in Java as well. I'll probably at least get to the point where I've got some communication going before the next hiatus.


WilliamAWhite
I didn't write the majority of it, but I did do the tactical section of this game - Andromeda Online which is a commercial multiplayer online space strategy type thing. You can play it for free, with the usual restriction that your experience doesn't get saved.


Mark Spritzler
quote:
Originally posted by William A White:
I didn't write the majority of it, but I did do the tactical section of this game - Andromeda Online which is a commercial multiplayer online space strategy type thing. You can play it for free, with the usual restriction that your experience doesn't get saved.



Sounds like Trade Wars, an old text based Galacticom BBS game

Mark


Jux
I made a snake game
web page


WilliamAWhite
quote:
Originally posted by Mark Spritzler:



Sounds like Trade Wars, an old text based Galacticom BBS game

Mark



Yeah, I think the guy that actually owns it is really into Trade Wars. 8^) I vaguely remember that or something similar from the BBS days, when it was a lot easier to get instant gratification by writing a popular door game. 8^)