Skip to content

HansLindgren/Frogger

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Frogger Game (Pygame)

A complete Frogger-style game implemented in Python using Pygame.

How to Run

  1. Install Python 3.x and Pygame:
    pip install pygame
    
  2. Run the game:
    python main.py
    

Features

  • Selectable difficulty (Easy, Medium, Hard)
  • Persistent highscores with initials
  • Classic Frogger gameplay: cross road and river, avoid cars, ride logs
  • Modular, well-commented code

Assets

  • Place any custom images in the assets/ folder (optional). By default, the game uses colored shapes as placeholders.

Files

  • main.py - Game entry point
  • config.py - Game configuration and constants
  • sprites.py - Sprite classes for frog, cars, logs
  • highscores.py - Highscore management
  • assets/ - Folder for images (optional)
  • highscores.json - Persistent highscore table (auto-created)

Enjoy the game!

About

A complete Frogger-style game implemented in Python using Pygame. Includes menu, difficulty selection, highscores, and modular code.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages