Abstract

Basic Maths – Fun with numbers is a game released for the Atari 2600 in 1977. This TAS completes all 8 modes in 7019 frames. Upon completion of each mode, you receive a screen saying 10/10. The TAS shows this screen for a frame each time before moving on to the next mode.

Introduction

In order to understand the premise of the game, a foundational understanding of the following four arithmetic operations is required.

Definition 1.0 - Addition

Let N(S) be the cardinality of a set S, found by counting. To find a+b find two disjoint sets A, B with N(A)=a and N(B)=b then a+b is defined as N(A∪B)

Definition 1.1 - Subtraction

Consider the group of real numbers R with the operation of addition, and two numbers a,b∈R. b will have an additive inverse (–b) which satisfies the equation b+(-b)=0, where 0 is the additive identity. We then define the operation of subtraction by a-b ∶= a+(-b)

Definition 1.2 - Multiplication

Suppose a∈R and b∈Z^+. We define integer multiplication by a×b=∑_(i=1)^b a

Definition 1.3 - Division

Consider the group of real numbers R with the operation of multiplication, and two numbers a,b∈R. b will have a multiplicative inverse (1/b) which satisfies the equation b×(1/b)=1, where 1 is the multiplicative identity. We then define the operation of division by a÷b := a×1/b

Definition 2.0 – Basic Maths Fun with numbers

Basic Maths (aka Fun with numbers) is a game released for the Atari 2600 in 1977. It features 8 modes, based on definitions 1.0-1.3. Addition – Set Pattern Subtraction – Set Pattern Multiplication – Set Pattern Division – Set Pattern Addition – Random Subtraction – Random Multiplication – Random Division – Random

Optimizing input time

Theorem

Suppose the correct answer to a question is the single digit number n, the time taken to enter the answer is 2(5.5-|n-4.5|)

Proof

The answer is entered using up or down on the joystick. Up cycles through the numbers 0, 1, 2, 3, … whereas down cycles down through 9, 8, 7, … Once the desired number is reached, the button is used to select it.
Clicking up/down to reach 0 or 9 uses one frame, then clicking B uses another frame. This means that the minimum frames used is 2. Every time the number gets further away from 0 or 9, it will take another 2 frames since the joystick must be released, then pressed again. Continuing this pattern leads to 0 = 2 frames, 1 = 4 frames, 2 = 6 frames and so on. It is worth scrolling up if you have 4 as your answer but down if you have 5 and above. Continuing this pattern gives the below table, and checking each entry shows that it aligns with the formula stated in the theorem.
AnswerNumber of frames
02
14
26
38
410
510
68
76
84
92

Corollary – RNG Manipulation Strategies

It is worth getting single digit answers close to either 0 or 9 and manipulating away anything that does not fit this trend. Different questions can be obtained by delaying the answers to the previous questions by a single frame.
Sometimes it is worth tracing back 3-4 questions, to get on a different manipulation seed and therefore better answers.
A good example of this manipulation is the division random pattern (mode 8) as many of the answers are 1 and without manipulation, they can be extremely messy and involve entering remainders.
It is generally ill-advised to have double digit answers unless they are small digits, like 10. If you have a double digit answer, that adds a left press to your answering time, which uses up more time.

Corollary – The first 4 modes (set modes) don’t matter too much

The first 4 modes are the set modes. You pick a digit to use for +, -, * or / and that digit is used throughout. For example, in the set multiplication mode, I pick the 1x tables.
The 1x tables set mode will cycle through 1x1 through to 1x9 in a random order, then because it needs a 10th question, it will do one of the 2x tables for the last question. I manipulate it to get 2x4, since 8 is the closest number to scroll to (down through 9, then 8).
Since I would have to answer all of the 1x tables, it makes no difference to manipulate the order they appear in.

Theorem

This TAS will receive yes votes in the discussion forum.

Proof

This is left as an exercise to the reader.

feos: Claiming for judging.
feos: Game cover and cart only say "Basic Math", so shrinking the game name.
Also "all modes" is implied when you don't limit yourself to a specific mode, so clearing the branch.
Great manipulation too, accepting!

despoa: Processing...


TASVideoAgent
They/Them
Moderator
Joined: 8/3/2004
Posts: 15544
Location: 127.0.0.1
This topic is for the purpose of discussing #7446: The8bitbeast's A2600 Basic Maths in 01:57.13
Mizumaririn
Other
Player (243)
Joined: 2/26/2020
Posts: 44
Location: Super Bell Hill
Inverse of Theorem This movie will be rejected so it gets "No" votes and shouldn't be submitted.
pronouns: Mizu/Mizu
Post subject: Can't you complete the game without going into the R-world?
Joined: 7/7/2017
Posts: 28
I was puzzled why after solving (+) using only set theory you went to R world. It was a nice sequence break to skip Z and Q worlds, but wouldn't it be faster to define subtraction (and the rest) in terms of the natural numbers N?
MESHUGGAH
Other
Skilled player (1916)
Joined: 11/14/2009
Posts: 1353
Location: 𝔐𝔞𝔤𝑦𝔞𝔯
Easy yes vote! Question. According to this faq https://gamefaqs.gamespot.com/atari2600/563930-basic-math/faqs/29098 at section III end Controls, it says you can change the difficulty switch to get a time limit. What difficulty does this TAS uses? Edit: https://www.speedrun.com/bm for RTA leaderboards
PhD in TASing 🎓 speedrun enthusiast ❤🚷🔥 white hat hacker ▓ black box tester ░ censorships and rules...
The8bitbeast
He/Him
Expert player (2627)
Joined: 11/26/2015
Posts: 183
Location: Australia
MESHUGGAH wrote:
Easy yes vote! Question. According to this faq https://gamefaqs.gamespot.com/atari2600/563930-basic-math/faqs/29098 at section III end Controls, it says you can change the difficulty switch to get a time limit. What difficulty does this TAS uses?
Thanks! I noticed that the difficulty switches had some impact, but I kept mainly to the 8 default modes that it boots up on. Part of the reason for this was to align with the 8 RTA categories.
Spikestuff
They/Them
Editor, Publisher, Expert player (2631)
Joined: 10/12/2011
Posts: 6435
Location: The land down under.
WebNations/Sabih wrote:
+fsvgm777 never censoring anything.
Disables Comments and Ratings for the YouTube account. Something better for yourself and also others.
GMP
He/Him
Editor, Reviewer, Active player (394)
Joined: 5/22/2020
Posts: 197
Location: Chennai, India
LHS: Optimization and RNG manipulation that makes a lot of sense. Good technical quality of the run. RHS: The run gets boring to watch really quickly. The presence of "8 modes" doesn't produce enough variety to keep the run entertaining. Conclusion: A respectful meh vote.
Post subject: Movie published
TASVideoAgent
They/Them
Moderator
Joined: 8/3/2004
Posts: 15544
Location: 127.0.0.1
This movie has been published. The posts before this message apply to the submission, and posts after this message apply to the published movie. ---- [4664] A2600 Basic Math by The8bitbeast in 01:57.13