Author Topic: Challenge!!  (Read 4879 times)

caballero

  • Member
  • ****
  • Posts: 756
    • Abre Ojos Ensamblador
Challenge!!
« on: October 23, 2014, 10:09:04 PM »
Challenge!!

What's up there? Well, after talking about politics, religion, etc, what about a contest programming? :eusa_dance: I invite you to make a simple win game: Win-mines alike. We would have one month to finishing. It is Oct-23-2014, 13:08 in Madrid, so it would finishing at Nov-23-2014, 13:08. Because we are in an asm forum, it should be developed in masm32 assembler. Any contest have to attach their project in a zip without any exe file, in such a way that it should be compiled only with any masm32 tool, lib, etc. Hence it is not allowed external tools, libraries, etc to compile it.

Is it available any survey tool? Maybe we could mark the next rules to be voted:

* Stability
* Size (less size, bigger note)
* Features
* Look
* Improvements

To be fair, I can sure you that I don't even start it, in fact I only can take weekends for it. Hmmm, damn! maybe I'm not able to make even the first window :eusa_snooty:

Gretings,
alfonso
En un lugar de la Mancha de cuyo nombre no quiero acordarme

Zen

  • Member
  • ****
  • Posts: 962
  • slightly red-shifted
Re: Challenge!!
« Reply #1 on: October 24, 2014, 07:21:57 AM »
AVCABALLERO, 
This is a terrific idea,...except, of course,...that I'd be the All-Time Loser,...
A couple of weeks ago, I had a similar idea,...a psychic debugging contest. And, to make it REALLY challenging,...the contestants would get absolutely NO data on the problem app. No source code,...no description of the problem,...no cheating by e-mailing Raymond Chen,...NOTHING,...
...But,...it didn't seem like it would be all that much fun,...
Zen

caballero

  • Member
  • ****
  • Posts: 756
    • Abre Ojos Ensamblador
Re: Challenge!!
« Reply #2 on: October 24, 2014, 05:53:02 PM »
You have always good ideas, zen :biggrin:. Maybe the contest would be more interesting if the award were a full nerd equipment. :greenclp:



My zipped images never shows a preview  :icon_confused:
En un lugar de la Mancha de cuyo nombre no quiero acordarme

caballero

  • Member
  • ****
  • Posts: 756
    • Abre Ojos Ensamblador
Re: Challenge!!
« Reply #3 on: October 27, 2014, 09:49:40 PM »
Hello, how are you going? Here is my progress, a bit slow. Anyone interested? If it's me the only contestant, it wouldn't be game, would it? :P
En un lugar de la Mancha de cuyo nombre no quiero acordarme

dedndave

  • Member
  • *****
  • Posts: 8733
  • Still using Abacus 2.0
    • DednDave
Re: Challenge!!
« Reply #4 on: October 28, 2014, 07:44:07 AM »

jj2007

  • Member
  • *****
  • Posts: 7446
  • Assembler is fun ;-)
    • MasmBasic
Re: Challenge!!
« Reply #5 on: October 28, 2014, 03:57:46 PM »
i may upgrade the program, later   :P

Later is now, Dave ;)

caballero

  • Member
  • ****
  • Posts: 756
    • Abre Ojos Ensamblador
Re: Challenge!!
« Reply #6 on: October 28, 2014, 07:25:31 PM »
That's really great, Dave :t. Good looking. I miss a feature: when you click in a blank cell, it should reveal all of its neighbour blank cells. What about the possibility of select three amounts of mines?.

 :icon_eek: Hmmmm, I don't think I'm able of complete all these features in a month  :lol:

Regards
En un lugar de la Mancha de cuyo nombre no quiero acordarme

dedndave

  • Member
  • *****
  • Posts: 8733
  • Still using Abacus 2.0
    • DednDave
Re: Challenge!!
« Reply #7 on: October 28, 2014, 09:53:07 PM »
i never did add the "game logic" to that program
it's just a graphics example - lol
the right-click reveal logic is a little odd

it also needs edit boxes to set the cell width and height

