Duck Hunt (Game A: 1 Duck) - Maximum Displayable Score

Shoot the Ducks.

Wait...isn't (Game A: 1 Duck) trivial to TAS?

  • From the standpoint of optimizing for time, yes. One only needs to watch an internal timer to know when a duck will appear and then shoot it on the first possible frame by setting the proper targeting coordinates.
  • But this run's goal wasn't time...it was score. Thankfully, optimizing for score did not sacrifice any time!

So, what's the deal with scoring?

  • While the timing of ducks doesn't change in this mode, the score value of any given duck is an RNG based variable. Thankfully, we can manipulate the RNG. Thus, it's possible to optimize a run for score.
  • Because of this ability, I decided to do a Maximum Score run for this game; specifically choosing to max out the on-screen score display.

Scoring Basics

  • The maximum displayable score for the game is 999,900.
    • The least amount of points any one duck can award is 500, thus the 10's and 1's place value digits of the score can never be anything other than zero.
  • There are 3 different ducks in the game:
    • Black Feathers - The slowest and lowest scoring ducks in a round.
    • Blue Feathers - The average speed and middle scoring duck per round.
    • Red Feathers - The fastest and highest scoring duck per round.
Point Value Chart
Round(s)Black FeathersBlue FeathersRed Feathers
15001,000*
2-55001,0001,500
6-108001,6002,400
11+1,0002,0003,000
* Red Feathered ducks will never show up in Round 1 due to the game's programming.
  • RNG manipulation is used to obtain the desired bird/point values.
    • RNG can be manipulated via single frame trigger pulls. Actually firing a bullet requires a minimum of 2 consecutive frames of trigger pull.
  • Shooting all the ducks in a given round will yield a bonus score at the end of the round for "Perfect" shooting.
"Perfect" Shooting Bonus Point Value Chart
RoundsBonus Points
1-910,000
10-1415,000
15-1920,000
20+30,000
  • If one only obtains the maximum possible point value for each duck, completing up through Round 24 will yield a score of 975000 before the "Perfect" shooting bonus.
    • The 30,000 bonus points will then cause the score display to roll-over (back down) to 5,000 points.
    • So in order to get the score display to show its 999,900 maximum value, additional specific manipulation of duck values is necessary beyond just getting the max score from each duck.
      • In Round 5, I shoot the first duck (Blue Feathers) for 1000 points instead of the 1,500 max
      • In Round 6, I shoot the first duck (Black Feather) for 800 points instead of the 2,400 max
        • Doing these two variations yields a 9 in the 100's digit of the total score at the end of the round; which will ultimately carry through the end of the run.
      • In Round 24, I shoot the 2nd to last duck (Blue Feathers) for 2,000 points instead of the max 3,000
      • Also in Round 24, I shoot the last duck (Black Feathers) for 1,000 points instead of the max 3,000
        • These allow for the final score before the "Perfect" bonus to be 969,900.
      • The addition of the 30,000 "Perfect" bonus points, yields a final score of 999,900--the maximum the score display can show.
  • The final input is the shot for the last duck of Round 24.
  • No ducks are shot in the final round (25) which results in a "Game Over," ending the run.

How & Why I Made This Run

  • I've been attempting to learn some basic botting techniques to implement in my TASing toolbag. I thought this game may offer an opportunity to test my knowledge so far.
  • I was able to write a bot that--with the exception of pressing Start at the beginning of the game--effectively plays the game autonomously, manipulating ducks to yield the desired point value.
    • If left to run uninterrupted, the bot would complete as many levels as desired while yielding the maximum possible score for each duck.
    • I mostly used the bot to create this TAS, interrupting it only when necessary in order to change the variable for the desired score value as required.
    • The bot literally did all the actual input writing with the exception of the Start press to start the game and me deleting a chunk of inputs due to a mental mistake in my planning.
    • The knowledge I already had regarding RNG manipulation allowed me to program a very efficient bot, hence the rather low rerecord count even with botting.

