Total members 11893 |It is currently Tue Nov 05, 2024 10:29 pm Login / Join Codemiles

Java

C/C++

PHP

C#

HTML

CSS

ASP

Javascript

JQuery

AJAX

XSD

Python

Matlab

R Scripts

Weka





Hello everybody out there!
I need an urgent help regarding these two simple games for my college's project . I am new to java programming as well as to this forum, and hope you guys can give me enorrnous support in coding them.

1- ROLL DICE
Fruit machine simulation - this applet should generate 3 random colours, in the 3 coloured boxes to simulate the rolling of 3 dice.

The player choose in the 3 drop down menu below the dice as guesses for what will be thrown.
When the button is is pressed, the 3 die are "rolled" and their scores are matched with the guesses in the boxes. The player is told if there are 0, 1, 2 or 3 matches.

2- HORSE RACE
when the game starts the players will be shown the horses waiting patiently at the start line. Before they can run race you must select in the white box at left down corner of the applet which horse you want to bet on. After selecting a horse to back, the start button will become active . You can reselect your bet or start the race.

When the Start Race button is is pressed the horses head off down the track very fast until one the horses crosses the finish line and race ends, and the horses will stop in their current positions.

Thanks

When the Reset button is is pressed the horses are sent back to start ready for another race.
:banghead:




Author:
Newbie
User avatar Posts: 2
Have thanks: 0 time
Post new topic Reply to topic  [ 1 post ] 

  Related Posts  to : ROLL DICE and HORSE RACE projects help
 race game source code in j2me     -  
 Applet Dice Game Fruit Machine simulation     -  
 Rapid Roll game     -  
 program using structure to store roll number,name     -  



cron





Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
All copyrights reserved to codemiles.com 2007-2011
mileX v1.0 designed by codemiles team
Codemiles.com is a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for sites to earn advertising fees by advertising and linking to Amazon.com