+ Reply to Thread
Results 1 to 3 of 3

Creating a Game

  1. #1
    Registered User
    Join Date
    02-18-2015
    Location
    England
    MS-Off Ver
    VBA
    Posts
    3

    Creating a Game

    Hi so I have been given this code to create a game:
    Please Login or Register  to view this content.
    However, I've now been asked:
    create a procedure in which the computer should guess your number by generating random number according to the logic described above.
    Hint: it is more convenient to use some variables to define upper boundary (max value) and lower boundary (min value) for the interval of random number ( guess)

    Could someone please assist me, thanks.
    Last edited by alansidman; 03-26-2015 at 01:32 PM. Reason: code tags added

  2. #2
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,937

    Re: Creating a Game

    Code Tags Added
    Your post does not comply with Rule 3 of our Forum RULES. Use code tags around code.

    Posting code between [CODE]Please [url=https://www.excelforum.com/login.php]Login or Register [/url] to view this content.[/CODE] tags makes your code much easier to read and copy for testing, it also maintains VBA formatting.

    Highlight your code and click the # icon at the top of your post window. More information about these and other tags can be found at http://www.excelforum.com/forum-rule...rum-rules.html



    (Because you are new to the forum, I have added them for you today. Please take a few minutes to read all Forum Rules and comply in the future.)
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  3. #3
    Forum Expert
    Join Date
    08-28-2014
    Location
    Texas, USA
    MS-Off Ver
    2016
    Posts
    1,796

    Re: Creating a Game

    So since this looks like a homework assignment, there aren't a whole lot of people who will give you a fully functioning sub that meets the requirements of the assignment. After all, the point is for you to learn VBA.

    But that doesn't mean I won't help. So let me ask you: is there a specific idea that you're stuck on? What code do you have so far? What particular part(s) of implementing the code are you having a hard time with?

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Creating hangman(word game) on MS Excel
    By nauman612 in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 04-04-2014, 12:42 PM
  2. Creating (Somewhat complex) Scoring Formulas for an Online Game
    By fasterpie in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-15-2013, 04:03 PM
  3. The Man Game Help
    By Darkrogueseal in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-03-2010, 07:20 PM
  4. [SOLVED] is there an easy formula to creating a golf skins game
    By fore2558 in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-27-2005, 03:05 AM
  5. [SOLVED] Game score without game being played
    By Sheila in forum Excel Formulas & Functions
    Replies: 14
    Last Post: 05-17-2005, 07:06 PM

Bookmarks

Posting Permissions

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1