Difference between revisions of "Course:CPSC312-2017-Slot-Machine"

From UBC Wiki
Jump to: navigation, search
(Created page with "<!--Begin Infobox; Please add your parameters after the equal signs below. If you do not wish to use the infobox, you may remove it by deleting everything between the Begin a...")
 
Line 1: Line 1:
<!--Begin Infobox; Please add your parameters after the equal signs below.  If you do not wish to use the infobox, you may remove it by deleting everything between the Begin and End Infobox lines-->
+
== Title ==
{{Infobox_New_Course
+
Authors: James, Laura
  
|title=
 
  
|picture=Image:wiki.png
+
===What is the problem?===
 +
We are interested in implementing a simple slot machine simulation game using Haskell.  
  
|subject code=
+
We are looking to implement two different game modes: story mode and limited-time mode. In story mode, the player will need to collect different items to win the game. In the limited-time mode, the player needs to achieve certain points to win the game.
  
|course number=
+
For example:
 +
The user put down the bet and then push spin,
  
|section number=
+
1234 → you win nothing.
  
|instructor=
+
1123 → there is a double. You win something.
  
|instructor 2=
+
1113 → there is a triple. You win something more.
  
|instructor 3=
+
1111 → JACKPOT!
  
|instructor 4=
 
  
|instructor 5=
+
===What is the something extra?===
 +
Instead of using random number generation, we intend to adjust the win rate to increase/decrease the game difficulty. The win rate will also base on the amount of user’s bet. The higher the user’s bet, the higher the win rate.
  
|email=
+
More mini games will be implemented if time permits. The user can play some mini-games when the number combination is 8888.
  
|office=
 
  
|office hours=
+
===What did we learn from doing this?===
 
+
(This should be written after you have done the work.)  What is the bottom-line? Is logic programming suitable for (part of) the task?  Make sure you include the evidence for your claims.
|schedule=
+
 
+
|classroom=
+
 
+
}}
+
<!--End Infobox; Please add your page content below-->
+

Revision as of 19:04, 20 November 2017

Title

Authors: James, Laura


What is the problem?

We are interested in implementing a simple slot machine simulation game using Haskell.

We are looking to implement two different game modes: story mode and limited-time mode. In story mode, the player will need to collect different items to win the game. In the limited-time mode, the player needs to achieve certain points to win the game.

For example: The user put down the bet and then push spin,

1234 → you win nothing.

1123 → there is a double. You win something.

1113 → there is a triple. You win something more.

1111 → JACKPOT!


What is the something extra?

Instead of using random number generation, we intend to adjust the win rate to increase/decrease the game difficulty. The win rate will also base on the amount of user’s bet. The higher the user’s bet, the higher the win rate.

More mini games will be implemented if time permits. The user can play some mini-games when the number combination is 8888.


What did we learn from doing this?

(This should be written after you have done the work.) What is the bottom-line? Is logic programming suitable for (part of) the task? Make sure you include the evidence for your claims.