pFad - Phone/Frame/Anonymizer/Declutterfier! Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

URL: http://github.com/coding-horror/basic-computer-games/tree/main/37_Football/python

be7debc79a8eff.css" /> basic-computer-games/37_Football/python at main · coding-horror/basic-computer-games · GitHub
Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

Original source downloaded from Vintage Basic

Conversion to Python

Porting notes

Variables:

  • E: score_limit
  • H(2): Scores
  • T(2): Team toggle
  • T: team who currently possesses the ball
  • L: Offset
  • P: Who has the ball
  • K: yards
  • R: Runback current team in yards
  • P$(20): Actions (see data.json)

Functions:

  • P$(I): Access index I of the P array
  • ABS: abs (absolute value)
  • RND(1): random()
  • GOSUB: Execute a function - will jump back to this
  • GOTO: Just jump

Patterns:

  • T=T(T): Toggle the team who currently has the ball
pFad - Phonifier reborn

Pfad - The Proxy pFad © 2024 Your Company Name. All rights reserved.





Check this box to remove all script contents from the fetched content.



Check this box to remove all images from the fetched content.


Check this box to remove all CSS styles from the fetched content.


Check this box to keep images inefficiently compressed and original size.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy