Jump to content


 


Register a free account to unlock additional features at BleepingComputer.com
Welcome to BleepingComputer, a free community where people like yourself come together to discuss and learn how to use their computers. Using the site is easy and fun. As a guest, you can browse and view the various discussions in the forums, but can not create a new topic or reply to an existing one unless you are logged in. Other benefits of registering an account are subscribing to topics and forums, creating a blog, and having no ads shown anywhere on the site.


Click here to Register a free account now! or read our Welcome Guide to learn how to use this site.

Photo

Give me a basic challenge


  • Please log in to reply
6 replies to this topic

#1 auto1571

auto1571

  • Members
  • 296 posts
  • OFFLINE
  •  
  • Local time:05:58 PM

Posted 26 May 2014 - 04:16 PM

Basically you give me an idea to go and make something basic. I then go off to search the code involved and get working on this. It would probably be related to web development since I have not done any software coding yet. And the web based coding I have only done so far is html, css, a bit of javascript and a bit of php all from code academy.

 

But I feel a good way to learn now is to start getting practical and actually try to make something. I can't think of anything to make just yet though and this is where I need you. I understand that gaming apps are quite popular and perhaps that might be a good place to start. Anyway I await your ideas. Also when you explain it please explain in detail and perhaps even the code that would be involved unless you reckon that bit is easily searchable. Also remember it has to be something basic as I am still a beginner and still learning.

 

Thanks.



BC AdBot (Login to Remove)

 


#2 Lornhane

Lornhane

  • Members
  • 16 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Montreal, Quebec
  • Local time:12:58 PM

Posted 26 May 2014 - 04:22 PM

Would you incorporate databases?



#3 auto1571

auto1571
  • Topic Starter

  • Members
  • 296 posts
  • OFFLINE
  •  
  • Local time:05:58 PM

Posted 26 May 2014 - 04:24 PM

Sorry, I am not sure what you mean by incorporating databases.



#4 auto1571

auto1571
  • Topic Starter

  • Members
  • 296 posts
  • OFFLINE
  •  
  • Local time:05:58 PM

Posted 26 May 2014 - 04:26 PM

Whoops, didn't search properly there. Now looking this factor up for more info.



#5 CompMath

CompMath

  • Members
  • 10 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Dublin
  • Local time:05:58 PM

Posted 28 May 2014 - 08:43 PM

Create a game engine in C++



#6 richardv2

richardv2

  • Members
  • 1 posts
  • OFFLINE
  •  
  • Local time:09:58 AM

Posted 16 August 2014 - 11:27 AM

Here is a project I often give to students in any programming 101 class, any language:

 

Complete the Number Guessing Game. Here are the specifications:

  1. Computer must select a random number from 1 to 100.
  2. The human has seven tries to guess the number the computer picked .
  3. Computer has only five possible messages/hints :
    1. The number you picked is too small.
    2. The number you picked is too big.
    3. That was my number ! You win !
    4. You didn’t guess my number in seven tries. You lose. The number I picked was : ___
    5. Do you wish to play again ? (y/n)
  4.  A response of ‘y’ or ‘Y’ to ‘Play again ?’ restarts the program and the computer picks another random number. Any other response ends the program.
  5. Your grade will be awarded as follows :
  • 40 Points: Program picks random numbers 1-100
  • 20 Points: Only 7 guesses allowed
  • 20 Points: Play Again? Function works
  • 20 Points: Screen shot of the program with your name printed as the first output line and showing that the program works attached.


#7 CompMath

CompMath

  • Members
  • 10 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Dublin
  • Local time:05:58 PM

Posted 17 August 2014 - 01:18 PM

Spec 1: Computer must select a random number from 1 to 100.

 

import java.util.*; //import the Random class

//create random number generator Demo class
public class RandomDemo {
    public static void main (String args[]){
    //Create Random Object tonstore new random number
    Random randomno = new Random();

    //Now lets create an integer from this randomly generated number..
    System.out.println("Random No::"+randomno.nextInt(100));
   }
}


Edited by CompMath, 17 August 2014 - 01:33 PM.





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users