Hamumu says ...
I don't think this worked right at all. If it did, it really was impossible to understand what was happening. It started out with paper showing on the computer's side, so I figured scissors would be good (how nice of him to go first!), but that was "Winner is No One". So I figured okay, that was just a starting image, and then it shows what the computer picks right when I click. Only, it doesn't work that way either. I tried clicking Paper every single time, and it seemed right at first, but then it showed Scissors in his window, and yet still said (sometimes) "No One" won. I just don't get it.
Also, clicking on the buttons made it beep like it was an error. I don't know if that was audio or a problem.
jolle says ...
Yeah, something weird is going on. The AI idea seems nice, but I ended up ahead anyway.
sol_hsa says ...
If it has to be launched with a specific command line, how about making a simple batch file next time?
When it launched I got a 1-pixel high window, which I had to resize in order to get the screen.. and after that, it went pretty much like Hamumu put it.
pekuja says ...
You must've messed something up. I had the same problems Hamumu did. It also didn't seem like the AI caught on to anything I did very well. I could keep selecting paper every time but it would still be about 50-50 with the win/lose ratio.
keeyai says ...
Same for me as for Sol and Hamumu... The only thing that seems to work for the computer is them rock, me scissors...
SethR says ...
I think rand(3) might have worked better for the AI ;)
phren says ...
The pictures sometimes don't update propery, which is a letdown, since it's actually quite critical for the game. Can't really say anything proper about the AI, but it did beat me (maybe luck, maybe skill :P). A pretty simple and old game idea here, not really anything new.
HybridMind says ...
wasn't really sure how it was supposed to work. I couldn't find the correlation between what image was shown on the computers screen, what I clicked, and what win/loss message showed. Didn't seem to work right? Sorry. :(
drZool says ...
Could not run it. It complained about swing group something...
GBGames says ...
Rock-Paper-Scissors was definitely a minimal game. Still, I agree that this game could have stood to use some more polish.
DrPetter says ...
Bugged out on me after I reached a score of 418. The buttons wouldn't work properly after that, and it didn't seem to roll any games. It just sat there with the same numbers and same computer symbol.
I was performing a statistical analysis of the game made possible by holding down return on one button and observing the score numbers. For some reason, scissors created a roughly even score while paper made me gain a slight upper hand of +20% or so compared to the opponent.
It would have been less interesting without the bugs and anomalies :)
Archive for the ‘LD #11 – Minimalist – 2008’ Category
Here it is screen shot and my final entry – Won’t have any free time this afternoon.
Run it using java -jar PaperScissorsRock.jar
In the dist directory.
Source code is in there, I used Netbeans 6.0 and the whole directory can be used as a project.
I didn’t have the time this competition truly deserved but still it was nice to be in one – I was in LD6
Thought minimal game – wrote 6AI’s and the system picks which one works best against you.
I enjoyed it – thanks and I look forward to seeing whatever feed back I do get
Got another shot at the computer – couple slices of banana bread.
I have picked Rock – Paper – Scissors (as minimal of a game that I could think of) and have written 6 different but very basic AI’s and 40% of the time will pick which ever one of those has the best track record (that part I have to write yet).
Then for the first time I will use sound with java, and pacakge it up. Considering my wife works 24 of the 48 hours and we have a little guy. I feel Ok with this. I have no vision of winning, I just wanted to get my feet wet with a Ludrum’s again.
Ok I have picked the simplest puzzle / strategy game I could think of – Paper Scissors Rock and am trying to make a polished presentation of it.
I have 6 AI’s laid out on paper – there is a 60% it will pick on of those randomly and a 40% change it will pick the one of those that has gone the best historically. Or that is the plan. I hope to make it pretty tough.
Lunch was 2 slices of banana bread, probably going to have a big supper and while my 4 year old is napping I want to get some code done.
Was at Mcdonalds with my son – wrote a page and a half of notes.
The game is simple but I thought of 6 different view points for the AI to have – so I have stuff to keep me busy.
Click here to win – I don’t think would count as a game.
To be a game you must be able to win or loose.
I will be doing good to find 8 hours to work on this. But I have an idea which with 1 hour into the the base logic exists – and I have only found one of those hours.
Very minimalist — also should only take an hour or two to code the base program and clean it up (which is good considering my life situation)
So here I go