Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 Conway's Game of Life and Minesweeper
Index -> Programming, Java -> Java Submissions
View previous topic Printable versionDownload TopicRate TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
chunnn_li




PostPosted: Wed Apr 27, 2011 6:07 pm   Post subject: Conway's Game of Life and Minesweeper

Hey guys, just thought I'd like to submit some programs I made back in my ICS class...
Just run the Main.java file in the src folder for both programs
[url=http://en.wikipedia.org/wiki/Conway's_Game_of_Life]Conway's game of life[/url] is a simulation proposed by Conway, and has some interesting mathematical patterns, feel free to look inside the code and change things up a little to experiment.
I use the standard rules that Conway originally proposed, however you can change these by modifying code in the advance method (inside the Colony.java file), and the size of the game can be specified in the constructor (I left a little comment on specifics of the parameters).
The game is quite interesting, me and my friends spend a long time watching black and white patterns on our computer screen grow, as well as trying different configurations to see what kind of life forms you can get. Try loading the gosper_glider_gun as an example.
Oh yea, and I forgot to mention you can left click and right click to add and delete cells. To make it more realistic, I believe there's an 80% chance of the eradication/copulation of a new cell working, although if you double click on a single cell it will be 100%. For full detailed instructions, I believe there's a readme file in there.

And minesweeper is pretty standard, I was just bored one day and decided to recreate it in Java. Also, my PC at that time did not have minesweeper for some reason, and I missed it very much. Unfortunately, it's missing a few features, and the timer is a little ugly, and extreme mode lags (although if you can beat extreme mode then you probably play minesweeper too much and should stop : P)



Colony.zip
 Description:
Conway's Game of Life

Download
 Filename:  Colony.zip
 Filesize:  92.18 KB
 Downloaded:  498 Time(s)


Minesweeper_2.0.zip
 Description:

Download
 Filename:  Minesweeper_2.0.zip
 Filesize:  228.63 KB
 Downloaded:  435 Time(s)

Sponsor
Sponsor
Sponsor
sponsor
Display posts from previous:   
   Index -> Programming, Java -> Java Submissions
View previous topic Tell A FriendPrintable versionDownload TopicRate TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 1 Posts ]
Jump to:   


Style:  
Search: