Have fun and utility with the camera - Feature Requests - CHDK Forum

Have fun and utility with the camera

  • 53 Replies
  • 17603 Views
Have fun and utility with the camera
« on: 02 / March / 2008, 16:09:21 »
Advertisements
Hello, I welcome the very possibility of playing games with the camera. And I must say that my friends were amazed.

Currently in beta chdk for A530 there are only 2 games, I would be very grateful if you could in the future find more games, including scripts, not to the heaviest chdk. An example would be snake (old game for nokia phones).

Of course I know that the camera canon is not a symbian system, but may be useful applications such as calculators, unit converters. As is useful, for example, the timetable. If in the next release (or scripts) there will be many utilities to help photographers in their daily work, I think that cameras canon, and chdk not have equal and will be among the leaders, such as symbian mobile phones are in their field.

I greet all and thank you for your attention

Re: Have fun and utility with the camera
« Reply #1 on: 02 / March / 2008, 16:51:48 »
Deleted
« Last Edit: 22 / April / 2008, 13:17:37 by Barney Fife »
[acseven/admin commented out: please refrain from more direct offensive language to any user. FW complaints to me] I felt it imperative to withdraw my TOTAL participation. Nobody has my permission, nor the right, to reinstate MY posts. Make-do with my quoted text in others' replies only. Bye

Re: Have fun and utility with the camera
« Reply #2 on: 03 / March / 2008, 07:50:29 »
chess would be just amazing! I love chess and I play regularly, but playing against the camera would be (speachless)....
--
Alejandro

Re: Have fun and utility with the camera
« Reply #3 on: 03 / March / 2008, 08:03:26 »
Deleted
« Last Edit: 22 / April / 2008, 13:17:59 by Barney Fife »
[acseven/admin commented out: please refrain from more direct offensive language to any user. FW complaints to me] I felt it imperative to withdraw my TOTAL participation. Nobody has my permission, nor the right, to reinstate MY posts. Make-do with my quoted text in others' replies only. Bye


*

Offline wontolla

  • ****
  • 413
  • S3 & G9 & A720
Re: Have fun and utility with the camera
« Reply #4 on: 03 / March / 2008, 09:09:29 »
Quote
chess would be just amazing! I love chess and I play regularly, but playing against the camera would be (speachless)....

I guess there is not enough memory in a camera to run a game like chess. Even if we use an 8Gb SD card as the game memory.

"The Minimax Game Tree is used for programming computers to play games in which there are two players taking turns to play moves...the tree can get very big with only a few moves, and to look even just five moves ahead can quickly overwhelm a simple computer" Cprogramming.com: Your Resource for C++ Programming

The first chess playing computers were no match for humans. 20 years latter, improved Artificial Intelligence algorithms couldn't, yet, beat a human. But then computers started to have lots and lots of memory, now the best human players don't dare to play against a machine.

Humans are no longer the best chess players in the planet, but they are the best at building champion chess playing computers!!!

Back to topic: Memory, it's all about memory. (At least with computers, no offence to chess players).

« Last Edit: 03 / March / 2008, 09:11:58 by wontolla »

Re: Have fun and utility with the camera
« Reply #5 on: 03 / March / 2008, 09:19:34 »
well, there is always yahoo games for chess ;)
--
Alejandro

*

Offline PhyrePhoX

  • *****
  • 2254
  • make RAW not WAR
    • PhyreWorX
Re: Have fun and utility with the camera
« Reply #6 on: 03 / March / 2008, 18:59:22 »
just counted the rough size of sokoban & reversi: about 1800 lines of code. thats alot, more than most of any others modules's sources of chdk. in my guess, games will play a really small tiny role in future releases of chdk, and i'm pretty sure at least sokoban will be deleted from trunk soon because of lack of memory (it's level database is huge). the poll POLL: Most useful features does reflect my opinion as well.
on the other hand, i had snake in my personal chdk-to-do-list anyways, since it should be no resource hog and easy to write.but it definitly has no priority, sorry to disappoint you. first of all, chdk's purpose is to take photography to another level,  not games & gimmicks ;)

*

Offline GrAnd

  • ****
  • 916
  • [A610, S3IS]
    • CHDK
Re: Have fun and utility with the camera
« Reply #7 on: 04 / March / 2008, 02:20:07 »
just counted the rough size of sokoban & reversi: about 1800 lines of code. thats alot, more than most of any others modules's sources of chdk. in my guess, games will play a really small tiny role in future releases of chdk, and i'm pretty sure at least sokoban will be deleted from trunk soon because of lack of memory (it's level database is huge).
Reversi is 419 lines and sokoban is 336 lines of code. The most code is sokoban's levels data. But it can be at least packed or separated to an external file.
CHDK Developer.


*

Offline PhyrePhoX

  • *****
  • 2254
  • make RAW not WAR
    • PhyreWorX
Re: Have fun and utility with the camera
« Reply #8 on: 04 / March / 2008, 03:14:46 »
Well i counted the level data as code,it eats space,no matter what :)

*

Offline whim

  • ******
  • 2041
  • A495/590/620/630 ixus70/115/220/230/300/870 S95
Re: Have fun and utility with the camera
« Reply #9 on: 04 / March / 2008, 04:35:31 »
Ah ! This has turned into an interesting and fundamental discussion - reminds me of computer history, with fixed, non-expandable RAM ...
Quote
GrAnd
....But it can be at least packed or separated to an external file.

That will provide some 'breathing space' for the memory load, but what about the future ? As more and more people come
up with usefull and/or nice additions, problems will most likely increase.

It seems inevitable in the long run, that some mechanism must be implemented to load executable code dynamically;
that would require heavy duty ARM assembly coding (just guessing - far beyond my reach anyway).

In a simpler approach, games and/or other non-photo related functions could be integrated into a stripped CHDK core, if necessary (memorywise) on a per game/function basis.
The stripped core would contain only the boot and the gui functions (that is, all photo related stuff stripped out).
The main 'photo CHDK' would then be able to boot straight into each of these alternative bins/firs.
As a beneficial side effect, you could of course also boot into other CHDK versions/configurations.

wim
 

 

Related Topics