Code covered by the BSD License  

Highlights from
Logic Game

Be the first to rate this file! 13 Downloads (last 30 days) File Size: 5.45 KB File ID: #29624
image thumbnail

Logic Game

by

 

05 Dec 2010 (Updated )

A very interesting game to play ....Requires a lot of logic.....Play with your friend or computer

| Watch this File

File Information
Description

Steps to follow
Though i think it is self-explanatory,read if u don't get it
-Execute game.m
-Choose to be first or second player
-Make the other computer(by clicking on the pushbutton saying human) or play with your friend
-for computer player select level by hitting the button
-hit start button
-play and enjoy:)
-You can toggle between human and computer at any time you like....be it during gameplay or in the beginning

Rules to play:
-In their respective turns,each player will choose a cell to drop ur 'token ball' in it(by clicking in a cell).If the other player is computer,it will do its job automatically.
-the selected cell cannot be already occupied by opponent's token ball.
-when a cell has sufficient no of balls such that atleast one ball will shoot in every available direction,the balls will evacuate this cell and move in all available directions.Let's call this event 'explosion'.
-in an event of explosion,the balls released will occupy the cell they travel to.
-in case the cell where a ball has come due to explosion of an adjacent cell already contains tokens of the opponent ,these tokens will get mutated to the type of ball coming in due to explosion.
-If a cell receives more number of balls than required for explosion,the extra balls will be lost

Aim
to destroy all of the opponent's token balls.
-----------------------------------------------------------------------------------
Tips:
-After a player wins in a long game,wait for about 5 seconds to watch spectacular 'crazy dancing balls' all around.
-Change between human and computer player in between the game to get interesting results.
-Make both players computer and watch!
----------------------------------------------------------------------------------
-Please send in suggestions to add more functionality
-Please let me know the name of this game if someone comes to know about it!
-----------------------------------------------------------------------------------
I found this game in a nokia mobile and tried to expand upon the concept.Though there is a wide area of possibilities ,I'll try to cover as much as I can and depending upon the response I get from the community.
Please rate,comment and post suggestions to improve upon my work.I'll try my best to update my work as per your suggestions.
Please feel free to ask if u don't get the rules of the game or if there's a doubt.Though I'm not getting any errors as per now,I request u to please report if u find any.
-----------------------------------------------------------------------------------Enjoy :)

MATLAB release MATLAB 7.10 (R2010a)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Updates
13 Dec 2010

Removed bugs......and included Multitasking,i.e,successive 'explosions' take place together.........TEST IT!

15 Dec 2010

Now one can also play with the computer....or rather watch the computer playing with itself!

16 Dec 2010

-added new difficulty levels
-speed altering buttons
-made the code faster

17 Dec 2010

Removed a bug that could sometime hang a computer-normal and computer-hard play.

Contact us