Posts

User Interview

Would you rather have a visual game or not?

  • Visual game

For the roulette game would you like there to be a betting aspect?

  • Yes that would be a fun add on

Do you like short games with lots of outputs or long games with one or two outputs?

  • Short games

Final Software Design Project Plan

Final Software Design Project Plan

Game (description) Number of Points Will it be included in your documentation?
Roulette-  Players bet amount on single number, groups of numbers,  colors, whether if numbers are odd/even, or if the numbers low/high 3 Yes
 

Under or Over 7- Players bet and predict whether the dice will roll under 7 or over 7 or at 7 and the game is played with two dice.

1 Yes
 

 

 

   
 

 

 

   

 

 

Optional:  If any of your games above have a range of points in the “game point table”, or you are proposing a point total that is not in the table please explain below.  This is NOT a guarantee that it will be approved, but it will be considered.

 

–          Roulette 3 points because there can be  up to 6 outputs for every number from 0 to 36.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Individual Agreements

ANOKYE

Finish all assigned work/ projects by deadlines

attend all group meetings

notify members prior to a meeting I am going to unavailable of late

 

 

CORSO

Finish my assignments/objectives by the deadline, if not ahead of time

Help my teammates and request help from teammates if needed

Communicate with teammates and attend all zoom meetings

Be prepared for every workday/ SDP day

 

 

DESAI

Be responsible and keep my teammates updated with the progress for the task that has been given to me.

Finish all the assignments on time

If I will be late or will not be attending lab due to some reasons, I will let my teammates know well in advance

Schedule meeting or ask questions if I need help

Help each other out!

 

 

JILOT

Finish assignments given to me by if not before the deadlines

Work with the team if I am having trouble or if someone else is having trouble

Be prompt and prepared for every team meeting

Do not be afraid to ask for help from TA’s if group can not figure it out.

Over 7 and Under 7 Algorithm

  1. Start
  2. Two dice for the game
  3. Determine number of players
  4. Player specifies the amount of money he/she is betting on the roll
  5. Assign variables for the three bets: over 7 , under 7 and exactly 7
  6. Roll dice
  7. Output of dice
  8. Sum of dice
  9. Verify if the roll was under 7, over 7 or 7
  10. If under 7 payout is 1 to 1
  11. If over 7 payout is 1 to 1
  12. If exactly 7 payout is 2 to 1
  13. Displaying who won/ lost.
  14. End

Roulette algorithm

Roulette SDP Algorithm:

 

Start

Pick type of bet (color, even/odd, number, row, set of 12, set of 18, 0)

Pick bet amount 

pick random number

Pick color

Pick even or odd

Pick row 1, row 2, row 3

Pick 1 set of 12, 2 set of 12, or 3 set of 12

Pick low or high

If black is chose, 2,4,6,8,10,11,13,15,17,20,22,24,26,28,29,31,33,35 = true

  •  Payout 1 to 1

If red is chosen: 3, 9, 12, 18, 21, 27, 30, 36, 5, 14, 23, 32, 1, 7, 16, 19, 25, 34 = true

  • Payout: 1 to 1

If even is chosen: 6, 12, 18, 24, 30, 36, 2, 8, 14, 20, 26, 32, 4, 10, 16, 22, 28, 34 = true

  • Payout: 1 to 1

If odd is chosen, 1,3,5,7,9,11,13,15,17,19,21,23,25,27,29,31,33,35 = true

  • Payout 1 to 1

If first row is chosen, 3,6,9,12,15,18,21,24,27,30,33,36 = true

  • Payout  2 to 1

If row 2 is chosen: 2, 5, 8, 11, 14, 17, 20, 23, 26, 29, 32, 35 = true

  • Payout: 2 to 1

If row 3 is chosen: 1, 4, 7, 10, 13, 16, 19, 22, 25, 28, 31, 34 = true

  • Payout: 2 to 1

If first 12 is chosen, 1,2,3,4,5,6,7,8,9,10,11,12 = true

  • Payout 2 to 1

If second 12 is chosen, 13,14,15,16,17,18,19,20,21,22,23,24 = true 

  • Payout 2 to 1

If third 12 is chosen: 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36 = true

  • Payout 2 to 1

First low is chosen, 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18 = true

  • Payout 1 to 1

Second high is chosen: 19,20,21,22,23,24,25,26,27, 28,29,30,31,32,33,34,35,36 = true

  • Payout 1 to 1

If number is chosen, number = true 

  • Payout 37 to 1

Fprintf win or loss

Fprintf (payout = bet amount * payout)

End