Win a copy of Head First Agile this week in the Agile forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Show Off Your Games  RSS feed

 
Gregg Bolinger
Ranch Hand
Posts: 15304
6
Chrome IntelliJ IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Use this thread for links and/or screenshots to your Java based games.
 
Jessica Sant
Sheriff
Posts: 4313
Android IntelliJ IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Ranch Hand
Posts: 15304
6
Chrome IntelliJ IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What, no source so we can play your game Jess?
 
Jessica Sant
Sheriff
Posts: 4313
Android IntelliJ IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 Weitzman
Ranch Hand
Posts: 1365
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ]
 
Nick George
Ranch Hand
Posts: 815
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Ranch Hand
Posts: 15304
6
Chrome IntelliJ IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Nick George
Ranch Hand
Posts: 815
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Ranch Hand
Posts: 15304
6
Chrome IntelliJ IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Nick George
Ranch Hand
Posts: 815
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sent!
 
Nick George
Ranch Hand
Posts: 815
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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!

[ August 01, 2004: Message edited by: Joseph George ]
 
Dan Maples
Ranch Hand
Posts: 153
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Joseph, I downloaded your game, but when I went to unzip it, it gave me an error:
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
Ranch Hand
Posts: 15304
6
Chrome IntelliJ IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Nick George
Ranch Hand
Posts: 815
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
out of curiousity, why did you make it a .tar, Gregg?
 
Gregg Bolinger
Ranch Hand
Posts: 15304
6
Chrome IntelliJ IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Nick George
Ranch Hand
Posts: 815
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
wierd... I sent it as a zip, either your email or mine must have converted it
 
manoj pillai
Ranch Hand
Posts: 41
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ]
 
Nick George
Ranch Hand
Posts: 815
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Screenshot, generously hosted by Riley Lark:
 
Dan Maples
Ranch Hand
Posts: 153
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
well I saw it was .tar file, but thought that winzip would be able to handle it, guess I was wronge.
 
Helen Thomas
Ranch Hand
Posts: 1759
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Curious as to how many use their TV to play games ? and especially Java based games.
[ August 05, 2004: Message edited by: Helen Thomas ]
 
Warren Dew
blacksmith
Ranch Hand
Posts: 1332
2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well, I'm just starting to work on a game ... right now its output isn't too exciting:

 
Jessica Sant
Sheriff
Posts: 4313
Android IntelliJ IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Warren-
What's the plot of the game? I'm guessing its multi-player given the server output???
 
Warren Dew
blacksmith
Ranch Hand
Posts: 1332
2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
William A White
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
ranger
Sheriff
Posts: 17309
11
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Juhan Voolaid
Ranch Hand
Posts: 179
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I made a snake game
web page
 
William A White
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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^)
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!