Search Comments and Ratings

go

Comments and Ratings

   
Date File Comment by Comment Rating
16 Oct 2009 Staker v0.6 Staker is a 3-D artillery game inspired by Tank Wars and Scorched Earth. Author: Kenneth Eaton Diego

14 May 2009 Staker v0.6 Staker is a 3-D artillery game inspired by Tank Wars and Scorched Earth. Author: Kenneth Eaton Eaton, Kenneth

Hi linreal,

That's a new one! I've never had a call to FIGURE fail like that. Had you been doing anything complicated in your MATLAB session before running Staker? I've run programs before that changed certain Java settings, which resulted in subsequent figures rendering funny. I would first try closing and restarting MATLAB.

14 May 2009 Staker v0.6 Staker is a 3-D artillery game inspired by Tank Wars and Scorched Earth. Author: Kenneth Eaton Lin, linreal

I cannot run the program as I met the following errors.
>> staker
??? Error using ==> figure
Error using ==> figure
Error using ==> figure
UIJ_AreThereWindowShowsPending - timeout waiting for window to show up

Error in ==> staker>make_figure at 3503
    hObject = figure('Units','pixels','Position',position,...

Error in ==> staker>initialize_intro at 241
    hFigure = make_figure([1+(SCREEN_SIZE(3:4)-[300 300])./2 300 300],...

Error in ==> staker at 213
  initialize_intro;

10 Apr 2009 LINEAGE v1.1 LINEAGE helps visualize the evolution of the code throughout the Peg Solitaire contest Author: Kenneth Eaton Lam, C Jethro

Your idea is to create a GUI to visualize the entries... very cool. I think there are a bit too much information to visualize so it is a little overwhelming, but the GUI control is very useful. Zooming in and out with the middle mouse button is fun. :)

08 Apr 2009 LINEAGE v1.1 LINEAGE helps visualize the evolution of the code throughout the Peg Solitaire contest Author: Kenneth Eaton Eaton, Kenneth

Thanks for the feedback everyone!

@Alan: Admittedly, I may have broken with the spirit of the competition slightly by creating an interactive GUI as opposed to one or more functions to be used from the command line. This obviously made it hard to make a published m-file which could generate its own images. I probably could have hijacked the GUI from the command line (setting hidden handles to visible, using FINDOBJ to get handles for the GUI components, and forcibly setting the GUI state), but this seemed kloogy an inelegant. It was easier and cleaner to capture screen shots and include the images with the submission.

08 Apr 2009 LINEAGE v1.1 LINEAGE helps visualize the evolution of the code throughout the Peg Solitaire contest Author: Kenneth Eaton Narayan, Rajiv

Very cool entry! Well commented code and lots of neat GUI techniques.

08 Apr 2009 LINEAGE v1.1 LINEAGE helps visualize the evolution of the code throughout the Peg Solitaire contest Author: Kenneth Eaton Woodford, Oliver

Ken: Could the images not appearing in the online html be due the difference in case of the image file extensions? The zip file images are .PNG while the html is looking for .png. I look forward to seeing them!

07 Apr 2009 LINEAGE v1.1 LINEAGE helps visualize the evolution of the code throughout the Peg Solitaire contest Author: Kenneth Eaton Chalker, Alan

This is a very interesting entry to the competition, since it's basically an interactive UI that is the cool thing, not necessarily the published m file.

One other minor note, your images appear to be manually created and placed by hard coding tags into the published m file. I think the spirit of the competition is that someone be able to take just the m files and publish them on their own computers and replicate the output, which can't be done with this entry (however with some MATLAB kungfu you could create the images on the fly from with published m file)

07 Apr 2009 LINEAGE v1.1 LINEAGE helps visualize the evolution of the code throughout the Peg Solitaire contest Author: Kenneth Eaton Chalker, Alan

Ken: They show up fine for me. Note, as I pointed out in the newsgroup thread, when you download the zip files from FEX, you need to actually UNZIP the file first before viewing the html to see the images. Even though Windows lets you browse directly into the zip file and directly open the html embedded in it, it's not smart enough to also decompress the images.

07 Apr 2009 LINEAGE v1.1 LINEAGE helps visualize the evolution of the code throughout the Peg Solitaire contest Author: Kenneth Eaton Eaton, Kenneth

None of my images in the published tutorial seem to be showing up. I'll try to correct it and update soon.

03 Apr 2009 Staker v0.6 Staker is a 3-D artillery game inspired by Tank Wars and Scorched Earth. Author: Kenneth Eaton vera, Shi

good job!Thank you for sharing

30 Mar 2009 AIFFREAD Read AIFF (Audio Interchange File Format) sound file. Author: Kenneth Eaton tian

22 Dec 2008 Staker v0.6 Staker is a 3-D artillery game inspired by Tank Wars and Scorched Earth. Author: Kenneth Eaton Eaton, Kenneth

I've submitted an updated beta version of Staker that should be available within the next day or so (v0.6). This version should run independently from the Image Processing Toolbox, so anyone who only has access to core MATLAB functions should be able to play!

Ken

19 Dec 2008 str2rgb Converts a string representation of a color to an RGB triple Author: Kenneth Eaton Poor, V.

19 Dec 2008 str2rgb Converts a string representation of a color to an RGB triple Author: Kenneth Eaton boyer, alain

15 Dec 2008 Staker v0.6 Staker is a 3-D artillery game inspired by Tank Wars and Scorched Earth. Author: Kenneth Eaton Eaton, Kenneth

===ANNOUNCEMENT===

As pointed out in the previous couple of comments, Staker (beta) requires the Image Processing toolbox. I have been looking into some things over the weekend and think that I will actually be able to remove this dependency for the next version. It appears that many of the functions I was using (IMFILTER, IMERODE, IMDILATE, etc.) can be easily replaced by using CONV2 to do the things I want.

So, for version 1.0 (hopefully to be completed within the next few months) you won't have to worry about needing any toolboxes; just standard MATLAB.

Ken

12 Dec 2008 Staker v0.6 Staker is a 3-D artillery game inspired by Tank Wars and Scorched Earth. Author: Kenneth Eaton Eaton, Kenneth

Hi Guillermo,

Most likely, you do not have the Image Processing toolbox, which is where FSPECIAL is from. I required some of the functions from the IP toolbox to do a number of things, like generate texture maps for the terrain. Unfortunately, some have found this to be a limitation, since not everyone has access to the IP toolbox. I have been considering writing my own versions of the IP functions I need, although I imagine they may not be as fast as those in the IP toolbox. I probably won't do this for the next version (v1.0) I release, but maybe for versions after that. For now, the IP toolbox is required. Sorry if this is an inconvenience.

Ken

12 Dec 2008 Staker v0.6 Staker is a 3-D artillery game inspired by Tank Wars and Scorched Earth. Author: Kenneth Eaton Poltarak, Guillermo

I have an error:

??? Undefined function or method 'fspecial' for input arguments of type 'char'.

Error in ==> staker>generate_terrain at 1522
        nearWater = (imfilter(double(mapHeight < 0),fspecial('disk',10),...

Do you know what could it be? I'm running Matlab v2008a in WinXP.

02 Dec 2008 Staker v0.6 Staker is a 3-D artillery game inspired by Tank Wars and Scorched Earth. Author: Kenneth Eaton Aldahiyat, Husam

I bow down to thy MATLAB God.

31 Oct 2008 ftoc (v1.2) Creates a table of contents of functions contained in an m-file Author: Kenneth Eaton Davis, Tim

30 Oct 2008 ftoc (v1.2) Creates a table of contents of functions contained in an m-file Author: Kenneth Eaton D'Errico, John

While I cannot force the trash ratings by Marco to be removed, this is far better than his rating indicates. The help is quite good. This will be a useful utility if you work on large software projects in MATLAB.

30 Oct 2008 ftoc (v1.2) Creates a table of contents of functions contained in an m-file Author: Kenneth Eaton D'Errico, John

29 Oct 2008 ftoc (v1.2) Creates a table of contents of functions contained in an m-file Author: Kenneth Eaton P, M

mp of 7 jun 2008 am not I, but will be this the true???? to live will be to know

14 Oct 2008 Whack-a-"Maverick": Save America! Save America from the Republicans! Author: Kenneth Eaton Author, The

Wow... 6 comments and only 1 that actually addresses the code itself. If you read the description, you would know that the purpose of this submission was to highlight some modular code for generating your own type of whack-a-mole game. The specific example I chose to illustrate what is possible was a humorous political one. Apparently, most of you were completely distracted by the example and payed no attention to the actual game code. That's pretty disappointing. I guess next time I'll have to make a Hello Kitty whack-a-mole game full of rainbows and happy sunshine goodness so I don't offend everyone's delicate and humorless dispositions.

09 Oct 2008 Whack-a-"Maverick": Save America! Save America from the Republicans! Author: Kenneth Eaton Funny, Not

09 Oct 2008 Whack-a-"Maverick": Save America! Save America from the Republicans! Author: Kenneth Eaton s, w

Well... works like a charm. Comments are rather rare in the m-file but there is good help. So ratings of the previous comments should be ignored. Nonetheless, I think this is not the place for submitting politically motivated files.

07 Oct 2008 Whack-a-"Maverick": Save America! Save America from the Republicans! Author: Kenneth Eaton Miller, Scott

Not appropriate - peddle hate somewhere else.

07 Oct 2008 Whack-a-"Maverick": Save America! Save America from the Republicans! Author: Kenneth Eaton Luftberry, R.

29 Jul 2008 Staker v0.6 Staker is a 3-D artillery game inspired by Tank Wars and Scorched Earth. Author: Kenneth Eaton Eaton, Ken

Thanks for the support John. Incidently, if you would like to change the GUI colors for the game, I included a "Preferences" button at the bottom of the main menu that opens a GUI for customizing the display. You should be able to adjust the panel and text colors as well as the font type and size.

23 Jul 2008 Staker v0.6 Staker is a 3-D artillery game inspired by Tank Wars and Scorched Earth. Author: Kenneth Eaton Eaton, Kenneth

Incidently, if anyone is interested in seeing some of the work going into the next version (Staker v1.0), check out the GGE page for the game:

www.greatgamesexperiment.com/game/Staker

Ken

23 Jul 2008 Staker v0.6 Staker is a 3-D artillery game inspired by Tank Wars and Scorched Earth. Author: Kenneth Eaton dobariya, bhavesh

its vary vary fare

11 Jul 2008 "boundary" class v2.1: a wrapper for surface objects Adds functionality for fast detection of intersections between line segments and rendered surfaces Author: Kenneth Eaton Eaton, Kenneth

Just a quick head's up for anyone unfamiliar with class directories... the unzipped folder '@boundary' should not be placed on the MATLAB path, but should be placed in another folder that is on the MATLAB path.

10 Jun 2008 ftoc (v1.2) Creates a table of contents of functions contained in an m-file Author: Kenneth Eaton N, A

Wording and initials suggest the poor poor rating was written by the infamous file exchange author 'marco', either by accident or in revenge. So far I thought DNFTT, but if it's true he now starts to mess up the rating system, I think there should be a way to block him and to annul his rating.

09 Jun 2008 ftoc (v1.2) Creates a table of contents of functions contained in an m-file Author: Kenneth Eaton Eaton, Ken

Is that comment supposed to make sense?... because it doesn't.

07 Jun 2008 ftoc (v1.2) Creates a table of contents of functions contained in an m-file Author: Kenneth Eaton p, m

Program don’t show this, don’t show clssification. Future versions will show classification: You=Infinite==Infinite|or|Circle*NaN...

06 Jun 2008 ftoc (v1.2) Creates a table of contents of functions contained in an m-file Author: Kenneth Eaton Eaton, Ken

Is there some reason someone is downloading hundreds of copies of this?

06 Jun 2008 ftoc (v1.2) Creates a table of contents of functions contained in an m-file Author: Kenneth Eaton observer, fex

The submissions mentioned by the first reviewer do an excellent job and are clearly superior to your program.

04 Jun 2008 ftoc (v1.2) Creates a table of contents of functions contained in an m-file Author: Kenneth Eaton Eaton, Ken

Thanks for the heads up, us. I don't know how I managed to miss FARG when I was looking around to see if anything like this had been done. It looks like a much more beefed-up and detailed version of what I was doing here... I'll have to check it out =).

Ken

04 Jun 2008 ftoc (v1.2) Creates a table of contents of functions contained in an m-file Author: Kenneth Eaton Eaton, Ken

I've submitted a slightly updated version to remove some mlint messages. The help description was also not formatting properly (no indents appeared, so you have to look at the function header for correct examples).

04 Jun 2008 ftoc (v1.2) Creates a table of contents of functions contained in an m-file Author: Kenneth Eaton (us) Schwarz, Urs

good...
you also may want to look at FARG, available here

http://www.mathworks.com/matlabcentral/fileexchange/loadFile.do?objectId=15924&objectType=FILE

or FDEP, available here

http://www.mathworks.com/matlabcentral/fileexchange/loadFile.do?objectId=17291&objectType=FILE

us

10 Apr 2008 Staker v0.6 Staker is a 3-D artillery game inspired by Tank Wars and Scorched Earth. Author: Kenneth Eaton Greene, Mike

Very good. Extremely well thought out.

06 Apr 2008 Staker v0.6 Staker is a 3-D artillery game inspired by Tank Wars and Scorched Earth. Author: Kenneth Eaton Tarajan, Elmar

WOW!!! I'm very impressed!!!

04 Apr 2008 str2rgb Converts a string representation of a color to an RGB triple Author: Kenneth Eaton Eaton, Kenneth

Jos, the driving force behind me creating this function was for reading a user input for a color from an editable text box. In this case, the 'String' argument from the text box could be something like 'r g b', and I wanted to allow this as a valid way for the user to define a color in the text box.

04 Apr 2008 num2money Converts a numeric value to a monetary value string Author: Kenneth Eaton Shvorob, Dimitri

Inefficient: a single sprintf format takes care of each of the two cases (cents/no cents). An appealing effort, though.

04 Apr 2008 str2rgb Converts a string representation of a color to an RGB triple Author: Kenneth Eaton (see profile), Jos

Kenneth, I understand your efforts using regexp. However, I do no see why anybody should use your function to change the string 'r g b' into the numerical vector [r g b]
If time permits, I will put my alternative on the FEX. Regards, Jos

03 Apr 2008 str2rgb Converts a string representation of a color to an RGB triple Author: Kenneth Eaton Eaton, Kenneth

Jos x,
Actually, the code you suggested wouldn't work for the case when colorstr = '[1 0 0]'. It would throw an error and return NaN. STR2RGB will allow a string representation of an RGB triple like '[1 0 0]' or '1 0 0'. Thanks for the comment, though.

03 Apr 2008 num2money Converts a numeric value to a monetary value string Author: Kenneth Eaton Eaton, Kenneth

Joseph,
  Sorry if you thought this was a Matlab ATM. No cha-ching!

John,
  Good point about the name. I think I'll update it with an extra option to specify the currency. The centsFlag argument is discussed in the help header with the .m file... I just didn't add it to the above description.

03 Apr 2008 Staker v0.6 Staker is a 3-D artillery game inspired by Tank Wars and Scorched Earth. Author: Kenneth Eaton Eaton, Kenneth

I discovered another bug after I posted the game. If you are ever in a situation where both players have their stakers under water, then there is effectively no way to hit each other. The game has bombs for blasting out of the water and bombs for plunging below the water, but no bombs that can do both (shoot out of and then back under the water). For now, the only way to end a game in such a situation is for one player to forfeit or blow themselves up. I'm already working on a fix for this problem for the next version, whenever I get some time to finish it.

03 Apr 2008 num2money Converts a numeric value to a monetary value string Author: Kenneth Eaton nonereally, Joseph

Have yet to get a penny from this program. When will you be mailing the checks?

03 Apr 2008 str2rgb Converts a string representation of a color to an RGB triple Author: Kenneth Eaton Eaton, Kenneth

The alternative you suggested will work, but I wanted to solve it using regexp instead of having to create any new graphics objects.

 

MATLAB Central Terms of Use

NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content. Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available via MATLAB Central. Read the complete Terms prior to use.

Contact us at files@mathworks.com