Publication Thoughts

  • In the past, runs of Game A: 1-Duck have been rejected for triviality reasons. (Though with the lifting of the triviality restrictions, perhaps even a basic any% run of this mode would now be acceptable. I feel that would require either exhausting difficulty increase (level 27 IIRC) or the full 100 levels run to complete the kill-screen.)
  • Optimizing for score, however, is not trivial due to the RNG manipulation necessary. Thus, even under the old triviality restrictions, this run should qualify for Max Score publication.

feos: Claiming for judging.
feos: "maximum score" is the generic common term that can imply some variations if needed.
feos: Overflow counts as maximum score just like reaching the exact maximal number does, and I don't see any reason to demand that it should only be one way or another. Accepting as a new branch.

despoa: Processing...


TASVideoAgent
They/Them
Moderator
Joined: 8/3/2004
Posts: 15535
Location: 127.0.0.1
This topic is for the purpose of discussing #8225: DrD2k9's NES Duck Hunt "Game A, maximum score" in 17:58.64
Editor, Expert player (2071)
Joined: 6/15/2005
Posts: 3282
DrD2k9 wrote:
If one only obtains the maximum possible point value for each duck, completing up through Round 24 will yield a score of 975000 before the "Perfect" shooting bonus. The 30,000 bonus points will then cause the score display to roll-over (back down) to 5,000 points.
More bad programming that could have been prevented with one line of code.
DrD2k9
He/Him
Editor, Judge, Expert player (2210)
Joined: 8/21/2016
Posts: 1086
Location: US
FractalFusion wrote:
DrD2k9 wrote:
If one only obtains the maximum possible point value for each duck, completing up through Round 24 will yield a score of 975000 before the "Perfect" shooting bonus. The 30,000 bonus points will then cause the score display to roll-over (back down) to 5,000 points.
More bad programming that could have been prevented with one line of code.
Now I'm curious. Are you referencing the roll-over as bad coding? What additional coding would it require for this not to happen? Something as simple as an if/then statement along the lines of this: if Score>999900 then ScoreDisplay = 999900 end
Editor, Expert player (2071)
Joined: 6/15/2005
Posts: 3282
DrD2k9 wrote:
Now I'm curious. Are you referencing the roll-over as bad coding? What additional coding would it require for this not to happen? Something as simple as an if/then statement along the lines of this: if Score>999900 then ScoreDisplay = 999900 end
I was somewhat joking when I made that post. The pseudocode is similar to what I had in mind (something like if Score>999999 then Score=999999 end). Obviously this is in reference to pseudocode; stuff like assembly can't be done in one line. And of course, the simplest answer to why a roll-over exists is: "The developers didn't care."
Post subject: Movie published
TASVideoAgent
They/Them
Moderator
Joined: 8/3/2004
Posts: 15535
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. ---- [5280] NES Duck Hunt "Game A, maximum score" by DrD2k9 in 17:58.64
Joined: 3/24/2023
Posts: 4
The published video (mp4, youtube) should include the ending described in the submission text: round 25 with the ducks getting away and dog laughing, then game over. No further input is required to see those, and even without ample precedent from other publications here it just feels incomplete as is. Got to 999900, jam on that stop button! The minute and a half of ending, through the game over screen, is well worth it. Fortunately it's easy enough to find in the original submission's encode, but it wouldn't be hard to put a longer official encode up as a second viewing/download option (as is done with camhacks, HD upscales, etc). Would management be willing to do that?
fsvgm777
She/Her
Senior Publisher, Player (225)
Joined: 5/28/2009
Posts: 1213
Location: Luxembourg
I think both ways of ending the encode (i.e. ending after reaching the last PERFECT required to max out the score or letting it last until the game over) are fine. It's more of a stylistic choice by the publisher.
Steam Community page - Bluesky profile Oh, I'm just a concerned observer.
Player (138)
Joined: 8/27/2004
Posts: 165
FractalFusion wrote:
And of course, the simplest answer to why a roll-over exists is: "The developers didn't care."
IMO it was probably intentional. Good players at that time would be used to arcade machines with scores that rolled over. If you're doing a high score run, you can keep track of how many times it rolled over. That way you can accommodate people who might play for hours in a row, without having to add extra digits. On the other hand, a reachable score cap which makes high score competition impossible.