×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Super Contributor
    Join Date
    Mar 2003
    Location
    Espoo, Finland
    Posts
    976

    [Announcement] Testing for Random Integers

    Greetings,

    Nothing too interesting here, but made a release anyway. Wanted to test what is the fastest way to generate random numbers, will need that later for some games...

    Summary: need lots of random integers, use random.choice(). Need just one every now and then, use time.clock().

    http://jouni.miettunen.googlepages.com/randomtest

    Otherwise:

    * How to find out installation directory
    * How to use script name as base for debug filenames
    * How to debug using Trace or Profile
    * How to give function and arguments as arguments for function
    * How to write on appuifw.Text
    * How to measure code section running time
    * Seven different ways to get random integer number from 1-4

    Enjoy,

    --jouni

  2. #2
    Regular Contributor
    Join Date
    Dec 2007
    Location
    India
    Posts
    133

    Re: [Announcement] Testing for Random Integers

    Quote Originally Posted by JOM View Post
    Greetings,

    Nothing too interesting here, but made a release anyway. Wanted to test what is the fastest way to generate random numbers, will need that later for some games...

    Summary: need lots of random integers, use random.choice(). Need just one every now and then, use time.clock().

    http://jouni.miettunen.googlepages.com/randomtest

    Otherwise:

    * How to find out installation directory
    * How to use script name as base for debug filenames
    * How to debug using Trace or Profile
    * How to give function and arguments as arguments for function
    * How to write on appuifw.Text
    * How to measure code section running time
    * Seven different ways to get random integer number from 1-4

    Enjoy,

    --jouni
    Usually Game programmers need this kind of stuff to have unexpected aliens or enimies in the Game. Now as many small games are eveloving with Python I think it will be helpful for the gamer developers to use Random Test.
    Kandyfloss

    V 7.0642.0
    18-10-06
    RH-51
    Nokia 7610

  3. #3
    Nokia Developer Champion
    Join Date
    Feb 2008
    Location
    Ahmedabad, Gujarat, India
    Posts
    3,852

    Re: [Announcement] Testing for Random Integers

    hi jouni
    it seems now slowly and slowly pythons60 developers are increasing their interest in developing games.
    cheers

Similar Threads

  1. Replies: 7
    Last Post: 2011-02-12, 18:31
  2. Mobile Handset Testing
    By krishnakanth in forum General Development Questions
    Replies: 4
    Last Post: 2010-06-22, 13:28
  3. Aborting the testing
    By ajitc in forum Symbian Signed Support, Application Packaging and Distribution and Security
    Replies: 1
    Last Post: 2007-07-27, 06:57
  4. Replies: 0
    Last Post: 2005-02-17, 19:01
  5. Replies: 0
    Last Post: 2003-10-08, 10:25

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×