caballero

  • Member
  • ****
  • Posts: 756
    • Abre Ojos Ensamblador
Re: Challenge!!
« Reply #8 on: November 12, 2014, 11:44:14 PM »
Hello, this is my work progress, it is nearly finished. Am I the only player? ::) In that case I won't play neither :badgrin:

Regards.
En un lugar de la Mancha de cuyo nombre no quiero acordarme

dedndave

  • Member
  • *****
  • Posts: 8733
  • Still using Abacus 2.0
    • DednDave
Re: Challenge!!
« Reply #9 on: November 13, 2014, 12:19:19 AM »
I would play if I had more time  :t

Siekmanski

  • Member
  • *****
  • Posts: 1078
Re: Challenge!!
« Reply #10 on: November 13, 2014, 08:17:07 AM »
No spare time here either.  :(

Gunther

  • Member
  • *****
  • Posts: 3515
  • Forgive your enemies, but never forget their names
Re: Challenge!!
« Reply #11 on: November 14, 2014, 04:17:44 AM »
Excuse me, but at the moment is my time very limited. I've more time between the years.

Gunther
Get your facts first, and then you can distort them.

caballero

  • Member
  • ****
  • Posts: 756
    • Abre Ojos Ensamblador
Re: Challenge!!
« Reply #12 on: November 21, 2014, 11:49:36 PM »
Hello. There are a few things more to do, but this is already a playable version.

Features:
* Button face is a double icon button and indicates the state of the game/gamer:
  - Glad face. Everything is ok.
  - Fear face. When you click down on a button it appears: the mines seeker state.
  - Dead face. It appears when you click up on a button mine: game is over and you loose.
  - Glass face. When you have completed the game: you win.
  Every time you click on the button face, the game is reseted. Nothing really happens until you click up on any button.
 
* When you click on a blank cell, all of its neighbours blank cells are revealed, and also all the cells with info in the border. It is a recursive algorithm similar to the paint regions one that I discussed some years ago here.

* There're two accelerator keys:
  - F2. Restart the game at any time it would be pressed.
  - Esc. Quit the game.
 
Rules:
You have to find all the mines on a square table of cells. For that, many cells info you on how many cells round it has a mine. Blank cells are irrelevant. Of course, if you click on a cell with a mine inside, you lose.

When you win or lose, you won't be able to keep on playing until you reset the game clicking on the glass face button or pressing the F2 key.

Things to point up in this version:
* I added a banner in the "about" box to give it a bit of colour.
* Now cells are initialized with a dark grey shadow. When a cell is revealed, it became flat and with a clearer colour.

Regards
En un lugar de la Mancha de cuyo nombre no quiero acordarme

caballero

  • Member
  • ****
  • Posts: 756
    • Abre Ojos Ensamblador
Re: Challenge!!
« Reply #13 on: November 24, 2014, 08:06:44 PM »
Hello. In this version you can choose the game level. In the beginner version (by default) everything goes right, but in medium and advanced level, goes a bit crazy. I have used DeleteObject for deleting buttons and creating them again, though i have read that it is not valid for buttons?? Don't know. I have to chase it... when i have time. If anyone has an idea, would be appreciated.

Regards
En un lugar de la Mancha de cuyo nombre no quiero acordarme

caballero

  • Member
  • ****
  • Posts: 756
    • Abre Ojos Ensamblador
Re: Challenge!!
« Reply #14 on: December 15, 2014, 07:50:01 PM »
Things to point up in this version:
* You can change succesfully the game level.
* There are two operative counters.
* The first cell you click on won't ever be a mine, and set the time counter on.
* The player who achieve the best time resolution level will be informed. Reseated in each session.
* You can select "Sound on" or "Sound off", but there's no sound for the moment.

Things to improve:
* I wanted to do a feedback effect in the about box, not a simple bur.
* Buttons show icons. We can show text instead and maybe we can gain some kb.
* Adding a link to my page to the about box.
* Play a wav explosion when a mine is clicked.

Regards
En un lugar de la Mancha de cuyo nombre no quiero acordarme