Find Jobs
Hire Freelancers

Creating a roulette program out of C#

$10-30 USD

Terminado
Publicado hace alrededor de 9 años

$10-30 USD

Pagado a la entrega
Project Description: Using Visual Studio create a Roulette game,the game will be using 4 types of bets: Straight Up - Betting on a single slot Dozens - Betting that the ball will land in a slot numbered Evens and odds - Betting that a ball will land in an even numbered slot or an odd numbered slot Top Line - Betting that the ball will land in a slot number that is at the top of the betting line If the player loses they lose their wager and if a player wins they keep their wager plus receive a payout. A roulette payout is given by payout = 1/n(36 - n) where n is how many numbers the player is betting on Form requirements: A textbox to keep track of the number of chips the player has. Give it a text value of 200 for start A numeric up down to let the player select the number of chips wagered on the bet (in increments of 10, min 10, max 100) Picture boxes for the wheel numbers and types of bets; mimic the roulette board, replacing the Red/Black bet with the top line bet A button to spin the wheel A textbox to display the previous bets and a textbox to display the average bet A reset button to start the game over Class Structure Requirements: A class of CWheel objects. A CWheel object should be instantiated when the form is loaded and the CWheel class should contain a method to spin a CWheel object. that function should get the whole thing started each time the button is clicked. Your button code shuold basically one be something of the form [login to view URL](); A class of CPlayer objects. A CPlayer object should be instantiated when the form is loaded and the CPlayer class should have fields for the number of chips the CPlayer object has and the CPlayers objects current bet A base class CBet with a field for the the number of chips wagered on the CBet and a virtual memberfunction to find the number of chips won on the spin of the wheel Subclasses for each of the four types of CBet, with each subclass having a method that overrides the virtural functions in CBet A class CBetNode of nodes for a linked list of bets. This class should have a field for the bet and a field to point to the next bet in the list. This will only be a singly linked list. the class should aslo contain methods to add a node to the lst to cound the number of nodes in the list to add the values fields in the list to average the value fields in the list and to override ToString() in order to list the previous bets in the form Need to write appropriate constructors for each class Operation Requirements: The result of the wheel should be a random choice of 00 or 0-36 The player should be able to click on a picture box for their bet. That means that they can click on any of the numbers for a straight up bet or one of the areas for the three other types of bets After selecting the bet amount in the numeric up down, the player can click the spin button the result of the wheel spin should be highlighted on the board and the number of chips the players has should be adjusted. the game should stop if the player runs out of chips If the player doesn't select a bet amount, no big deal they didn't make a bet, but if a bet amount is selected with no bet type selected they should get an error message if they click the spin button The player should be able to reset the game I do have the form (board) almost done just making it look nice but any or all help would be grateful
ID del proyecto: 7491216

Información sobre el proyecto

1 propuesta
Proyecto remoto
Activo hace 9 años

¿Buscas ganar dinero?

Beneficios de presentar ofertas en Freelancer

Fija tu plazo y presupuesto
Cobra por tu trabajo
Describe tu propuesta
Es gratis registrarse y presentar ofertas en los trabajos
Adjudicado a:
Avatar del usuario
I have a lot of experience in using basic C programming. I have written C code for things like arithmetic calculators, etc. Creating a roulette program should be manageable and fun!
$20 USD en 1 día
0,0 (0 comentarios)
0,0
0,0
Avatar del usuario
Hello, I should be able to code this up within a day or two. Send me a private message and we can discuss some details, like what your preferred IDE is. Thanks.
$59 USD en 3 días
5,0 (24 comentarios)
4,8
4,8
1 freelancer está ofertando un promedio de $20 USD por este trabajo
Avatar del usuario
Good day, sir. "Have space suit - will travel" When you need this application? With the best regards, Sergey P.S. Please change tag to C# instead of C.
$30 USD en 2 días
0,0 (0 comentarios)
0,0
0,0

Sobre este cliente

Bandera de UNITED STATES
Grand Island, United States
5,0
1
Forma de pago verificada
Miembro desde abr 15, 2015

Verificación del cliente

¡Gracias! Te hemos enviado un enlace para reclamar tu crédito gratuito.
Algo salió mal al enviar tu correo electrónico. Por favor, intenta de nuevo.
Usuarios registrados Total de empleos publicados
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Cargando visualización previa
Permiso concedido para Geolocalización.
Tu sesión de acceso ha expirado y has sido desconectado. Por favor, inica sesión nuevamente.