Select language
Search the Site
Ceebot / Dauphin Forum
Welcome, Guest
Please Login or Register.    Lost Password?
Also constantly looking for interesting programming assignments for your students ? This is the place where you find your collegues' ideas ...
Go to bottom Post Reply Favoured: 1
TOPIC: Re:Simple game programs
#17
MartinDeveloper (Admin)
Admin
Posts: 8
graph
User Offline Click here to see the profile of this user
Simple game programs 16 Years, 1 Month ago Karma: 0  
Seems as if programming simple games is very motivating for beginners, the only drawback is: I would like to have more nice gaming ideas that can be implemented without a complex code.

Two of my favourites are:
- "number guessing" (needs branches and conditional loops): Program chooses a random number between 0 and 1000, user guesses repeatedly and program tells him if guess is too high or too low (or correct).
- "reaction test" (needs conditional loops): Program waits for a random time interval between 5 and 10 seconds, then writes "Press key" and starts increasing a counter until user presses a key. Extension: Prevent the user from cheating by pressing the key BEFORE the program asks him to.

As soon as comes to graphics (even simple text based), gaming programs seem to become too complex for weaker students during the first months of the programming course.

Anyone having other suggestions for simple game programs ?
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#21
Brian (Visitor)
Fresh Boarder
Posts: 2
graphgraph
User Offline Click here to see the profile of this user
Re:Simple game programs 16 Years, 1 Month ago Karma: 0  
One of my favorites is the Scissors Paper Stone game.
Computer picks random 1(scissors) 2(paper) or 3(stone)
User picks one of these too.
Program checks the winner (or draw) knowing that:
Scissors cut paper
Stone blunts Scissors
Paper wraps Stone
Pictures can be displayed. Scores can be kept, etc.
Not sure about doing it with Ceebot though!
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#23
MartinDeveloper (Admin)
Admin
Posts: 8
graph
User Offline Click here to see the profile of this user
Re:Simple game programs 16 Years, 1 Month ago Karma: 0  
Thanks, Brian, I like this one. Will use it soon in my beginners class
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
Go to top Post Reply
Powered by FireBoardget the latest posts directly to your desktop