Attributed to Newton by Tim Holyoake

Add to
My games
Add to
Wishlist
Save to
Collection
No reviews
Exceptional
Meh
Skip

About

Attributed to Newton

A PUR-80 10 line BASIC game for the Sharp MZ-80K.

Written by Tim Holyoake [@psychotimmy (twitter)]

Game Description:

Using good judgement and skill, work out which of the 20 phrases presented to you are attributed to Sir Isaac Newton.

Simply answer Y if you think the phrase is attributed to Newton. All other responses mean that you think it is not his wisdom.

Each phrase is allocated a number of Newton points. If a phrase scores 18 points or more, it means it is attributed to Newton. As words always score the same number of points during each game, it should become easier to work out which phrases are attributed to Newton as the game progresses.

Your aim is for your wisdom score to be as close to 100% by the end of the game as possible.

Code and documentation:

Lines 1-3 – Game data. U is set to the number of phrases.

Line 4 – String array variables holding each part of the phrase (S$,V$ and A$). N stores a random number of points per word so that the phrase's 'Newton points' can be calculated using function FNA().

Lines 4-5 – Initialise game data and clear the screen.

Line 6 – Generate a random phrase and calculate the number of Newton points it has (stored in numeric variable O).

Lines 6-7 – Print out the phrase and ask if it is attributed to Newton.

Line 8 – If the guess is “Y” and O>17 or if it is “N” and O<18 add one to the score and tell the player they have given the right answer. Branch to line 10.

Line 9 – Reached only if the guess is incorrect. If the guess was that the phrase was attributed to Newton, tell the player who really said it (Einstein, of course).

Line 10 – Display the number of Newton points the phrase was worth, to enable the player to guess better next time. Display the wisdom percentage of the player. If this isn't the twentieth phrase display the next one.

Platforms
Release date
Developer
BASIC 10Liner
Age rating
Not rated

System requirements for PC

Read more...
Attributed to Newton by Tim Holyoake screenshot, image №3232520 - RAWG
Edit the game info
Last Modified: Feb 11, 2022

Where to buy

itch.io