Skip to content

Instantly share code, notes, and snippets.

@jwong1109
jwong1109 / maths_quiz_v4.py
Created August 25, 2021 03:57
Maths Quiz - fully working program, combining all 6 components v4 Rearranging of the order of the code - introduction and welcome at the start Simplify explanation of game Add more guidelines throughout the code End summary for the user to see how many re-attempts per level
""" Maths Quiz - fully working program, combining all 6 components v4
Rearranging of the order of the code - introduction and welcome at the start
Simplify explanation of game
Add more guidelines throughout the code
End summary for the user to see how many re-attempts per level
Created by Joseph Wong
21/08/21
"""
import random
@jwong1109
jwong1109 / maths_quiz_v4.py
Created August 24, 2021 08:07
Maths Quiz - fully working program, combining all 6 components v4 Rearranging of the order of the code - introduction and welcome at the start Simplify explanation of game Add more guidelines throughout the code End summary for the user to see how many re-attempts per level
""" Maths Quiz - fully working program, combining all 6 components v4
Rearranging of the order of the code - introduction and welcome at the start
Simplify explanation of game
Add more guidelines throughout the code
End summary for the user to see how many re-attempts per level
Created by Joseph Wong
21/08/21
"""
import random
@jwong1109
jwong1109 / maths_quiz_v4.py
Created August 24, 2021 06:11
Maths Quiz - fully working program, combining all 6 components v4 Rearranging of the order of the code - introduction and welcome at the start Simplify explanation of game Add more guidelines throughout the code End summary for the user to see how many re-attempts per level
""" Maths Quiz - fully working program, combining all 6 components v4
Rearranging of the order of the code - introduction and welcome at the start
Simplify explanation of game
Add more guidelines throughout the code
End summary for the user to see how many re-attempts per level
Created by Joseph Wong
21/08/21
"""
import random
@jwong1109
jwong1109 / maths_quiz_v4.py
Created August 24, 2021 06:06
Maths Quiz - fully working program, combining all 6 components v4 Rearranging of the order of the code - introduction and welcome at the start Simplify explanation of game Add more guidelines throughout the code End summary for the user to see how many re-attempts per level
""" Maths Quiz - fully working program, combining all 6 components v4
Rearranging of the order of the code - introduction and welcome at the start
Simplify explanation of game
Add more guidelines throughout the code
End summary for the user to see how many re-attempts per level
Created by Joseph Wong
21/08/21
"""
import random
@jwong1109
jwong1109 / maths_quiz_v4.py
Created August 24, 2021 05:55
Maths Quiz - fully working program, combining all 6 components v4 Rearranging of the order of the code - introduction and welcome at the start Simplify explanation of game Add more guidelines throughout the code End summary for the user to see how many re-attempts per level
""" Maths Quiz - fully working program, combining all 6 components v4
Rearranging of the order of the code - introduction and welcome at the start
Simplify explanation of game
Add more guidelines throughout the code
End summary for the user to see how many re-attempts per level
Created by Joseph Wong
21/08/21
"""
import random
@jwong1109
jwong1109 / maths_quiz_v4.py
Created August 24, 2021 05:16
""" Maths Quiz - fully working program, combining all 6 components v4 Rearranging of the order of the code - introduction and welcome at the start Simplify explanation of game Add more guidelines throughout the code End summary for the user to see how many re-attempts per level
""" Maths Quiz - fully working program, combining all 6 components v4
Rearranging of the order of the code - introduction and welcome at the start
Simplify explanation of game
Add more guidelines throughout the code
End summary for the user to see how many re-attempts per level
Created by Joseph Wong
21/08/21
"""
import random
@jwong1109
jwong1109 / maths_quiz_v4.py
Created August 21, 2021 04:13
Maths Quiz - fully working program, combining all 6 components v4 Rearranging of the order of the code - introduction and welcome at the start Simplify explanation of game Add more guidelines throughout the code End summary for the user to see how many re-attempts per level
""" Maths Quiz - fully working program, combining all 6 components v4
Rearranging of the order of the code - introduction and welcome at the start
Simplify explanation of game
Add more guidelines throughout the code
End summary for the user to see how many re-attempts per level
Created by Joseph Wong
21/08/21
"""
import random
@jwong1109
jwong1109 / maths_quiz_v3.py
Created August 19, 2021 02:54
Maths Quiz - fully working program, combining all 6 components v3 Giving an option to quit the program if they are outside of the primary school ages Having an opportunity to re-attempt the level if not 100%
""" Maths Quiz - fully working program, combining all 6 components v3
Giving an option to quit the program
if they are outside of the primary school ages
Having an opportunity to re-attempt the level if not 100%
Created by Joseph Wong
17/08/21
"""
import random
@jwong1109
jwong1109 / maths_quiz_v2.py
Created August 17, 2021 03:03
Maths Quiz - fully working program, combining all 6 components v2 Including post usability test changes: Changing the number of questions from 20 to 10 Allowing people to make two mistakes per level Clear instructions for users throughout the program Also added constant values
""" Maths Quiz - fully working program, combining all 6 components v2
Including post usability test changes:
Changing the number of questions from 20 to 10
Allowing people to make two mistakes per level
Clear instructions for users throughout the program
Also added constant values
Created by Joseph Wong
16/08/21
"""
@jwong1109
jwong1109 / maths_quiz_v1.py
Created August 15, 2021 21:26
Maths Quiz - fully working program, combining all 6 components First version of fully working program, not yet tested for usability
""" Maths Quiz - fully working program, combining all 6 components
First version of fully working program, not yet tested for usability
Created by Joseph Wong
14/08/21
"""
import random
# Get name function