Design Yichen Cao 201062233 Brief description of the project Project aim Project requirement Project schedule Project aim Develop a backgammon Make fairly outcome of dices Project ID: 527241
Download Presentation The PPT/PDF document "Provably fair Backgammon game" is the property of its rightful owner. Permission is granted to download and print the materials on this web site for personal, non-commercial use only, and to display it on your personal computer provided you do not modify the materials and that you retain all copyright notices contained in the materials. By downloading content from our website, you accept the terms of this agreement.
Slide1
Provably fair Backgammon game
Design
Yichen
Cao
201062233Slide2
Brief description of the project
Project aim
Project requirement
Project schedule Slide3
Project
aim
Develop a backgammon
Make fairly outcome of dices Slide4
Project
requirement
HTML, JavaScript, CSS and PHP
Software: Chrome
Hardware: not specificSlide5
Project schedule Slide6
Summary of the research
Backgammon rules
Algorithm for
fair
MVC
framework put in use (
CodeIgniter
)
What MVC is
Why use
CodeIgniterSlide7
Design
Anticipated components
Data structures
Algorithms and Pseudo code
Interface design
Evaluation of systemSlide8
Anticipated
componentsSlide9
Algorithms and Pseudo
code
RSA
Let
a and b be two
prime numbers
n=a*b;
φ
(n)=(a-1)(b-1);
Let e be another prime number <
φ
(n) ;
e * d =1(mod
φ
(n)
);
Then get d;
Public key=(n, e);Private key=(n, d);
Use public key
to
encrypt:
m= message want to be encrypt
m*e=c(mod n);
Then get c;
C is result after encrypting;
Encoding:
c *d =m(mod n);Slide10
Algorithms and Pseudo
code-rolling dices
P1 rolls dice for P2=R1;
P2 rolls dice for P1=R2;
R1 encrypted by Public key of P1= m send to P2;
If (m received){
send R2 to P1};
If (r2 received){ send private key to P2};
Then m can be encoded into R1;Slide11
Interface design
–Main MenuSlide12
Interface design
-Play BoardSlide13
Interface design
–option Slide14
Interface design
–help pageSlide15
Evaluation of
system
Reach the aim of the project
Run well
Load fast Slide16
System design
Use caseSlide17
System design
Interaction chartSlide18
System design
Interaction chartSlide19
Summary
Aim of the project
Technology /skills needed