I2P Balance Board Game Summative

 

Flowchart:

Pseudo Code:

Reflection Questions:

What worked?

We were able to easily make the prototype with makey makey and coins since in the previous lesson we got a good grasp of how it worked.

What didn’t work so well?

We weren’t sure how to code in scratch to use our prototype.

Things to find out for next class?

How to make a timer in scratch that starts and stops when certain keys are pressed.

What would you like to appear on the screen?

We would like a leaderboard to appear on the screen and we would like a sprite to speak when certain things are said.

Time in (HH:MM:SS)?

Our time will be recorded in seconds.

Does the time count up or down?

The time counts up.

Can the user input their name?

Yes.

How does the timer stop and record each users time?

The timer will stop when any key is pressed which signals the board touching the ground.

How can you record the users time to a text file?

I do not know how to use a text file.

Prototype:

Whenever the aluminum ends of the balance board touched the coins, the w or s buttons would be clicked on the Makey Makey. For our code, the timer will only time while the s and w keys are not being pressed.

Code in Scratch:

Video in Scratch:

Code in Python:

Video in Python:

Testing Document for Scratch and Python:

https://docs.google.com/spreadsheets/d/1NMa1STGdCPZJS2Ah98bFAmh2rTwrfIEEP3s4Flph0XA/edit#gid=0

References:

https://stackoverflow.com/questions/33035755/read-high-scores-from-text-file-and-rank

https://stackoverflow.com/questions/30136331/how-to-sort-the-text-file-records-based-on-date-time

https://stackoverflow.com/questions/44372046/tkinter-timer-to-start-at-0-on-button-click

Leave a Reply